brew install cpp-ethereum CMake错误

时间:2018-07-18 06:33:41

标签: cmake ethereum

我正在尝试在Mac OS X 10.13.5上手动构建我的以太坊客户端(使用brew给我一个类似的错误)。我遵循以下简单说明:

git clone https://github.com/ethereum/cpp-ethereum.git
cd cpp-ethereum
mkdir -p build
cd build
cmake ..

它给我一个错误,并且构建失败:

CMake Error at CMakeLists.txt:7 (include):
  include could not find load file:

    evmc/cmake/cable/bootstrap.cmake


CMake Error at CMakeLists.txt:8 (include):
  include could not find load file:

    CableBuildInfo


CMake Error at CMakeLists.txt:9 (include):
  include could not find load file:

    CableBuildType


CMake Error at CMakeLists.txt:10 (include):
  include could not find load file:

    CableToolchains


CMake Error at CMakeLists.txt:19 (cable_configure_toolchain):
  Unknown CMake command "cable_configure_toolchain".


-- Configuring incomplete, errors occurred!

我知道CMake用于管理构建过程,但是我不知道是什么导致了问题。导致我的构建失败的CMakeList是什么?如何解决这些问题?

2 个答案:

答案 0 :(得分:1)

在克隆的文件夹中运行

scala> val citi = spark.read.textFile("CitiGroup2006")
org.apache.spark.sql.AnalysisException: Path does not exist: hdfs://ip-10-99-99-99.ec2.internal:8020/user/hadoop/CitiGroup2006;

答案 1 :(得分:0)

我想你可以尝试

git clone --recursive https://github.com/ethereum/cpp-ethereum.git

我从aleth github项目中阅读了它。