Doesn't compile on Debian #5016

issue jl2035 opened this issue on September 30, 2014
  1. jl2035 commented at 11:15 PM on September 30, 2014: contributor

    I'm trying to compile on debian, freshly installed. This is the output from uname: Linux machine 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux

    I'm stuck at ./configure...

    git pull https://github.com/bitcoin/bitcoin ./autogen.sh ./configure --without-miniupnpc --disable-wallet

    THESE ARE LAST LINES OF THE OUTPUT FROM ./configure: checking for visibility attribute... yes checking whether C++ compiler accepts -fvisibility=hidden... yes checking for boostlib >= 1.20.0... configure: We could not detect the boost libraries (version 1.20 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation. checking whether the Boost::System library is available... no checking whether the Boost::Filesystem library is available... no checking whether the Boost::Program_Options library is available... no checking whether the Boost::Thread library is available... no checking whether the Boost::Chrono library is available... no checking for working boost reduced exports... no configure: WARNING: boost versions < 1.49 are known to have symbol visibility issues. Disabling reduced exports. configure: error: No working boost sleep implementation found.

  2. sipa commented at 11:18 PM on September 30, 2014: member

    Do you have boost installed?

  3. jl2035 commented at 11:28 PM on September 30, 2014: contributor

    Could be that I don't ... which package exactly? "libboost1.42-all-dev"?

  4. sipa commented at 11:31 PM on September 30, 2014: member
  5. sipa closed this on Sep 30, 2014

  6. TheBlueMatt commented at 11:31 PM on September 30, 2014: member

    That will pull in more than you need, but will work.

  7. jl2035 commented at 11:41 PM on September 30, 2014: contributor

    I was going step by step but didn't install "libboost-all-dev" as it says for ubuntu 12.04 and later.. That's a little ambiguous to me.. but thanks, I think it will compile now.

  8. sipa commented at 11:42 PM on September 30, 2014: member

    Feel free to submit an improvement for the documentation if it's unclear :)

  9. jl2035 commented at 11:47 PM on September 30, 2014: contributor

    oh.. I can really do that..

  10. jl2035 commented at 12:01 AM on October 1, 2014: contributor

    am I doing this the right way?

    #5018

  11. pataquets commented at 6:19 PM on December 12, 2016: none

    Same under Ubuntu Trusty. Solved the OP specific message by installing libboost-thread-dev package (also included as a dependency for libboost-all-dev)

  12. laanwj commented at 9:23 AM on December 14, 2016: member

    RTFM doc/build-unix.md:

        sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
  13. ErikHendriks commented at 8:04 PM on April 14, 2017: none

    After installing all the libboost and other dependencies It still failed to compile. I needed to install libstdc++6-4.7-dev as well, as it stated in the config.log

  14. picasso250 commented at 11:47 AM on January 9, 2018: none

    I download boost_1_37_0 and set BOOST_ROOT=/path/to/boost_1_37_0 and still got this error

  15. fanquake commented at 11:49 AM on January 9, 2018: member

    Boost 1.37.0 is too old to use to compile Core. You need at least Boost 1.47.0. Also, please don’t bump 3yr old issues.

  16. picasso250 commented at 12:34 AM on January 10, 2018: none

    1.47 worked for me.

    but then it report: No working boost sleep implementation found

    I've done

    sudo su
    ./bootstrap.sh
    ./bjam install
    

    but it still report error.

  17. MarcoFalke commented at 4:56 PM on January 10, 2018: member

    You can build all dependencies in depends (comes with doc)

  18. MarcoFalke locked this on Jan 10, 2018

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-04-16 18:15 UTC

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