PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: dustfinger on October 24, 2004, 06:44:07 pm
-
When I emerge planeshift all dependencies install no problem. Except planeshift itself. Here is where things fail.
In file included from src/updater/httpclient/updater.cpp:32:
src/updater/httpclient/download.h:55: error: syntax error before `*\' token
g++ -c -o ./out/linuxx86/updater.o -I/opt/crystal/include -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -fno-exceptions -mcpu=pentiumpro -march=i686 -O3 -fomit-frame-pointer -ffast-math -I/opt/crystal/include -fexceptions -Isrc/updater/httpclient -I. -I./include -I./src/common -I./src/client -I./src/server src/updater/httpclient/updater.cpp
...failed C++ ./out/linuxx86/updater.o ...
C++ ./out/linuxx86/updaterconfig.o
...skipped updater for lack of updater.o...
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 159 target(s)...
!!! ERROR: games-rpg/planeshift-0.2.010-r1 failed.
!!! Function src_compile, Line 41, Exitcode 1
!!! (no error message)
How do I fix this so that I can play this exciting new game ;-)
dustfinger.
-
What version of GCC do you have(it works fine for me)? Are you using a modified client? I might look at it, but updater isn\'t important. Remove the \"-q\" option from the \"jam\" in your ebuild and it should work fine.
-
I am using gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
I will try to remove the -q option and see if that fixes things.
Thanks for your input.
-- EDIT --
The following is my ebuild for planeshift
inherit eutils games
DESCRIPTION=\"virtual fantasy world MMORPG\"
HOMEPAGE=\"http://www.planeshift.it/\"
SRC_URI=\"mirror://gentoo/distfiles/${P}.tar.bz2\"
LICENSE=\"GPL-2 | Planeshift\"
SLOT=\"0\"
KEYWORDS=\"x86 ppc\"
IUSE=\"\"
# Doesn\'t like the new cs-config (bug #54659)
RDEPEND=\"net-misc/curl
dev-games/cel\"
DEPEND=\"${RDEPEND}
>=sys-apps/sed-4\"
S=\"${WORKDIR}/${PN}\"
export PLANESHIFT_PREFIX=${PLANESHIFT_PREFIX:-${GAMES_PREFIX_OPT}/${PN}}
export CRYSTAL_PREFIX=${CRYSTAL_PREFIX:-${GAMES_PREFIX_OPT}/crystal}
export CEL_PREFIX=${CEL_PREFIX:-${CRYSTAL_PREFIX}}
src_unpack() {
unpack ${A}
epatch \"${FILESDIR}/${P}-fix-cast.diff\"
}
src_compile() {
env \\
-uCEL \\
-uCSCONFPATH \\
CEL=${CEL_PREFIX} \\
CSCONFPATH=${CEL_PREFIX} \\
./configure --prefix=${PLANESHIFT_PREFIX} --with-cs-prefix=${CRYSTA$
jam || die
}
src_install() {
rm -rf src mk config* ac* Jam* install-sh mkinstalldirs \\
missing autogen.sh depcomp Makefile.* ltmain.sh \\
out support include
dodir ${PLANESHIFT_PREFIX}
mv * ${D}/${PLANESHIFT_PREFIX}
dogamesbin ${FILESDIR}/planeshift
sed -i \\
-e \"s:GENTOO_CRYSTAL_DIR:${CRYSTAL_PREFIX}:\" \\
-e \"s:GENTOO_CEL_DIR:${CRYSTAL_PREFIX}:\" \\
-e \"s:GENTOO_PLANESHIFT_DIR:${PLANESHIFT_PREFIX}:\" \\
\"${D}${GAMES_BINDIR}/planeshift\" \\
|| die \"sed ${D}${GAMES_BINDIR}/planeshift failed\"
prepgamesdirs
}
I don\'t see a -q option for jam? Actually I don\'t see a -q option at all.
------------
dustfinger.
-
I have the same issue, with last version of GCC (new install+updated all gentoo packages).
I get same errors as you do, with
#emerge planeshift.
I looked on google for anything looking like the errors i get and found nothing. Arrrhg
Prolly need to try with the .tar.gz
EDIT : and of course, like you all dependencies = no problem. Did the etc-update too etc.. works fine, appart emerge planeshift that spams me with something saying csCLList.h is deprecated or something. Then i get same errors than you at end.
-
oops
Not -q remove the \"|| die\" part. That was what I was doing.
-
Thanks theRealGorbulas,
That worked perfectly.
So all that means is that I won\'t be able to use the automatic updater correct?
dustfinger.
-
The automatic updater is useless for Linux clients(I think). There haven\'t been any upgrades that I have gotten through the updater under Linux(I can spawn OK and everything).
-
Originally posted by theRealGorbulas
The automatic updater is useless for Linux clients(I think).
You are correct. It will work fine, but merely clog your hard-drive with DLLs that you have no use for under linux. ;)