Hi, I'm using the guide at
https://github.com/ethereum/homebrew-ethereum to install ethereum. I've updated xCode, brew doctor is showing no warnings and I have followed all the troubleshooting on the aforementioned page, yet I'm still encoutering problems with homebrew.
When I run brew install --build-from-source
==> Installing ethereum from ethereum/homebrew-ethereum
==> Cloning
https://github.com/ethereum/cpp-ethereum.gitUpdating /Library/Caches/Homebrew/ethereum--git
==> Checking out branch master
==> Patching
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/ethereum/0.7.14-49-5 -DCMAKE_BUILD_TYPE=None -DCMAKE
==> make
cd /tmp/ethereum-Bn8xur/libsolidity && /usr/local/Cellar/cmake/3.1.0/bin/cmake -E cmake_link_script CMakeFiles/solidity.dir/link.txt --verbose=1
/usr/bin/clang++ -std=c++11 -Wall -Wno-unknown-pragmas -Wextra -DSHAREDLIB -fPIC -DSTATICLIB -O3 -DNDEBUG -DETH_RELEASE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libsolidity.dylib -install_name /tmp/ethereum-Bn8xur/libsolidity/libsolidity.dylib CMakeFiles/solidity.dir/AST.cpp.o CMakeFiles/solidity.dir/ASTPrinter.cpp.o CMakeFiles/solidity.dir/CallGraph.cpp.o CMakeFiles/solidity.dir/Compiler.cpp.o CMakeFiles/solidity.dir/CompilerContext.cpp.o CMakeFiles/solidity.dir/CompilerStack.cpp.o CMakeFiles/solidity.dir/CompilerUtils.cpp.o CMakeFiles/solidity.dir/DeclarationContainer.cpp.o CMakeFiles/solidity.dir/ExpressionCompiler.cpp.o CMakeFiles/solidity.dir/GlobalContext.cpp.o CMakeFiles/solidity.dir/InterfaceHandler.cpp.o CMakeFiles/solidity.dir/NameAndTypeResolver.cpp.o CMakeFiles/solidity.dir/Parser.cpp.o CMakeFiles/solidity.dir/Scanner.cpp.o CMakeFiles/solidity.dir/SourceReferenceFormatter.cpp.o CMakeFiles/solidity.dir/Token.cpp.o CMakeFiles/solidity.dir/Types.cpp.o -L/usr/local/lib /usr/local/lib/libjsoncpp.dylib ../libevmcore/libevmcore.dylib ../libdevcore/libdevcore.dylib /usr/local/lib/libboost_thread-mt.a /usr/local/lib/libboost_date_time-mt.a /usr/local/lib/libboost_system-mt.a /usr/local/lib/libboost_chrono-mt.a -Wl,-rpath,/usr/local/lib
/usr/local/Cellar/cmake/3.1.0/bin/cmake -E cmake_progress_report /tmp/ethereum-Bn8xur/CMakeFiles 70 71 72 73 74 75 76 77 78
[ 41%] Built target solidity
make: *** [all] Error 2
I'm not really sure what else to post, but if there's any information that would help let me know. Willing to tip a little in BTC if your post leads to a solution.
Thanks!
Comments
What you can do is to try to install the develop branch, with the --successful flag to ensure that you'll be getting a version that actually builds:
brew reinstall ethereum --devel --successful
==> Installing ethereum
==> Cloning https://github.com/ethereum/cpp-ethereum.git
Updating /Library/Caches/Homebrew/ethereum--git
fatal: reference is not a tree: 29143159b69540d5e934aee9037617317e949670
Error: Failed to download resource "ethereum"
Failure while executing: git checkout -q -f 29143159b69540d5e934aee9037617317e949670 --
See, my comment: https://github.com/ethereum/cpp-ethereum/issues/698#issuecomment-69774576
All new builds fail (up until where I tried it). Could be fixed (even successful builds somehow failed).
I reverted to an older branch instead, and managed to compile it and get it working properly.