Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to CABAL BUILD ALL on WSL #1181

Open
draius opened this issue Dec 24, 2023 · 5 comments
Open

Unable to CABAL BUILD ALL on WSL #1181

draius opened this issue Dec 24, 2023 · 5 comments

Comments

@draius
Copy link

draius commented Dec 24, 2023

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.

@rdlrt
Copy link
Collaborator

rdlrt commented Dec 24, 2023

The documentation is not updated for 8.7.x

@draius
Copy link
Author

draius commented Dec 24, 2023

The documentation is not updated for 8.7.x

Gotcha thanks for the reply - I only tried following the direct steps from the documentation from what I am aware of.

How can I go about changing it to use version 8.0.0?

@rdlrt
Copy link
Collaborator

rdlrt commented Dec 24, 2023

The node release prior to 8.7.x is 8.1.2, for which you can use git checkout 8.1.2.

@draius
Copy link
Author

draius commented Dec 24, 2023

git checkout 8.1.2

Worked like a charm, thanks!
How can we get this updates in the official documentation?

@rdlrt
Copy link
Collaborator

rdlrt commented Dec 25, 2023

this updates in the official documentation?

IMO - we're a bit in ambiguous period where IO have 8.7.[2-3] as ready for mainnet, while some believe it's not ready for mainnet. But the way ahead would be adding 8.7.x compilation updates to dev portal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants