aalex / toonloop

Live animation software
http://www.toonloop.com
GNU General Public License v3.0
22 stars 7 forks source link

Extra flag required for boost on ubuntu 14.04 #14

Open ensonic opened 10 years ago

ensonic commented 10 years ago

I needed to pass --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ to configure to make the boost checks for the various libraries work.

ensonic commented 10 years ago

There is still some linking issue

libtool: link: g++ -pthread -I/usr/include -O2 -Wall -Wextra -Wno-unused-result -Wfatal-errors -o check_threads check_threads-check_threads.o -lboost_thread -pthread /usr/bin/ld: check_threads-check_threads.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' //usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status

c++filt _ZN5boost6system15system_categoryEv boost::system::system_category()

but thats a simple fix in test/Makefile.am -check_threads_LDADD = $(BOOST_LIBS) $(BOOST_THREAD_LIB) +check_threads_LDADD = $(BOOST_LIBS) $(BOOST_THREAD_LIB) $(BOOST_SYSTEM_LIB)

marillat commented 9 years ago

The best way to fix this issue is to update ax_boost*.m4 files in the m4 directory from this iste http://www.gnu.org/software/autoconf-archive

$ diffstat  debian/patches/04_m4-file-update.diff 
 ax_boost_base.m4            |  349 +++++++++++++++++++++++++-------------------
 ax_boost_date_time.m4       |   76 ++++-----
 ax_boost_filesystem.m4      |   29 ++-
 ax_boost_program_options.m4 |   32 ++--
 ax_boost_system.m4          |   84 +++++-----
 ax_boost_thread.m4          |   39 ++--
 6 files changed, 337 insertions(+), 272 deletions(-)