the run:
nix-build -A cardano-sl-static --cores 0 --max-jobs 2 --no-build-output --out-link master
johnny@pesos-linux:~/cardano-sl$ ls master/bin
cardano-node-simple
Everything checks out good up to here.
What is next?
I assumed I needed to run the assertiontest but get the following error when I launch tmux:
-bash: shopt: progcomp: invalid shell option name
complete: command not found
complete: command not found
complete: command not found
and it keeps repeating “complete: command not found” from here on out.
Did I miss something?
Please advise…
I also assumed I would be able to launch “cardano-node” from command line but that fails as well.
johnny@pesos-linux:~/cardano-sl$ cardano-node
cardano-node: command not found
It could be an issue of stack path --local-install-root. This CLI is involved in binary lookup, if you run some shell script from cardano-sl/scripts/launch directory.
So in my case stack path --local-install-root shows cardano-sl/.stack-work/install/x86_64-linux/lts-9.1/8.0.2 but binary installation is in ``cardano-sl/.stack-work/install/x86_64-linux-nix/lts-9.1/8.0.2`.
That seems to be the reason for “command not found” error.
I didn’t run the demos for a while but I handn’t have any issue at the end of last year;-)
I’ll try to clean up my stuff, rebuild cardano-sl projects and report the result soon.
Next step to actually run, should be this (and ensure you run this from inside the Cardano SL directory!):
To build a script that will contain everything needed to connect to mainnet:
$ nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet
then “./connect-to-mainnet” and you should be running.