deep-foundation / deep-chain

Your 🔵 Superintelligence
https://cyb.ai
Other
8 stars 3 forks source link

Error during installation and build of make #5

Open TimaxLacs opened 7 months ago

TimaxLacs commented 7 months ago

Current Behavior

fatal: No names found, cannot describe anything.
go: finding github.com/tendermint/tendermint v0.34.19
--> Ensure dependencies have not been modified
all modules verified
go mod tidy -compat=1.17
flag provided but not defined: -compat
usage: go mod tidy [-v]
Run 'go help mod tidy' for details.
make: *** [Makefile:117: go.sum] Error 2

Expected Behavior

ment]: # (Describe what you expected to happen.)

Reproduction

Launched the VPS server. Options: 1)Ubuntu-20.04-amd64 2)KVM SSD Start (1 CPU/768 MB RAM/7 GB SSD)

Then I downloaded the following dependencies:

sudo apt-get -y install --no-install-recommends\
     make gcc g++ \
     curl\
     gnupg\
     git\
     software-properties-common\

Cloned and entered the deep-chain repository:

git clone https://github.com/deep-foundation/deep-chain

cd deep-chain

Next I used the command:

make install

the same error occurs when:

make build CUDA_ENABLED=false

Log

Additional Information

Konard commented 7 months ago

This also may help:

On my server, I was not able to download go from the original source.

wget https://fossies.org/linux/misc/go1.21.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz

And to install dependencies, I had to use china proxy:

GOPROXY=https://goproxy.cn make install
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc

Source https://gist.github.com/suenot/46ae31f7a1fec70182241ae25420285a|

@TimaxLacs did you found a solution to the issue?