Configure breaks on Mint 14 with libboost1.53 #4359

issue FTraian opened this issue on June 17, 2014
  1. FTraian commented at 8:24 AM on June 17, 2014: none

    I am trying to build latest version and had to build from sources libboost. I used version 1.53.0 and when I run ./configure I get:

    $./configure --enable-logging --enable-debug --enable-dht --with-boost-libdir=/home/<user>/Downloads/boost_1_53_0/stage/lib
    ...
    checking for miniupnpc/upnperrors.h... no
    checking for boostlib >= 1.20.0... yes
    checking whether the Boost::System library is available... yes
    checking for exit in -lboost_system... yes
    checking whether the Boost::Filesystem library is available... yes
    checking for exit in -lboost_filesystem... yes
    checking whether the Boost::Program_Options library is available... yes
    checking for exit in -lboost_program_options... yes
    checking whether the Boost::Thread library is available... yes
    checking for exit in -lboost_thread... yes
    checking whether the Boost::Chrono library is available... yes
    checking for exit in -lboost_chrono... yes
    checking whether the Boost::Unit_Test_Framework library is available... yes
    checking for dynamic linked boost test... no
    configure: error: No working boost sleep implementation found. If on ubuntu 13.10 with libboost1.54-all-dev remove libboost.1.54-all-dev and use libboost1.53-all-dev
    

    Is 1.53.0 the right version to use?

  2. laanwj added the label Build system on Jun 17, 2014
  3. laanwj commented at 8:36 AM on June 17, 2014: member

    CAn you post the appropriate part of config.log?

  4. FTraian commented at 10:15 AM on June 17, 2014: none

    This is the full config.log: http://pastebin.com/ubcuBCGv

  5. theuni commented at 9:19 PM on June 17, 2014: member

    You set your boost lib dir, but it's pulling your system boost headers:

    configure:11458: g++ -o conftest -g3 -O0 -DDEBUG -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE  -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include   -Wl,-z,relro -Wl,-z,now -pie conftest.cpp  -L/home/<username>/Downloads/boost_1_53_0/stage/lib -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread >&5
    /tmp/ccs6ZJRV.o: In function `void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> const&)':
    /usr/include/boost/thread/pthread/thread_data.hpp:149: undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
    

    You'll need to use --with-boost as well. Something like: ./configure --with-boost=/home/<username>/Downloads/boost_1_53_0/stage --with-boost-libdir=/home/<username>/Downloads/boost_1_53_0/stage/lib The libdir part might not be needed, but shouldn't hurt.

  6. laanwj commented at 4:26 AM on November 25, 2014: member

    Closing due to inactivity of OP.

  7. laanwj closed this on Nov 25, 2014

  8. noxxim commented at 7:39 PM on March 20, 2015: none

    It doesn't work for me on Debian Wheezy. I installed the libboost-all-dev package.

    Here is the output of "dpkg -l | grep -i boost": http://pastebin.com/raw.php?i=KZJpq8fZ

    Maybe i will try to build boost from source now and hope this works with the configure flags set on it.

  9. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me