首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在自制软件中安装cpp- Error时出错

在自制软件中安装cpp- Error时出错
EN

Ethereum用户
提问于 2016-05-30 01:02:48
回答 1查看 424关注 0票数 0

我得到了这个错误时,试图安装cpp在自制。不知道到哪里去begin...please帮助!

代码语言:javascript
复制
/Users/Macbook/projects/ethereum
==> brew install cpp-ethereum
==> Installing cpp-ethereum from ethereum/ethereum
==> Cloning https://github.com/ethereum/webthree-umbrella.git
Updating /Library/Caches/Homebrew/cpp-ethereum--git
==> Checking out branch develop
Synchronizing submodule url for 'evmjit'
Synchronizing submodule url for 'deps'
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/cpp-ethereum/1.2.5 -DCMAKE_BU
==> make
Last 15 lines from /Users/Macbook/Library/Logs/Homebrew/cpp-ethereum/02.make:
cd /tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/evmjit/libevmjit && /usr/local/Library/ENV/4.3/clang++   -DETH_EVMJIT -DETH_FATDB -DETH_FRONTIER -DETH_TRUE -DSHAREDLIB -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Devmjit_EXPORTS -I/tmp/cpp-ethereum-20160529-9027-27dkja/libethereum -I/tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/include -I/tmp/cpp-ethereum-20160529-9027-27dkja -I/tmp/cpp-ethereum-20160529-9027-27dkja/include -I/tmp/cpp-ethereum-20160529-9027-27dkja/gen -I/usr/local/include -I/tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/gen -I/tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/evmjit/include -I/usr/local/opt/llvm37/lib/llvm-3.7/include -I/tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/evmjit/libevmjit/gen  -std=c++11 -Wall -Wextra -Wconversion -Wno-sign-conversion -Wno-unknown-pragmas -std=c++11 -fpermissive -fno-rtti -fvisibility=hidden -O3 -DNDEBUG -DETH_RELEASE -fPIC   -Wall -Wextra -Werror -Wno-unknown-pragmas -fPIC -fstack-protector-strong -fstack-protector -Wno-unused-function -Wno-dangling-else -o CMakeFiles/evmjit.dir/Cache.cpp.o -c /tmp/cpp-ethereum-20160529-9027-27dkja/libethereum/evmjit/libevmjit/Cache.cpp
clang: : : : erroerrorerror: error: : error: ununknown argument: '-fstack-protector-strong': known argument: '-fstack-protector-strong'
unknown unknown argument: '-fstack-protector-strong'
: unknown argument: '-fstack-protector-strong'
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/BasicBlock.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/Cache.cpp.o] Error 1
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/Array.cpp.o] Error 1
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/JIT-c.cpp.o] Error 1
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/Arith256.cpp.o] Error 1
make[2]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/JIT.cpp.o] Error 1
make[1]: *** [libethereum/evmjit/libevmjit/CMakeFiles/evmjit.dir/all] Error 2
[  2%] Built target ethereum_BuildInfo.h
[  2%] Built target cpp-ethereum_BuildInfo.h
make: *** [all] Error 2
EN

回答 1

Ethereum用户

发布于 2016-05-31 06:43:14

请确保:

  • brew更新
  • brew升级

比其他任何事都重要。你应该买些预制瓶。事实上,它是从源头建立的,这意味着在你开始之前,事情就有问题了。

只支持OS X Yosemite和OS X El Capitan?也许你有更老的版本?也许你还没有安装最新的xcode?

导游在这里:

  • http://www.ethdocs.org/en/latest/ethereum-clients/cpp-ethereum/building-from-source/osx.html
  • http://www.ethdocs.org/en/latest/ethereum-clients/cpp-ethereum/installing-binaries/osx-homebrew.html

仍然有问题,到https://gitter.im/ethereum/cpp-ethereum来,我们会帮你的。

票数 1
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/4426

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档