I tried to compile CS with CEGUI (both, with system package, and self compiled).
./configure returns the following output:
> ./configure
...
checking if pkg-config recognizes CEGUI... yes
checking for CEGUI-config... no
checking if pkg-config recognizes CEGUIBase... no
checking for CEGUIBase-config... no
checking for libCEGUI... no
...
Missing
cegui (gui)
Although CEGUI (version 0.8.7) is available on the system (/usr/lib64/pkgconfig/CEGUI-0.pc).
> pkg-config --modversion CEGUI-0
0.8.7
> pkg-config --libs CEGUI-0
-L/usr/local/lib64 -lCEGUIBase-0
> ll /usr/lib64/libCEGUIBase*
lrwxrwxrwx 1 root root 19 Aug 5 19:43 /usr/lib64/libCEGUIBase-0.so -> libCEGUIBase-0.so.2
lrwxrwxrwx 1 root root 23 Aug 5 19:43 /usr/lib64/libCEGUIBase-0.so.2 -> libCEGUIBase-0.so.2.4.2
-rw-r--r-- 1 root root 5305920 Aug 5 19:42 /usr/lib64/libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root 23 Sep 2 18:17 /usr/lib64/libCEGUIBase.so -> libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root 23 Sep 2 18:17 /usr/lib64/libCEGUIBase.so.2 -> libCEGUIBase-0.so.2.4.2
The same happens when compiling with "--with-CEGUI" option pointing to my cegui source and compile dir.
Consequently, I do get some compile errors, though not sure if the y are related to the missing CEGUI (I would open a new issue if not):
> jam -j3 -aq libs plugins cs-config
...
LinkPlugin engine.so
LinkPlugin vfs.so
ObjTagMetaData vfs.so
DoSplitDebugInfo vfs.so
C++ ./out/linux/optimize/plugins/font/server/csfont/csfont.o
./out/linux/optimize/plugins/engine/3d/engine.o: In function `csEngine::CreateBlackTexture(char const*, int, int, csColor*, int)':
/data/transfer/planeshift/cs/plugins/engine/3d/engine.cpp:2262: warning: undefined reference to `non-virtual thunk to csImageBase::SetName(char const*)'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ./out/linux/optimize/plugins/engine/3d/engine.o: relocation R_X86_64_PC32 against undefined symbol `_ZThn24_N11csImageBase7SetNameEPKc' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
...
...failed LinkPlugin engine.so ...
LinkPlugin engseq.so
ObjTagMetaData engseq.so
DoSplitDebugInfo engseq.so
LinkPlugin csfont.so
ObjTagMetaData csfont.so
DoSplitDebugInfo csfont.so
...failed updating 1 target(s)...