cabal - 失败(回跳,冲突集:cardano-crypto-class)
问题描述
我正在尝试通过本文安装到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 。
推荐阅读
- c# - 是否可以创建 Graphql Generic Type
- javascript - 悬停时相互切换的元素
- neural-network - 卷积神经网络中的参数计算数量
- django-models - Django 无法在表单类中设置小部件
- c# - xml 填充组合框并过滤结果
- rest - 使用 https ssl 调用 rest API 时找不到 404
- bash - 管道将命令作为输入发送到另一个程序 - 电报
- angularjs - 我可以在 Angular 中推送然后显示数组中的数据吗
- ios - UIStackView 隐藏/取消隐藏排列的子视图问题
- android - Android NestedScrollView 滚动到错误的位置