I have this version of ubuntu:
NAME=“Ubuntu”
VERSION=“18.10 (Cosmic Cuttlefish)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 18.10”
VERSION_ID=“18.10”
I would like to install Algorand’s go sdk and following the documentation:
Linux / OSX
We currently strive to support Debian based distributions with Ubuntu 18.04 being our official release target. Our core engineering team uses Linux and OSX, so both environments are well supported for development.
Initial environment setup:
mkdir -p ${GOPATH}/src/github.com/algorand
cd ${GOPATH}/src/github.com/algorand
git clone https://github.com/algorand/go-algorand
cd go-algorand
sh ./scripts/configure_dev.sh
At this point you are ready to build go-algorand. We use make
and have a number of targets to automate common tasks.
build
make install
When I try to install with the make install command, following the instructions in the documentation, these errors appear.
#### ERROR
./scripts/compute_build_commit.sh: riga 4: cd: /home/adam/go/src/github.com/algorand/go-algorand: File o directory non esistente
./scripts/compute_branch_deadlock_default.sh: riga 4: cd: /home/adam/go/src/github.com/algorand/go-algorand: File o directory non esistente
./scripts/compute_branch_channel.sh: riga 4: cd: /home/adam/go/src/github.com/algorand/go-algorand: File o directory non esistente
/bin/sh: 1: cd: can't cd to /home/adam/go/src/github.com/algorand/go-algorand
/bin/sh: 1: cd: can't cd to /home/adam/go/src/github.com/algorand/go-algorand
/bin/sh: 1: cd: can't cd to /home/adam/go/src/github.com/algorand/go-algorand/test/e2e-go
find: ‘/home/adam/go/src/github.com/algorand/go-algorand/daemon/algod/api/server/common’: File o directory non esistente
find: ‘/home/adam/go/src/github.com/algorand/go-algorand/daemon/algod/api/server/v1’: File o directory non esistente
find: ‘/home/adam/go/src/github.com/algorand/go-algorand/daemon/kmd/api/’: File o directory non esistente
find: ‘/home/adam/go/src/github.com/algorand/go-algorand/daemon/kmd/api/’: File o directory non esistente
cd /home/adam/go/src/github.com/algorand/go-algorand/crypto/libsodium-fork && \
./autogen.sh && \
./configure --disable-shared --prefix="/home/adam/go/src/github.com/algorand/go-algorand/crypto/" && \
make && \
make install
/bin/sh: 1: cd: can't cd to /home/adam/go/src/github.com/algorand/go-algorand/crypto/libsodium-fork
make: *** [Makefile:81: /home/adam/go/src/github.com/algorand/go-algorand/crypto/lib/libsodium.a] Error 2
(but the files exist!)
Can someone help me?