PlaneShift
Support => Linux Specific Issues => Topic started by: lanser on October 20, 2005, 12:17:24 am
-
Am using 6th Oct build from cvs but get the following error when running config on planeshift
john@Darkstar:~/planeshift/planeshift> ./configure --enable-debug --with-libcal3d=/home/john/planeshift/cal3d
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to treat C++ warnings as errors... -Werror
checking how to enable C++ PIC generation... -fPIC
checking if -shared is accepted... -shared
checking if -soname is accepted... yes
checking for install... install
checking for ranlib... ranlib
checking for socklen_t... yes
checking for stdint-types... found in stdint.h
creating include/psstdint.h - (just to include stdint.h)
checking for cs-config... /home/john/planeshift/CS/cs-config
checking if Crystal Space version >= 0.99... yes (version 0.99)
checking if Crystal Space SDK is usable... no
configure: error:
*** Crystal Space could not be found or was unusable. The latest version is
*** always available from http://www.crystalspace3d.org/
*** Also, be sure that you have either installed Crystal Space or set the
*** CRYSTAL environment variable properly.
I have checked the CRYSTAL env var and it is correct
*edit given up again another 3 hours wasted
-
If you already had sources of planeshift that you updated, it is very important that you re-run ./autogen.sh and then ./configure, as the jam/configure files changed drastically.
Also note if you were using \"-nolightmapping\" that it is now \"-fullbright\".
-
I think you need to update Crystal Space, probably to 2005-10-06 as well.
If you plan to use the client with the official Planeshift server, then 2005-10-05 was the latest version that I was able to use with the current official server and database. 2005-10-06 would connect (net version is not changed), but some information from the database is missing (like stamina).
-
Sorry but I didn\'t make myself clear, had already explained all this on #planeshift-build and was getting PO\'d with my lack of knowledge.
Anyway I started completely from scratch using acraigs gentoo instructions altered for Suse (no emerge) and with the cvs date stamp given on #planeshift-build of 6th oct.
Followed them all the way through watching the output but no obvious errors until here:
/home/andrew/development/planeshift$ ./configure --enable-debug --with-libcal3d=/home/andrew/development/cal3d
when I get the output posted above, I have checked all the env var and they are correct.
*edit will try the 2005-10-05 build tonight :)
export CEL=/home/andrew/development/cel
export CSCONFPATH=/home/andrew/development/cel
should CSCONFPATH point at cel or CS?
-
I get the same output at exactly the same line when there is a mismatch between Planeshift and Crystal Space (cal3d, cel and CS) versions.
Planeshift CVS 2005-10-05 compiles against Crystal Space CVS 2005-09-05.
Planeshift CVS 2005-10-11 compiles against Crystal Space CVS 2005-10-06.
Somewhere between 2005-10-05 and 2005-10-11 there was a switch from Crystal Space 2005-09-05 to 2005-10-06.
EDIT:
Both CEL and CSCONFPATH point at cel.
-
At work atm so can\'t wait to get home and try now :)
Both CEL and CSCONFPATH point at cel.
only just noticed that so though I\'d better check thanks
/me bounces around the office with excitement.
-
If You still have troubles, look into config.log, the hint should be there. The error message will NOT be at the end of config.log, You must scroll up a bit.
If You try to compile cvs sources from 11-10-2005, remember, that exact date should point BEFORE Tue Oct 11 06:03:47 2005 UTC, otherwise You will be unable to connect to official server (net version has changed).
-
Thanks I finally managed to compile and install ps using the date stamp you gave :)
Originally posted by Bereror
Planeshift CVS 2005-10-05 compiles against Crystal Space CVS 2005-09-05.
That was the happy part got a segfault after login and just before entering the game (the little tease), missing or corrupt xml files :(
So will try again tonight with the latest cvs :-/
-
My fault that I didn\'t warn you about it. I am sorry 8)
If you ran updater, it overwrote some XML files in the data/gui directory. For the CVS 2005-10-05 version there should be only interact.xml that needs to be fixed.
You can download my interact.xml (http://www.vaikene.net/files/interact.xml) and save to the data/gui directory. Use \"Save link as ...\" or similar -- my Konqueror tries to show it when I click on the link.
-
Not a problem Bereror, I will grab the file when I get home.
With all this cool new stuff I\'m learning when SB comes out I\'ll only be offline for a fortnight :)
Oh and thanks for your help and if we\'re ever in Kada\'Els at the same time there will be an Ale (or whatever takes your fancy) waiting