From: SourceForge.net <no...@so...> - 2007-07-07 13:48:15
|
Bugs item #1749413, was opened at 2007-07-06 17:58 Message generated for change (Comment added) made by rtrentc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=1749413&group_id=75752 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Robert T Childers (rtrentc) Assigned to: Nobody/Anonymous (nobody) Summary: svn revision 2127 fails in configuration. Initial Comment: I am getting a failure of the boost configuration. I get the following 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... failed messages from the configure. When I compiled boost-1.34.0, I set the flags that would build boost with unicode support, pyste fronted support and boost tools (bcp,quickbook,inspect,wave) I run gentoo so boost is compiled from source on my box rather than downloading precompiled binaries. Is there a specific configure flag that needs to be passed when building boost or boost-build to have library boost_serialization and library_serialization-mt succed instead of failing. is there some other library that needs to be built? ---------------------------------------------------------------------- >Comment By: Robert T Childers (rtrentc) Date: 2007-07-07 08:48 Message: Logged In: YES user_id=586970 Originator: YES File Added: config.log ---------------------------------------------------------------------- Comment By: Zach Laine (tzlaine) Date: 2007-07-06 20:31 Message: Logged In: YES user_id=729903 Originator: NO This is the relevant part of the config.log: Error message: failed to build test program 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++ -pthread -I/usr/include/python2.4 -I/usr/local/include -c -o .sconf_temp/conftest_6.o .sconf_temp/conftest_6.cpp g++ -pthread -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/lib -L/usr/local/lib -lpython2.4 -lGiGiSDL -lSDL -lGiGiNet -lIL -lILU -lILUT -lGiGi -lboost_signals -lboost_filesystem -lGL -lGLU -lpthread -lfreetype -lz -lboost_serialization-mt /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libboost_signals.so.1.33.1, needed by /usr/lib/libGiGiNet.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libboost_filesystem.so.1.33.1, needed by /usr/lib/libGiGiNet.so, not found (try using -rpath or -rpath-link) /usr/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::named_slot_map_iterator(boost::signals::detail::named_slot_map_iterator const&)' /usr/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::operator=(boost::signals::detail::named_slot_map_iterator const&)' /usr/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::equal(boost::signals::detail::named_slot_map_iterator const&) const' /usr/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::increment()' /usr/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::dereference() const' collect2: ld returned 1 exit status The linker cannot find libboost_signals.so.1.33.1 or libboost_filesystem.so.1.33.1. There are 2 things wrong with this: 1) you must not have these libraries built, or they must not be in any of the directories specified on the command line (-L/usr/lib -L/usr/local/lib), and 2) you should be building and linking GG and then FreeOrion against Boost 1.34, not Boost 1.33.1. ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-06 19:31 Message: Logged In: YES user_id=586970 Originator: YES File Added: config.log ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-06 19:30 Message: Logged In: YES user_id=586970 Originator: YES File Added: options.cache ---------------------------------------------------------------------- Comment By: Zach Laine (tzlaine) Date: 2007-07-06 18:06 Message: Logged In: YES user_id=729903 Originator: NO Please post your *entire* options.cache and config.log files. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=1749413&group_id=75752 |