我试图安装cardano-node
通过我的MacOS此文章。
后cabal build all
命令我:
➜ cardano-node git:(4c5944295) cabal build all
Warning: Requested index-state 2021-04-30T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-04-29T23:07:55Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-crypto-class
这是重要的部分:
conflict: pkg-config package libsodium-any, not found in the pkg-config database
您需要安装libsodium
.
我认为该cabal configure --with-compiler=ghc-8.10.4
步骤应该因相同的错误而失败。也许你错过了:https : //developers.cardano.org/docs/get-started/installing-cardano-node/#configuring-the-build-options。也许您还需要重试“下载和编译”步骤:https : //developers.cardano.org/docs/get-started/installing-cardano-node/#downloading--compiling。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句