Author Topic: debian build directories  (Read 1893 times)

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
debian build directories
« 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
Code: [Select]

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
« Last Edit: July 21, 2004, 07:13:45 pm by jouda_tfd »

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #1 on: July 21, 2004, 08:33:30 pm »
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.
Quidquid latine dictum sit, altum sonatur.

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #2 on: July 21, 2004, 08:59:46 pm »
Quote
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

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #3 on: July 21, 2004, 10:22:18 pm »
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..
Quidquid latine dictum sit, altum sonatur.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #4 on: July 21, 2004, 11:48:29 pm »
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 ;)


Back to Planeshift again \\o/

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #5 on: July 22, 2004, 12:30:08 am »
Quote
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

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #6 on: July 22, 2004, 12:32:00 am »
Quote
Originally posted by jouda_tfd
Quote
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?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #7 on: July 22, 2004, 01:07:44 am »
Yepp, don\'t use it ;) Just don\'t use any tag to get the newest source


Back to Planeshift again \\o/

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #8 on: July 22, 2004, 01:37:32 am »
Quote
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)

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #9 on: July 22, 2004, 01:43:01 am »
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift

Easy thing ;)


Back to Planeshift again \\o/

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #10 on: July 22, 2004, 05:11:08 pm »
Quote
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

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #11 on: July 22, 2004, 05:16:31 pm »
Have you deleted your old copy of the source first or did you  overwrite it?


Back to Planeshift again \\o/

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #12 on: July 22, 2004, 05:45:21 pm »
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.
Quidquid latine dictum sit, altum sonatur.

jouda_tfd

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
after co
« Reply #13 on: July 22, 2004, 09:34:02 pm »
ok now it compiles, but it\'s strange, head should be like this, but there are different files :)

i\'ll try new-renderer now