I,m not yet have a working install but I wanted to share my experinces so far. I've spent a lot of time trying to install boost with Boost Build System and I dont wish anyone the trouble I had with that. It simply does'nt work, after hours of working the system itself could'nt find the files it just installed. And the use of underscore in names complicated it further. Luckily I found a rpm on a opensuse mirror that solved my problems with boost I think. Next to fix is GiGi. Inluding the scons logs from that and freeorion. GiGi does'nt find SDL/OpenGL but freeorion did, funny.
Any advice oń how to continue are welcome.
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.32.0... (cached) yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... (cached) ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... no
SDL configuration... (cached) no
intel:~/FreeOrion # scons
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for pkg-config... yes
Checking for GiGiSDL >= 0.6.0... no
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.32.0... (cached) yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... (cached) ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... yes
SDL configuration... (cached) yes
Checking for freetype2 >= 9.0.0... yes
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... (cached) no
intel:~/FreeOrion #
FreeOrion on opensuse 10.0
Moderator: Oberlus
Started with GiGi and for sure I need help there. Progress is in small steps. (Forward I hope). I dont easily give up and this board is the only place I can turn to.
Compiler is gcc 4.0.2 The log from scons is:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.32.0... (cached) yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... (cached) ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... yes
SDL configuration... (cached) yes
Checking for pkg-config... yes
Checking for freetype2 >= 9.0.0... yes
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... (cached) yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for ilInit() in C library IL... yes
Checking for iluInit() in C library ILU... yes
Checking for ilutInit() in C library ILUT... yes
Checking for DevIL OpenGL support... yes
Checking for DevIL Allegro support... no (That's good!)
Generating libltdl/config.h using libltdl/configure... (cached) ok
Creating include/GGConfig.h from include/GGConfig.h.in... ok
Configuration successful... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/GGApp.os -c -pthread -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -Iinclude -Iinclude/net -Iinclude/SDL -Iinclude/dialogs -Ilibltdl src/GGApp.cpp
include/GGBase.h:123: error: ISO C++ forbids declaration of 'sp_counted_base_impl' with no type
include/GGBase.h:123: error: typedef name may not be a nested-name-specifier
include/GGBase.h:123: error: expected ';' before '<' token
include/GGBrowseInfoWnd.h:135: error: expected constructor, destructor, or type conversion before ';' token
scons: *** [src/GGApp.os] Error 1
scons: building terminated because of errors.
Compiler is gcc 4.0.2 The log from scons is:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.32.0... (cached) yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... (cached) ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... yes
SDL configuration... (cached) yes
Checking for pkg-config... yes
Checking for freetype2 >= 9.0.0... yes
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... (cached) yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for ilInit() in C library IL... yes
Checking for iluInit() in C library ILU... yes
Checking for ilutInit() in C library ILUT... yes
Checking for DevIL OpenGL support... yes
Checking for DevIL Allegro support... no (That's good!)
Generating libltdl/config.h using libltdl/configure... (cached) ok
Creating include/GGConfig.h from include/GGConfig.h.in... ok
Configuration successful... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/GGApp.os -c -pthread -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -Iinclude -Iinclude/net -Iinclude/SDL -Iinclude/dialogs -Ilibltdl src/GGApp.cpp
include/GGBase.h:123: error: ISO C++ forbids declaration of 'sp_counted_base_impl' with no type
include/GGBase.h:123: error: typedef name may not be a nested-name-specifier
include/GGBase.h:123: error: expected ';' before '<' token
include/GGBrowseInfoWnd.h:135: error: expected constructor, destructor, or type conversion before ';' token
scons: *** [src/GGApp.os] Error 1
scons: building terminated because of errors.
Downloaded GiGi separately, to see that it worked before I moved on to FO and wasn't aware of the difference. The version in FO installed without problems. After some fixes FO compiled and linked to a functional program. Runs slow but witout errors. Slow graphics can come from a motherboard with Intel chipset. Sort of test box for Suse 10.0 and BCC 4.0.2, I don't dare yet to start upgrading my main linux box.
Most of the needed software could be found as RPMS and most valued RPM was boost-1.33.1.14. Now I think everything is compiled with BCC 4.0.2. Graphviz and log4cpp got installed in places not found but that could be fixed.
Most of the needed software could be found as RPMS and most valued RPM was boost-1.33.1.14. Now I think everything is compiled with BCC 4.0.2. Graphviz and log4cpp got installed in places not found but that could be fixed.