Setting up your Ethereum Eth Development Environment on a Mac OS X
Firstly, to install Ethereum Eth download the latest stable binary of cpp-ethereum, and install on your chosen operating system.
I’m running on Mac so I’ll install via Homebrew
brew update brew upgrade brew tap ethereum/ethereum brew install cpp-ethereum
In the installation of cpp-ethereum, I ran into a compilation error
Built target llvm
make: *** Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
http://github.com/ethereum/homebrew-ethereum/issues
These open issues may also help:
Error during install of cpp-ethereum ( Built target llvm make: *** Error 2) http://github.com/ethereum/homebrew-ethereum/issues/116
In order to get cpp-ethereum to run correctly on my Mac, I had to build from the head. The last line of the install snags the latest branch of cpp-ethereum
brew update
brew upgrade
brew tap ethereum/ethereum
brew reinstall llvm
At this point, close the terminal, and relaunch it.
brew install leveldb libmicrohttpd cryptopp
brew install cpp-ethereum --devel --successful --verbose
Now I’m able to launch with
eth -j --rpccorsdomain '*'
In some of our other tutorials, you will learn how to run eth with rpc and ipc. You’ll also learn how to create a custom Genesis Block to enable you to mine for ether quickly on your own testnet.
Joel Garcia has been building AllCode since 2015. He’s an innovative, hands-on executive with a proven record of designing, developing, and operating Software-as-a-Service (SaaS), mobile, and desktop solutions. Joel has expertise in HealthTech, VoIP, and cloud-based solutions. Joel has experience scaling multiple start-ups for successful exits to IMS Health and Golden Gate Capital, as well as working at mature, industry-leading software companies. He’s held executive engineering positions in San Francisco at TidalWave, LittleCast, Self Health Network, LiveVox acquired by Golden Gate Capital, and Med-Vantage acquired by IMS Health.