OS X tutorial for building steem.
I had a hard time finding a complete guide for OS X so I decided to write one.
Open your terminal and update Brew using
brew doctor
command.Install steem dependecies using this command.
brew install boost cmake git openssl autoconf automake qt5
Create a symling for openssl using this command
brew link --force openssl
Install berkeley-db and google-preftools
brew install google-perftools
brew install berkeley-db
- Install libtool and python3 (thanks @anyx)
brew install libtool
brew install python3
- Clone the repository
git clone https://github.com/steemit/steem.git
- Change directory to steem
cd steem
- Build steem
git submodule update --init --recursive
cmake .
make
If you receive this message [100%] Built target chain_test
it means that you are good to go !
Enjoy !
And what to do if the compile ends with:
-- Finished fc module configuration... -- Using custom FindBoost.cmake -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- date_time -- system -- filesystem -- chrono -- unit_test_framework -- locale -- Configuring ChainBase on OS X No such file or directory CMake Error at libraries/manifest/CMakeLists.txt:28 (message): Could not get plugin dependencies -- Configuring incomplete, errors occurred! See also "/Users/krma1/Temp/steem/CMakeFiles/CMakeOutput.log".
Don't you just love those
No such file or directory
error message which don't print any indication in what file or directory is missing.Answering my own question: use
cmake --trace
, look carefully at the output, notice that the python3 symlink is missing, fix and continue to build.