developer-portal icon indicating copy to clipboard operation
developer-portal copied to clipboard

Unable to CABAL BUILD ALL on WSL

Open draius opened this issue 6 months ago • 5 comments

Trying to install and build cardano-node + cli using the steps shared in the docs here

System: Windows 10 (WSL)

root@PC:~/cardano-src/cardano-node# cabal build all Resolving dependencies... cabal: Could not resolve dependencies: [__0] next goal: cardano-node (user goal) [__0] rejecting: cardano-node-8.7.3 (constraint from user target requires ==8.7.2) [__0] trying: cardano-node-8.7.2 [__1] trying: ouroboros-consensus-0.14.0.0 (dependency of cardano-node) [__2] trying: cardano-ledger-binary-1.2.1.0 (dependency of ouroboros-consensus) [__3] trying: vector-0.13.1.0 (dependency of ouroboros-consensus) [__4] next goal: cardano-crypto-class (dependency of cardano-node) [__4] rejecting: cardano-crypto-class-2.1.4.0 (conflict: pkg-config package libblst-any, not found in the pkg-config database) [__4] rejecting: cardano-crypto-class-2.1.3.0 (conflict: vector==0.13.1.0, cardano-crypto-class => vector<0.13) [__4] skipping: cardano-crypto-class-2.1.2.0, cardano-crypto-class-2.1.1.0, cardano-crypto-class-2.1.0.2, cardano-crypto-class-2.1.0.1, cardano-crypto-class-2.1.0.0 (has the same characteristics that caused the previous version to fail: excludes 'vector' version 0.13.1.0) [__4] rejecting: cardano-crypto-class-2.0.0.1 (conflict: cardano-ledger-binary => cardano-crypto-class>=2.1) [__4] skipping: cardano-crypto-class-2.0.0.0.1, cardano-crypto-class-2.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=2.1' from 'cardano-ledger-binary') [__4] fail (backjumping, conflict set: cardano-crypto-class, cardano-ledger-binary, cardano-node, vector) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: cardano-node, ouroboros-consensus, vector, cardano-crypto-class, cardano-ledger-binary Try running with --minimize-conflict-set to improve the error message.

draius avatar Dec 24 '23 06:12 draius