physix wrote:Hey there,
I finally want to take a look at FreeOrion, but I seem to be stuck in the same mess this thread is about.
I am running Ubuntu 8.10 and manually installed boost 1.37 today (ubuntu comes with 1.35). When I try to build GIGI I get:
Code: Select all
sudo scons
scons: Reading SConscript files ...
--some code deleted here for brevity--
Looking for boost lib boost_system...
Checking for boost::system::get_system_category() in C++ library boost_system... no
Checking for boost::system::get_system_category() in C++ library boost_system-mt... no
Boost configuration... (cached) no
There is no change whether I use the -mt suffix option or not. LD_LIBRARY_PATH contains the right path to boost.
Any ideas? Has this been resolved yet?
I know this is an old thread, but I had the identical problem and found this discussion while trying to solve it.
The solution: the '-mt' suffix was not sufficient. Because I had multiple versions of boost installed (?), scons needed to be directed to the full suffix of the library. In my case, it required: '-gcc43-mt-1_38' (as I was using version 1.38).
To get an idea of the suffixes your version of the library might be using, try typing at the command line:
locate --regex libboost.*\.a$
(That's if you use locate regularly. You might need to type 'sudo updatedb' first to bring the database up to date.)
You will see a list of different components of the boost library, from which you should be able to deduce the suffix:
/usr/local/lib/libboost_signals-gcc43-mt-1_37.a
/usr/local/lib/libboost_signals-gcc43-mt-1_38.a
/usr/local/lib/libboost_signals-gcc43-mt.a
/usr/local/lib/libboost_system-gcc43-mt-1_37.a
/usr/local/lib/libboost_system-gcc43-mt-1_38.a
/usr/local/lib/libboost_system-gcc43-mt.a
Add the following line to your options.cache file like this:
boost_lib_suffix = '-gcc43-mt-1_38'
I did this, and boost configured properly. I am currently building (but have not yet run) the final product.
-j