So I am really confused on how to run a stake pool. The documentation just is not making sense to me.
I am following instructions to compile cardano-node from source using both nix and cabal (Why two different ways to build?). More specifically I am following, step by step:
The first method (cabal) fails with:
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: cardano-api (user goal)
[__2] rejecting: cardano-api-1.27.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, cardano-api => base>=4.14 && <4.15)
[__2] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals Iāve had most trouble fulfilling: base, Win32-network, cardano-api
When building with nix process ends normally, but I donāt understand whan coomes out of it. I expect to find executables like cardano-cli but the only thing I see is a sybolic link called āmainnet-node-localā. The tutorial explicitly says to call ./mainnet-node-local but of course that makes no sense, mainnet-node-local is a folder that contains bin/cardano-node-mainnet. Is this the same as cardano-cli?
I am sorry if these are basic questions, but I am extremely frustrated. Why are the commands in the documentation not working? What exactly am I expecting as output, one executable, 2 3?
I am trying to install on ubuntu 20.04, 16GB Ram, 8 cpuās, all dependencies installed as per documentation.
Hi Alex, I was checking your gists earlier. To be honest, all of this is coming like a steamroller. I might be biting too much of a bullet here.
Even though I am a new to crypto, I consider myself quite knowledgeable in *nix stuff.
I am trying to approach this step by step and naturally my first thought was: āLetās build this thing firstā. Boy oh boy was I wrong. Iāll go through your topic, thanks for the help.
Quick question, I have enables ssh login only via public key authentication. This has the effect that the 2fa authentication step is skipped. Is this expected or did I configure something wrongly?
Warning: Requested index-state 2021-03-15T00:00:00Z is newer than
āhackage.haskell.orgā! Falling back to older state (2021-03-14T23:47:09Z).
Resolving dependenciesā¦
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: cardano-api (user goal)
[__2] rejecting: cardano-api-1.27.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, cardano-api => base>=4.14 && <4.15)
[__2] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals Iāve had most trouble fulfilling: base, Win32-network, cardano-api
Yeah, I was using a newer version and switched to 8.6.5 but I am still getting complains about ābase, Win32-network, cardano-apiā 7 straight hours trying to make it work at no avail
Yeah, precompiled seems to be my only option. Canāt shake the feeling of defeat though. Weird that itās so hard to simply build a program from source.
Thousands have built it, itās not so hard - but youād want to ensure ghc --version says (8.10.2 - 8.10.4) and cabal --version is 3.4.0, and youāre on latest node release tag
Support for 8.6.5 is completely dropped as of 1.27
Thousands have built it, itās not so hard - but youād want to ensure ghc --version says (8.10.2 - 8.10.4) and cabal --version is 3.4.0, and youāre on latest node release tag
Thatās what is frustrating me the most, I know it shouldnāt be that complicated.
Really confused about dependencies, tried and failed with ghc-10.2 and got the aforementioned errors. In the forum I saw using 8.6.5 should do the trick, but it didnāt.
I am just really confused because I have been following the documentation step by step.
You need to be precise, the session that youāre running in should list accurate ghc as well as cabal version at command line (to avoid any errors like multiple versions being available, and one in your sessionās $PATH being incorrect) as per my previous message, and then run the buuld commands from the same session
Itās a bit different though
Guild LiveView version checkā¦
Failed to query protocol-parameters from node, not yet fully started?
ERROR: CNTools failed to load common env file
Please verify set values in āUser Variablesā section in env file or log an issue on GitHub
Doing some reading to see how to solve it.
sudo systemctl status cnode, shows the node is running at high CPU load
Having just started node, you might want to wait for the node to sync through to shelley fork (on mainnet thatās epoch 208) , as until then some of the CLI queries will not resolve - also, it wouldnāt create the socket file for communication right after launching the node
PS: Since youāre using CNTools, as documented on guild doco home page, it is strongly recommended that youād go through the setup on testnet first.
Thanks for the replies, I am still quite overwhelmed by all the resources. For example I havenāt found exactly the differences between testnet and mainnet, excluding the obvious fact that one is for testing.