Hi all,
I’m trying to build a Cardano node on my Linux machine using the instructions in the following guides:
- Installing cardano-node and cardano-cli from source | Cardano Developer Portal
- Compiling Cardano Node - CoinCashew
I’m using the command cabal build cardano-node cardano-cli
, but I’m getting the following error message:
Warning: Requested index-state 2022-10-25T20:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2022-10-25T17:33:07Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-api-1.35.4 (user goal)
[__1] next goal: cardano-crypto-class (dependency of cardano-api)
[__1] rejecting: cardano-crypto-class-2.0.0.1 (constraint from project config
/home/cardano1234/git/cardano-node/cabal.project requires ==2.0.0.0.1)
[__1] trying: cardano-crypto-class-2.0.0.0.1
[__2] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config
package libsecp256k1-any, not found in the pkg-config database)
[__2] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only
be changed explicitly)
[__2] fail (backjumping, conflict set: cardano-crypto-class,
cardano-crypto-class:secp256k1-support)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, cardano-crypto-class,
cardano-crypto-class:secp256k1-support
Despite this warning, the node is not being built.
Has anyone encountered this issue before and found a solution?
I’ve probably forget something, but as a beginner can’t figure out what
Thanks in advance, Bert