I managed to install GiGi and freeorion starts compiling. Yet, after some time, it aborts, with the following errors.
Using log4cpp 0.3.4b or 0.3.5_rc3 I get:
Code: Select all
g++ -o util/AppInterface-server.o -c -pthread -Wall -O2 -D_GNU_SOURCE=1 -D_REENTRANT -DFREEORION_LINUX -DENABLE_BINRELOC -DFREEORION_BUILD_SERVER -I/usr/include/python2.4 -I/var/tmp/portage/games-strategy/freeorion-9999_pre2/image/usr/include -I/usr/include/SDL -I/usr/include/boost -I/usr/include/freetype2 -I/usr/include/graphviz -I/usr/include/log4cpp -I/usr/include/GG -Inetwork util/AppInterface.cpp
g++ -o freeoriond -pthread combat/Combat.o Empire/Empire.o Empire/EmpireManager.o Empire/ResourcePool.o network/Message.o network/MessageQueue.o network/Networking.o network/boost/error_code.o UI/StringTable.o universe/Building.o universe/Condition.o universe/ConditionParser1.o universe/ConditionParser2.o universe/ConditionParser.o universe/Effect.o universe/EffectParser.o universe/Enums.o universe/Fleet.o universe/Meter.o universe/ParserUtil.o universe/Planet.o universe/PopCenter.o universe/Predicates.o universe/ResourceCenter.o universe/Ship.o universe/ShipDesign.o universe/Special.o universe/System.o universe/Tech.o universe/TopLevelParsers.o universe/UniverseObject.o universe/ValueRef.o universe/ValueRefParser.o util/DataTable.o util/GZStream.o util/MultiplayerCommon.o util/OptionsDB.o util/Order.o util/OrderSet.o util/Process.o util/Random.o util/Serialize.o util/SitRepEntry.o util/VarText.o util/Version.o util/binreloc.o util/Directories.o util/XMLDoc.o combat/CombatSystem-server.o network/ServerNetworking-server.o server/SaveLoad-server.o server/ServerApp-server.o server/ServerFSM-server.o server/dmain-server.o universe/Universe-server.o util/AppInterface-server.o -L/usr/lib64 -L/var/tmp/portage/games-strategy/freeorion-9999_pre2/image/usr/lib -L/usr/lib -lpython2.4 -lGiGiSDL -lGiGi -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals -lboost_filesystem -lboost_thread -lGL -lGLU -lSDL -lpthread -lz -lfreetype -lIL -lILU -lILUT -lalut -lopenal -lvorbisfile -lvorbis -lm -logg -lgraph -lcdt -lgvc
Empire/Empire.o: In function `Empire::ConquerBuildsAtLocation(int)':
Empire.cpp:(.text+0x5c0a): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
Empire.cpp:(.text+0x64ca): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
Empire/Empire.o: In function `Empire::PlaceBuildInQueue(BuildType, int, int, int, int)':
Empire.cpp:(.text+0x8a19): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
Empire.cpp:(.text+0x8e52): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
Empire/Empire.o: In function `Empire::PlaceBuildInQueue(BuildType, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int)':
Empire.cpp:(.text+0xc136): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
Empire/Empire.o:Empire.cpp:(.text+0xc5d5): more undefined references to `log4cpp::CategoryStream::~CategoryStream()' follow
server/ServerApp-server.o: In function `ServerApp::~ServerApp()':
ServerApp.cpp:(.text+0x4012): undefined reference to `log4cpp::Category::shutdown()'
server/ServerApp-server.o: In function `ServerApp::~ServerApp()':
ServerApp.cpp:(.text+0x42c2): undefined reference to `log4cpp::Category::shutdown()'
server/ServerApp-server.o: In function `ServerApp::ServerApp()':
ServerApp.cpp:(.text+0x4b8e): undefined reference to `log4cpp::Category::getRoot()'
ServerApp.cpp:(.text+0x4ffc): undefined reference to `log4cpp::FileAppender::FileAppender(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, unsigned int)'
ServerApp.cpp:(.text+0x5019): undefined reference to `log4cpp::PatternLayout::PatternLayout()'
server/ServerApp-server.o: In function `ServerApp::ServerApp()':
ServerApp.cpp:(.text+0x5d1e): undefined reference to `log4cpp::Category::getRoot()'
ServerApp.cpp:(.text+0x618c): undefined reference to `log4cpp::FileAppender::FileAppender(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, unsigned int)'
ServerApp.cpp:(.text+0x61a9): undefined reference to `log4cpp::PatternLayout::PatternLayout()'
server/ServerApp-server.o: In function `ServerApp::ProcessTurns()':
ServerApp.cpp:(.text+0x9374): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
ServerApp.cpp:(.text+0x9973): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
ServerApp.cpp:(.text+0x99e1): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
ServerApp.cpp:(.text+0x9ac0): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
ServerApp.cpp:(.text+0x9ad5): undefined reference to `log4cpp::CategoryStream::~CategoryStream()'
server/ServerApp-server.o:ServerApp.cpp:(.text+0xa156): more undefined references to `log4cpp::CategoryStream::~CategoryStream()' follow
util/AppInterface-server.o: In function `Logger()':
AppInterface.cpp:(.text+0x41): undefined reference to `log4cpp::Category::getRoot()'
collect2: ld returned 1 exit status
scons: *** [freeoriond] Error 1
scons: building terminated because of errors.
Code: Select all
universe/Universe.cpp: In member function 'void Universe::GenerateEmpires(int, std::vector<int, std::allocator<int> >&, const std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<const int, PlayerSetupData> > >&)':
universe/Universe.cpp:2768: error: 'FloatClr' is not a member of 'GG'
scons: *** [universe/Universe-server.o] Error 1
scons: building terminated because of errors.
Edit: hummm ... i just noticed configure spat out
Code: Select all
Checking for log4cpp >= 0.3.4b... no
Checking log4cpp version == 0.3.4b... (cached) yes
Checking for C++ header file log4cpp/Category.hh... yes