Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

build cardano-sl accur error #4234

Open
liangjisheng opened this issue Sep 5, 2019 · 5 comments
Open

build cardano-sl accur error #4234

liangjisheng opened this issue Sep 5, 2019 · 5 comments

Comments

@liangjisheng
Copy link

liangjisheng commented Sep 5, 2019

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?

@astudnev
Copy link

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

@charry1729
Copy link

same issue ! can any one hellp !

@guribe94
Copy link

guribe94 commented Jan 30, 2020

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

@erikd
Copy link
Member

erikd commented Jan 30, 2020

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

@i3bitcoin
Copy link

i3bitcoin commented Feb 26, 2020

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

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

No branches or pull requests

6 participants