Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation and build of make #5

Open
TimaxLacs opened this issue Feb 11, 2024 · 1 comment
Open

Error during installation and build of make #5

TimaxLacs opened this issue Feb 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TimaxLacs
Copy link

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

[comcomment: # (Describe what you expected to happen.)
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
Copy link
Member

Konard commented Feb 13, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants