It doesn't seem to work:
---
CRYSTAL=/opt/planeshift/crystalspace/lib/crystalspace-1.1 /opt/planeshift/crystalspace/bin/cs-config --libs
/opt/planeshift/crystalspace/bin/cs-config: line 33: --libs: command not found
---
BUT:
---
/opt/planeshift/crystalspace/bin/cs-config-1.1 --libs
-L/opt/planeshift/crystalspace/lib -lcrystalspace_opengl-1.1 -lcrystalspace-1.1 -lpthread -lz -lGL -lXext -lX11 -lm -lm -ldl -lnsl -L/usr/local/lib
---
In any case, during the configure of cel-ps I can read:
---
checking for cs-config-1.1... no
---
I tried then with 'export CRYSTAL=/opt/planeshift/crystalspace/' and now I have:
---
/opt/planeshift/crystalspace/bin/cs-config --libs
-L/opt/planeshift/crystalspace//lib -lcrystalspace_opengl-1.1 -lcrystalspace-1.1 -lpthread -lz -lGL -lXext -lX11 -lm -lm -ldl -lnsl -L/usr/local/lib
---
But when trying to emerge cel-ps, the same:
---
checking for NL-config... no
checking for libNL... no
checking for i686-pc-linux-gnu-cs-config-1.1... no
checking for cs-config-1.1... no
checking for i686-pc-linux-gnu-cs-config-1.3... no
checking for cs-config-1.3... no
checking for i686-pc-linux-gnu-cs-config-1.2... no
checking for cs-config-1.2... no
checking for i686-pc-linux-gnu-cs-config... no
checking for cs-config... 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.
---
Note: I compiled crystalspace-ps with the following use-flags: 3ds alsa -cegui -debug -doc maxoptimization mng -ode sdl -static vorbis
Maybe I should recompile it with different use-flags? Any suggestion wellcome!
Thanks!