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
- Fix for missing boost headers during configure. Addresses #3003 — committed to theuni/bitcoin by theuni 11 years ago
- Lets get at least dogecoind building This is an Xcode project and a script to wrangle boost to work on the mac. — committed to dogecoin/dogecoin by deleted user 10 years ago
- Fix 2 common Travis failures which happen when Travis has network issues (#3003) * Retry downloading of depends sources 3 times * Manually invoke apt-get update and install instead of using addon ... — committed to Bushstar/omnicore by codablock 5 years ago
- Fix 2 common Travis failures which happen when Travis has network issues (#3003) * Retry downloading of depends sources 3 times * Manually invoke apt-get update and install instead of using addon ... — committed to Bushstar/omnicore by codablock 5 years ago
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.