サポートするのは以下の2つのバージョンだけ
2016年3月時点
- OS X Yosemite (10.10)
- OS X El Capitan (10.11)
インストール方法
brew update
brew upgrade
brew tap ethereum/ethereum
brew install cpp-ethereum
brew linkapps cpp-ethereum
or
brew install cpp-ethereum --with-gui
libjson rpc cppでエラーが起きる場合
以下のようなエラーがでる
Scanning dependencies of target admin_utils.jsonstub
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f webthree/libweb3jsonrpc/CMakeFiles/admin_utils.jsonstub.dir/build.make webthree/libweb3jsonrpc/CMakeFiles/admin_utils.jsonstub.dir/build
cd /tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree/libweb3jsonrpc && /usr/local/Cellar/cmake/3.4.1/bin/cmake -DETH_SPEC_PATH="/tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree/libweb3jsonrpc/admin_utils.json" -DETH_SOURCE_DIR="/tmp/cpp-ethereum20160115-28848-1m6m0oa" -DETH_CMAKE_DIR="/tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree-helpers/cmake" -DETH_CLIENT_DIR="/tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree/libweb3jsonrpc" -DETH_CLIENT_NAME=AdminUtilsClient -DETH_CLIENT_FILENAME=AdminUtilsClient -DETH_SERVER_DIR="/tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree/libweb3jsonrpc" -DETH_SERVER_NAME=dev::rpc::AdminUtilsFace -DETH_SERVER_FILENAME=AdminUtilsFace -DETH_JSON_RPC_STUB="/usr/local/bin/jsonrpcstub" -P /tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree-helpers/cmake/scripts/jsonrpcstub.cmake
CMake Error at /tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree-helpers/cmake/scripts/jsonrpcstub.cmake:56 (file):
file failed to open for reading (No such file or directory):
/tmp/cpp-ethereum20160115-28848-1m6m0oa/webthree/libweb3jsonrpc/AdminUtilsFace.h.tmp
make[2]: *** [admin_utils.jsonstub] Error 1
make[1]: *** [webthree/libweb3jsonrpc/CMakeFiles/admin_utils.jsonstub.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
以下をやる
brew uninstall libjson-rpc-cpp
brew install --build-from-source libjson-rpc-cpp
ref. libjson rpc cpp OS X workaround · ethereum/webthree-umbrella Wiki
どうしてもダメな場合、バイナリからのインストールを検討する
Ref
OS X Homebrew packages — Ethereum Homestead 0.1 documentation