Open liangjisheng opened 5 years ago
The same issue,
/cardano-sl-3.0.3$ nix-build -A cardano-sl-node-static --out-link master error: attribute 'cardano-sl-node-static' in selection path 'cardano-sl-node-static' not found
nix-build -A cardano-sl-node --out-link master error: attribute 'cardano-sl-node' in selection path 'cardano-sl-node' not found
same issue ! can any one hellp !
Same issue on Ubuntu 18.04 when trying to build using stack only. stack.yaml does seem to exist in my top level dir
Nowhere near enough information here. What git tag/branch/hash are you on? What command are you running?
@guribe94 @charry1729
Try building with stack 1.9.3.
Remove stack if you already installed it
Removing ~/.stack and /usr/local/bin/stack should be sufficient. You may want to delete .stack-work folders in any Haskell projects that you have built.
sudo apt-get update sudo apt-get install libssl-dev liblzma-dev libtinfo-dev libsystemd-dev librocksdb-dev
wget -O stack.sh https://get.haskellstack.org/ nano stack.sh
Replace STACK_VERSION="2.1.3" to STACK_VERSION="1.9.3" and then install stack
./stack.sh
git clone https://github.com/input-output-hk/cardano-sl.git cd cardano-sl git checkout 3.2.0 ./scripts/build/cardano-sl.sh node
cardano-node will be installed to ./.stack-work/install/x86_64-linux/lts-12.26/8.4.4/bin/
when i nix-build -A cardano-node --out-link master error: attribute 'cardano-node' in selection path 'cardano-node' not found how i resolve this error?