PlaneShift
Development => Development Deliberation => Topic started by: confused on January 09, 2005, 05:40:54 pm
-
I having a major problem compiling PS as a result of CEL not installing correctly.
Downloaded the latest cvs copy of CEL
Here is the commands sequence to compile CEL:
./configure --enable-new-renderer (no errors)
jam (no errors, and babout half the targets done)
celtst -relight (with a man model that animates as you move, also no visible defects could be seen)
./cel-conf --prefix (returns /usr/local)
Checked installation location (/usr/local) and nothing appears in the obvious places /usr/local/bin/, /usr/local/include/, /usr/local/lib/ and /usr/local/share/.
jam does not seem to do any installation of files, nor does ./configure create any makefiles for installing CEL file to either the default (/usr/local) or --prefix=???? locations, as is done with CS.
How does one overcome the installation problem.
-
You shouldn\'t install cel and CS. Use CRYSTAL, CSCONFPATH and CEL environnement variable instead. (CRYSTAL should point to the CS source dir, CEL/CSCONFPATH to the cel one)
-
So basicly for CS, CRYSTAL is set to the installation /usr/local/, in which PS and CEL locates the libs in /usr/local/lib/, binaries in /usr/local/bin/, and config & data located in /usr/local/share/crystalspace/
For CEL the prefix and default prefix is not used at all, thus CEL and CSCONFPATH must be set as /root/planshift-sources/cel/, but this forces one to play as root, which is not a good thing to do.
I prefer to have the files installed in standard locations, thus if I copy the binaries from source to the standard location it should work.
-
granted it kinda sucks that cel is so raw that it doesn\'t install...
but then again, can\'t you compile the sources somewhere else, e.g. in /opt?
after all what\'s the point of compiling the sources as root?
-
I decided I just going to look at CS installation and copy the CEL build files to similar locations as done with CS.