PlaneShift
Development => Development Deliberation => Topic started by: jouda_tfd on July 21, 2004, 06:58:41 pm
-
hello
i have created some debian build directories for CEL and planeshift, still i\'m stuck with some issues
1) it doesn\'t work with old cel and planeshift (from MB package with sources of planeshift, cel, crystalspace and art)....but it\'s not serious as new version is comming, and cvs builds
i used build directory from official crystalspace debian package, and thats the problem i think.....but it doesn\'t matter ;-)
2) i cannot build cel with python....is it serious? i think not...
3) i can\'t build psserver, there is some wrong include in error.cpp, when i correct it, there is some problem with linking
4) even when i build ps with libdir=/usr/lib/games/planeshift and datadir=/usr/share/games/planeshift .... i still must link contents of these directories to directory with ps binaries....what\'s wrong?
i\'m building without new render, maybe it\'s source of problems
so ...
my packagings
planeshift - http://www.cbox.cz/edepe/ps/planeshift.tar.bz2
cel - http://www.cbox.cz/edepe/ps/cel.tar.bz2
packaging from official packages, just grab cvs version and unpack these archives to it...
CS - http://www.cbox.cz/edepe/ps/cs.tar.bz2
cal3d - http://www.cbox.cz/edepe/ps/cal3d.tar.bz2
build info
gcc (GCC) 3.3.4 (Debian)
Python 2.3.3
glibc 2.3.2.ds1-12
jam 2.5rc3-6
swig1.3 1.3.21-5
add 3) the error is
C++ src/server/error.o
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from error.cpp:3:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the header for the header for C++ includes,
or instead of the deprecated header . To disable this warning use -Wno-deprecated.
error.cpp:6:27: psnet/pserror.h: No such file or directory
g++ -c -o src/server/error.o -I/usr/include -I/usr/local/cel/include -fexceptions -I../.. -I../../include -I../../src/common -I../../src/client -I../../src/server error.cpp
...failed C++ src/server/error.o ...
libor
-
I woudn\'t trust the debian packaged version of crystal space, unless it\'s been updated very recently. CVS is always the best way, unless you\'re dealing with release versions. CS 0.96 (the old release, not quite compatible with PS MB) is old, dead, and stale.
-
Originally posted by dfryer
I woudn\'t trust the debian packaged version of crystal space, unless it\'s been updated very recently. CVS is always the best way, unless you\'re dealing with release versions. CS 0.96 (the old release, not quite compatible with PS MB) is old, dead, and stale.
as is said (maybe ;-) ), i have cal3d, cs,cel, ps ....all from from cvs, i just use debian packaging information for cal3d and cs from official packages....so i can build PS: CB, except the server
as for PS:MB ...debian packaging for cs is useless there, because it does some \"magic\" ...and i don\'t want to play with it (well i playd with it for few hours and i\'m bored of it), when new version of PS will be there soon...i hope
-
The python failure in CEL is not a problem. You should however try building with the new renderer as CB will require it for terrain.
Not quite sure why you\'re having linking errors.. all the static libs should be linked right in, and the plugins should be locateable by PS as long as they\'re in the same directory as the app..
-
Did you grab Planeshift from CVS with the -rHEAD tag? I had the same error some time ago before I was told that omitting it is much better ;)
-
Originally posted by Karosh_Steinkatz
Did you grab Planeshift from CVS with the -rHEAD tag? I had the same error some time ago before I was told that omitting it is much better ;)
yes, yes of course ;-)
i was downloading it with -rHEAD after i changed Root from atanor to anonymous
-
Originally posted by jouda_tfd
Originally posted by Karosh_Steinkatz
Did you grab Planeshift from CVS with the -rHEAD tag? I had the same error some time ago before I was told that omitting it is much better ;)
yes, yes of course ;-)
i was downloading it with -rHEAD after i changed Root from atanor to anonymous
hups ;-), you told NOT to use HEAD?
-
Yepp, don\'t use it ;) Just don\'t use any tag to get the newest source
-
Originally posted by Karosh_Steinkatz
Yepp, don\'t use it ;) Just don\'t use any tag to get the newest source
ok, i\'ll try it on morning, but i think that HEAD is always most recent...and i don\'t know how to get rid of tag (cvs remembers it)
-
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift
Easy thing ;)
-
Originally posted by Karosh_Steinkatz
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift
Easy thing ;)
sure easy ;-)
but this was easier
find -type d -name \"CVS\" -exec rm {}/Tag \\;
cvs update -dP
i don\'t have link to make fresh co every day
:-)
but still psnet/pserror.h in error.cpp not found
-
Have you deleted your old copy of the source first or did you overwrite it?
-
You may want to use Sourceforge\'s \"viewcvs\" to compare the files you have (especially psnet/pserror.h and error.cpp) and make sure everything is sane.
-
ok now it compiles, but it\'s strange, head should be like this, but there are different files :)
i\'ll try new-renderer now