a

Setting up your Ethereum Eth Environment on a Mac OS X

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, […]

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.

Related Articles

3 Ways Gen AI and AWS can Enhance Your Business

3 Ways Gen AI and AWS can Enhance Your Business

Amazon is on the cutting edge of new technologies. They have been increasingly experimenting with AI and learning algorithms, culminating in their most recent breakthroughs in Generative AI. Developers and technology enthusiasts have access to their innovations through the tools available on AWS.

Business Owner’s Guide to DevOps Essentials

Business Owner’s Guide to DevOps Essentials

As a business owner, it’s essential to maximize workplace efficiency. DevOps is a methodology that unites various departments to achieve business goals swiftly. Maintaining a DevOps loop is essential for the health and upkeep of deployed applications.