From: SourceForge.net <no...@so...> - 2007-07-07 21:06:02
|
Bugs item #1749413, was opened at 2007-07-06 15:58 Message generated for change (Comment added) made by nobody 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: Nobody/Anonymous (nobody) Date: 2007-07-07 14:06 Message: Logged In: NO I got nearly the same problem.. for me it seems like the boost_suffix options is not honoured everywhere: "g++ -o .sconf_temp/conftest_6 -pthread -Wl,-rpath,/usr/lib .sconf_temp/conftest_6.o -L/usr/lib -L/usr/local/lib -lpython2.5 -lGiGiSDL -lSDL -lGiGiNet -lIL -lILU -lILUT -lGiGi -lboost_signals-mt -lboost_filesystem-mt -lGL -lGLU -lpthread -lfreetype -lz -lboost_serialization-gcc42-mt" As you can see the last libname is correct, but the first two boost libs wont be found, cause they simply are not there.. ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-07 11:47 Message: Logged In: YES user_id=586970 Originator: YES I currently have libboost_signals.so and libboost_signals-mt.so but no libboost_signals-st.so as well as having libboost_filesystem.so. And yes libboost_signals.so and libboost_signals-mt.so are two different files not one file and a symlink, like libboost_thread.so is only a simlink to libboost_thread-mt.so. ---------------------------------------------------------------------- Comment By: Geoff Topping (geoffthemedio) Date: 2007-07-07 10:23 Message: Logged In: YES user_id=913462 Originator: NO I'm not sure if it's relevant, but on IRC, someone noted the following: <kroddn> on debian unstable, some libs dont exist any more <kroddn> for example libboost_signals <kroddn> there a two versions, libboost_signals-st.so and libboost_signals-mt.so <kroddn> but no one libboost_signals.so <kroddn> I now hacked some symlinks from *-mt.so to *.so, so compiling works ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-07 06:51 Message: Logged In: YES user_id=586970 Originator: YES I removed all the libGiGi so files, and the GG include files then rebuilt GiGi after verifying that I do have version 1.34.0 of boost installed by removing then reinstalling boost. At this point I no longer have the error message that it can't find the 1.33.1 version files but I am still getting the undefined references. I have uploaded the latest config.log file. ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-07 06:48 Message: Logged In: YES user_id=586970 Originator: YES File Added: config.log ---------------------------------------------------------------------- Comment By: Zach Laine (tzlaine) Date: 2007-07-06 18: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 17:31 Message: Logged In: YES user_id=586970 Originator: YES File Added: config.log ---------------------------------------------------------------------- Comment By: Robert T Childers (rtrentc) Date: 2007-07-06 17:30 Message: Logged In: YES user_id=586970 Originator: YES File Added: options.cache ---------------------------------------------------------------------- Comment By: Zach Laine (tzlaine) Date: 2007-07-06 16: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 |