This is the relevant error area. I have all the 1.36 libraries installed; GG installed just fine. I definitely have the serialization dev file installed.
Relevant scons printout:
Checking Boost version >= 1.36... (cached) yes
Checking for C++ header file boost/graph/dijkstra_shortest_paths.hpp... yes
Looking for boost lib boost_serialization...
Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization... no
Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt... no
Boost configuration... (cached) no
I am running Ubuntu 8.10 amd64 architecture.
Any suggestions? (Please note; I cannot compile Boost on my own.)
Please post the contents of your config.log file. (At least, I think that's the file to post... it's been a while since I've dealt with posts about this type of issue.)
scons: Configure: Checking for C++ header file boost/graph/dijkstra_shortest_paths.hpp...
.sconf_temp/conftest_4.cpp <-
|
|#include <boost/graph/dijkstra_shortest_paths.hpp>
|
|
g++ -o .sconf_temp/conftest_4.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost .sconf_temp/conftest_4.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization...
.sconf_temp/conftest_5.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_5.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost .sconf_temp/conftest_5.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_5":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_5'.
scons: Configure: no
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_6.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost .sconf_temp/conftest_6.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_6":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_6'.
scons: Configure: no
scons: Configure: Boost configuration...
scons: Configure: (cached) no
Did you install development version of boost? Something like libboost1.36-dev. I installed libboost 1.36 from Debian(they later removed it from repositories) and I can compile and run FreeOrion although boost 1.36 is buggy. In Ubuntu probably they corrected these errors. I have same architecture amd64.
After installing GiGi rerun ldconfig with libc.conf containing /usr/local/lib
This had absolutely no effect whatsoever. libc.conf already contained /usr/local/lib. I have confirmed that each and every file you listed is, in fact, on my machine -- in the folders you referenced.
I'm having a similar problem. After trying some fixes for other things (thanks to Zach), I gave up, cause I was running out of time...
Now I tried again, I built boost-1.37.0, since 1.36.0 didn't work for me, now I'm getting the following error message:
/usr/include/boost/serialization/access.hpp:109: error: 'class __gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >' has no member named 'serialize'
scons: *** [tutorial/saveload.o] Error 1
scons: building terminated because of errors.
scons configure is running without any problems...
obgr_seneca wrote:I'm having a similar problem. After trying some fixes for other things (thanks to Zach), I gave up, cause I was running out of time...
Now I tried again, I built boost-1.37.0, since 1.36.0 didn't work for me, now I'm getting the following error message:
/usr/include/boost/serialization/access.hpp:109: error: 'class __gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >' has no member named 'serialize'
scons: *** [tutorial/saveload.o] Error 1
scons: building terminated because of errors.
scons configure is running without any problems...
This error don't affect GiGi and is known. You can install it with command:
and then install it manually file by file, because GiGi's installation-routine seems not to support installing into a buildroot directory, like it is done, when building RPMs.
And every step has to return "0" or rpmbuild will exit.
There are some options you can specify to scons. Try scons -h for a list (if I remember correctly). I think there are some for specifying the location of boost or parts of boost. In windows you can specify the include and library directories separately, but this might be different on linux. It might help to tell scons where the boost libraries are located, if it can't find them on the system itself.