PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Mildred on June 06, 2004, 09:06:29 am

Title: Can't compile
Post by: Mildred on June 06, 2004, 09:06:29 am
I downloaded planeshift-0.2.010FullSourceAndArt.tar.gz and uncompressing it ...
I trien these commands:
Code: [Select]

export CRYSTAL=$PWD/CS
export CEL=$PWD/cel
export CSCONFPATH=$PWD/cel
cd CS
./configure-jam

Here, I have some fails but I can\'t install missing elements ...:
checking whether we are cross compiling... no

checking for luaswig... no
--> Con\'t find it in urpmi sources or RPMFind

checking if Python SDK is usable... no
--> I have Python ...

checking for int32... no
--> Con\'t find it in urpmi sources or RPMFind

checking for windows.h... no
--> For Windows users i think ...

checking for glut... no
--> libMesaglut3 and libMesaglut3-devel already installed

checking for libmikmod... no
--> libmikmod2 already installed

checking for libvga... no
--> Con\'t find it in urpmi sources or RPMFind

checking whether byte ordering is bigendian... no
--> ???

checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
--> But: checking for sys/soundcard.h... yes

checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
--> For Windows users i think ...

checking if qint() functions correctly... no
checking whether to enable Linux joystick support... no
checking whether to use extensive memory debugger... no
--> ???

And \"jam\" fails ...
Is it normal ?

Thanks helping me
Title:
Post by: Androgos on June 06, 2004, 05:46:42 pm
\"jam fails\"...

Man, there are more than 190 projects in CS!
Tell us what fails and stuff like that
Title:
Post by: dfryer on June 14, 2004, 08:28:27 pm
Not all components are necessary.  Some components require specific version of other libraries.. I think the configure script might be fairly fragile.  Does \"jam\" in the CS directory produce the walktest executable?  If it does, then everything important probably works.
Title:
Post by: Mildred on June 15, 2004, 07:49:32 pm
After ./configure-jam:
Code: [Select]

[mildred@louve ~/.usr/my_planeshift/CS]$ jam
data/Jamfile: No such file or directory
plugins/cssaver/Jamfile: No such file or directory
apps/Jamfile: No such file or directory
...patience...
...patience...
...found 2560 target(s)...
...updating 7 target(s)...
Bison plugins/aws/skinpars.cpp
plugins/aws/skinpars.yy:61.8-12: red?claration du type de window_item

    bison -d -p aws -o plugins/aws/skinpars.cpp plugins/aws/skinpars.yy

...failed Bison plugins/aws/skinpars.cpp ...
...skipped skinpars.o for lack of skinpars.cpp...
...skipped aws.so for lack of skinpars.o...
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o
plugins/video/renderer/software/i386/scan32a.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o plugins/video/renderer/software/i386/scan32a.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o ...
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o
plugins/video/renderer/software/i386/scan16a.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o plugins/video/renderer/software/i386/scan16a.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o ...
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o
plugins/video/renderer/software/i386/cpuid.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o plugins/video/renderer/software/i386/cpuid.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o ...
...skipped soft3d.so for lack of scan32a.o...
...failed updating 4 target(s)...
...skipped 3 target(s)...


Mildred
Title:
Post by: dfryer on June 15, 2004, 08:50:01 pm
Perhaps your version of bison is too old (or new?)  That seems to be where AWS is failing.

No idea what the correct version is though...