首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >cpp-ethereum构建错误

cpp-ethereum构建错误
EN

Ethereum用户
提问于 2016-10-20 11:40:06
回答 1查看 367关注 0票数 3

我在Linux (centOS)中从git中克隆出cpp-Linux,如发展cmake误差中所建议的那样

代码语言:javascript
复制
git clone https://github.com/ethereum/cpp-ethereum 

cd cpp-ethereum

git checkout -b develop

git submodule update --init --recursive

mkdir -p build
cd build
cmake .. 

当我运行cmake命令时

代码语言:javascript
复制
    -- The C compiler identification is GNU 4.8.5
    -- The CXX compiler identification is GNU 4.8.5
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    CMake Error at /usr/local/share/cmake-3.0/Modules/ExternalProject.cmake:1402 (message):

  URL_HASH is set to

    SHA256=087640ebcf7fbcfe8e2717a0b9528fff89c52fcf69fa2a18cc2b538008098f97;DOWNLOAD_NO_PROGRESS;True

  but must be ALGO=value where ALGO is

    MD5|SHA1|SHA224|SHA256|SHA384|SHA512

  and value is a hex string.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.0/Modules/ExternalProject.cmake:1846 (_ep_add_download_command)
  cmake/jsoncpp.cmake:3 (ExternalProject_Add)
  CMakeLists.txt:45 (include)


-- Configuring incomplete, errors occurred!
See also "/home/user/cpp-ethereum/build/CMakeFiles/CMakeOutput.log".

如何解决这个问题?甚至日志文件也没有关于错误的适当细节。

EN

回答 1

Ethereum用户

发布于 2016-10-21 01:56:26

看起来构建过程在提交中被破坏了。他们很可能很快就会修好,但现在你可以

代码语言:javascript
复制
cd cpp-ethereum
git checkout 5669c209f4f8dbb7dc3f744e8e2a9c92f1104ca3

然后继续进行构建过程的其余部分。

您还可以打开一个问题这里,以引起开发人员的注意。请包括详细的规格为您的机器(操作系统版本,任何错误日志等)。

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

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

复制
相关文章

相似问题

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