我在Linux (centOS)中从git中克隆出cpp-Linux,如发展cmake误差中所建议的那样
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命令时
-- 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".如何解决这个问题?甚至日志文件也没有关于错误的适当细节。
https://ethereum.stackexchange.com/questions/9454
复制相似问题