bitcoin: configure error on OSX: No working boost sleep implementation found

Trying to compile git head on OSX 10.7.5 with ./configure --without-qt --disable-tests --disable-debug, it fails with:

checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono-mt... yes
configure: error: No working boost sleep implementation found

I have boost installed with MacPorts:

> port installed | grep boost
boost @1.54.0_0+no_single+no_static+python27 (active)

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 38 (20 by maintainers)

Commits related to this issue

Most upvoted comments

Yep, but it’s ok. This works for me ./configure CXXFLAGS=“-I /usr/local/include”. Other things I had problems with is that I had different boost libraries in /usr/local/lib then the ones from homebrew, so that’s why my linker failed later. Solution was to

rm /usr/local/lib/libboost_* brew link boost

Now I can compile everything.