I ran into some of these "be sure that you have either installed Crystal Space or set the CRYSTAL environment variable properly" issues, too.
Here you can see my env. variables to fix it:
CRYSTAL
Code:
<path to CS sdk>/crystalsdk:<path to CS sdk>/crystalsdk/lib/crystalspace-1.4:<path to CS sdk>/crystalsdk/etc/crystalspace-1.4
LD_LIBRARY_PATH
Code:
<path to CS sdk>/crystalsdk/lib:<path to CEL sdk>/cel/cel-sdk/lib
To compile CEL you need:
Code:
# so configure can find cs-config
export PATH="$PATH:<path to CS sdk>/crystalsdk"
# the linker needs this to link against CS
export LD_RUN_PATH="<path to CS sdk>/crystalsdk/lib"
export PATH="$PATH:<path to CS sdk>/crystalsdk"
# the linker needs this to link against CS
export LD_RUN_PATH="<path to CS sdk>/crystalsdk/lib"
If this don't work check if you have set CRYSTAL_X_Y and unset it. Check cs-config --libs and cs-config --libdir if it returns correct values. If not "be sure that you have either installed Crystal Space or set the CRYSTAL environment variable properly"
.I wrote some scripts to automaticly checkout/configure/compile/build-sdk for cs and cel. Sombody intrested?
PS: You need this setup only if u dont want to be root to install/use cs and cel. I do this to not "contaminate" my system with configure install.
Best regards
Daniel





