Tutorial - How to build Steem on OS X
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:
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.