cardano-sl icon indicating copy to clipboard operation
cardano-sl copied to clipboard

build cardano-sl accur error

Open liangjisheng opened this issue 6 years ago • 5 comments

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?

liangjisheng avatar Sep 05 '19 08:09 liangjisheng

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

astudnev avatar Sep 23 '19 14:09 astudnev

same issue ! can any one hellp !

charry1729 avatar Dec 04 '19 07:12 charry1729

Same issue on Ubuntu 18.04 when trying to build using stack only. stack.yaml does seem to exist in my top level dir

guribe94 avatar Jan 30 '20 00:01 guribe94

Nowhere near enough information here. What git tag/branch/hash are you on? What command are you running?

erikd avatar Jan 30 '20 11:01 erikd

@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/

i3bitcoin avatar Feb 26 '20 08:02 i3bitcoin