Make sure that you have the OpenGL libraries installed on your computer. Are you using the precompiled version? Try building it from source. Do NOT use the CVS checkout to get your source code, because there is some missing code that blocks /spawn from functioning.
My instructions(mostly derived from the Gentoo ebuilds):
Crystal Space(must be an old version) [*]Get the source from
http://gentoo.osuosl.org/gentoo/crystalspace-20030413.tar.gz (or other mirror)
[*]Extract(tar xzf crystalspace-20030413.tar.gz)
[*]Change to the new CS folder(cd CS)
[*]Run \"./configure --prefix=/opt/crystalspace\"(or other directory, but you need to remember it for later)
[*]Run \"make all\"
[*]As a super user(root), run \"make install\"
[*]Run \"ln -s /opt/crystalspace/bin/cs-config /usr/bin/cs-config\"
[*]Add \'CRYSTAL=\"/opt/crystal\"\' to /etc/env.d/90crystalspace (!may be different on Debian!)
[/list]
Cel(also old)[*]Get the source from
http://gentoo.osuosl.org/gentoo/cel-20030413.tar.gz (or other mirror)
[*]Extract(tar xzf cel-20030413.tar.gz)
[*]Change to the new cel folder(cd cel)
[*]Apply the CEL patch from the bottom of this message(paste in file, \"patch -p1 < (patch file)\")
[*]Run \"./autogen\"
[*]Run \'env PATH=\"/opt/crystal/bin:${PATH}\" ./configure --prefix=/opt/crystal --with-cs-prefix=/opt/crystal\'
[*]Run \"jam\"
[*]Run \'sed -i -e \"s:/usr/local/cel:/opt/crystal:g\" cel.cex\'
[*]As a super user(root), run \"jam -sFILEMODE=0644 -sEXEMODE=0755 -sprefix=/opt/crystal install\"
[/list]
Planeshift(finaly)[*]Get the source from
http://gentoo.osuosl.org/gentoo/planeshift-0.2.010.tar.gz (or other mirror)
[*]Extract(tar xzf planeshift-0.2.010.tar.gz)
[*]Change to the new planeshift folder(cd planeshift)
[*]Apply the PS patch from the bottom of this message(paste in file, \"patch -p1 < (patch file)\")
[*]Run \'env -uCEL -uCSCONFPATH CEL=/opt/crystal CSCONFPATH=/opt/crystal ./configure --prefix=/opt/planeshift --with-cs-prefix=/opt/crystal --disable-jamtest\'
[*]Run \"jam\"
[*]Run \"rm -rf src mk config* ac* Jam* install-sh mkinstalldirs missing autogen.sh depcomp Makefile.* ltmain.sh out support include\"
[*]Save the Planeshift script from the bottom of the message to this location.
[*]Make it executable(chmod a+x)
[*]Change to the parent directory(cd ..)
[*]Make sure that /opt/planeshift does NOT exist
[*]As a super user(root), move the entire planeshift folder to /opt/planeshift(mv planeshift /opt/planeshift)
[/list]
Change permissions(optional)To get password storing, you will need to change the permissions on the /opt/planeshift/planeshift.cfg. Run \"chown (username) /opt/planeshift/planeshift.cfg\" and \"chmod u+w /opt/planeshift/planeshift.cfg\" as the super user.
CEL patchdiff -ur celorig/Jamrules.in cel/Jamrules.in
--- celorig/Jamrules.in 2003-02-24 18:13:13.000000000 +0100
+++ cel/Jamrules.in 2003-05-03 14:41:11.000000000 +0200
@@ -6,6 +6,7 @@
PYTHON_LIBS = \"@PYTHON_LIBS@\" ;
PYTHON_CFLAGS = \"@PYTHON_CFLAGS@\" ;
+Cc = @CC@ ;
C++ = @CXX@ ;
LINK = $(C++) ;
@@ -13,13 +14,13 @@
C++FLAGS += $(CRYSTAL_C++FLAGS) ;
LINKLIBS += $(CRYSTAL_LIBS) ;
-prefix = \"@prefix@\" ;
-exec_prefix = \"@exec_prefix@\" ;
-libdir = \"@libdir@\" ;
-plugindir = \"@libdir@/cel\" ;
-csconfdir = \"@bindir@\" ;
-bindir = \"@bindir@\" ;
-includedir = \"@includedir@\" ;
+prefix ?= \"@prefix@\" ;
+exec_prefix ?= \"@exec_prefix@\" ;
+libdir ?= \"@libdir@\" ;
+plugindir ?= \"@libdir@/cel\" ;
+csconfdir ?= \"@bindir@\" ;
+bindir ?= \"@bindir@\" ;
+includedir ?= \"@includedir@\" ;
C++FLAGS += \"-DLIBDIR=\'\\\"$(plugindir)/\\\"\'\" ;
PS patch--- planeshift/src/server/psdatabase.cpp~ 2003-12-16 18:05:24.000000000 +0000
+++ planeshift/src/server/psdatabase.cpp 2003-12-16 18:03:23.000000000 +0000
@@ -2371,7 +2371,8 @@
int epos = questName.FindSubStringReverse(sep, questName.Length());
csString temp (\"\");
- temp.Append(questName + spos, epos-spos);
+ sprintf ( buffer, \"%s%d\", eventName, spos );
+ temp.Append( buffer, epos-spos);
printf(\"InsertQuestEvent quest name: %s\", temp.GetData());
csString command( \"\" );
planeshift#!/bin/sh
export CRYSTAL=/opt/crystal
export CEL=/opt/crystal
cd /opt/planeshift
exec ./psclient ${@}
I think that is how to do it. Somebody correct me if I am wrong.