Mac EOS 采坑记录

eos版本 dawn v4.0.0
Mac OS 版本 10.13.4

错误信息:
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names: LLVMConfig.cmake
llvm-config.cmake Addthe installation prefix of "LLVM" to CMAKE_PREFIX_PATH or
set "LLVM_DIR" to a directory containing one of the above files. If "LLVM"
providesa separate development package or SDK, be sure it has been installed.
解决办法:
命令行下运行:brew install llvm@4 环境变量:export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1
/lib/cmake
错误信息:
CMake Error at /usr/local/Cellar/cmake/3.11.1
/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Failed
to find Gettext libintl (missing: Intl_INCLUDE_DIR) Call Stack (most recent call
first): /usr/local/Cellar/cmake/3.11.1
/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378
(_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.11.1
/share/cmake/Modules/FindIntl.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
programs/cleos/CMakeLists.txt:29 (find_package)
解决办法:
注意关键词:missing: Intl_INCLUDE_DIR ERROR: Failed to find Gettext libintl
(missing: Intl_INCLUDE_DIR) 需要执行以下命令 brew unlink gettext && brew link --force
gettext 参考链接https://github.com/EOSIO/eos/issues/2028?ref=tokendaily 作者:区块链生存指南
链接:https://www.jianshu.com/p/ba10a35bd26c 來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
飞起来了


运行命令./nodeos -e -p eosio –plugin eosio::wallet_api_plugin –plugin
eosio::chain_api_plugin –plugin eosio::history_api_plugin
出错信息如下:
2478232ms thread-0 main.cpp:101 main ] /Users
/devin/git/eos/libraries/chainbase/src/chainbase.cpp(106): Throw in function
chainbase::database::database(const bfs::path &, chainbase::database::open_flags
, uint64_t)Dynamic exception type: boost::exception_detail::clone_impl<boost:
:exception_detail::error_info_injector<std::runtime_error> > std::exception:
:what: database dirty flag set (likely due to unclean shutdown) replay or
resync required
解决办法:
./nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio
::chain_api_plugin --plugin eosio::history_api_plugin 命令行后面加 --resync-blockchain

友情链接
KaDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:[email protected]
QQ群:637538335
关注微信