-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Build fail on macOS 10.13.4 "Unable to find requested Boost libraries" #2610
Comments
@erlingrj run the following commands and you should be good to go. |
Hi @pacificcode thanks for your quick reply. I ran all the commands but still get the same error regarding the boost libraries. This is the complete read out:
|
@erlingrj Im not seeing the build script installing boost from source so Im guessing this is an issue from a previous install. remove boost and clear boost info from homebrew databasebrew remove boost remove boost header filessudo rm -rf /usr/local/include/boost remove boost librariessudo rm -rf /usr/local/lib/libboost* run the build script and this will install boost from source./eosio_build.sh If you run into any further issue paste the output from eosio_build.sh here. |
Thanks again @pacificcode ! Still I cannot build. I get some "premission denied" errors so I run it from root and get the following read out: dhcp-10-24-30-221:eos erling$ sudo ./eosio_build.sh
/Users/erling/Projects/eos/scripts/eosio_build_darwin.sh: line 175: [: : integer expression expected
-- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Boost version: 0.0.0 Boost include path: /usr/local/include Detected version of Boost is too old. Requested version was 1.66 (or -- Configuring Eos on OS X CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Boost version: 0.0.0 Boost include path: /usr/local/include Detected version of Boost is too old. Requested version was 1.57 (or -- Configuring ChainBase on OS X CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Boost version: 0.0.0 Boost include path: /usr/local/include Detected version of Boost is too old. Requested version was 1.60 (or -- Configuring AppBase on OS X -- Configuring incomplete, errors occurred!
|
@erlingrj your getting closer. It would be best to compile boost manually. Here is how you would do this: cd /path/to/eos Let me know how things work out. |
@pacificcode Now, finally there are no more boost-errors, however it still wont build. dhcp-10-24-30-221:eos erling$ sudo ./eosio_build.sh
-- Using custom FindBoost.cmake -- Configuring incomplete, errors occurred!
THe |
That did it. Thanks alot for your patience and help!! Good weekend |
For others finding this, I ran into a missing boost error and running |
I’m starting to think that Apple makes machines which function differently from each other. When we try running the script on newly-purchased machines of the models that we happen to use, it works. |
The build exits with the following error after almost finishing the installation. I have used brew to install Boost but it installs version 1.67 in a different location. The builder searchs in:
/usr/local/include while brew put it in:
/usr/local/Cellar/boost/1.67.0_1/ in this directory I find prompted libraries.
I am not that technical so I couldnt find where BOOST_ROOT and BOOST_LIBRARYDIR are to change them. Should I change them to the directory with boost 1.67?
The text was updated successfully, but these errors were encountered: