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

Compilation error in 3.0.2 #2414

Open
nuliknol opened this issue Jun 19, 2024 · 2 comments
Open

Compilation error in 3.0.2 #2414

nuliknol opened this issue Jun 19, 2024 · 2 comments

Comments

@nuliknol
Copy link

Compilation process fails when golang 1.20 is used, add golang version checking into make script to check that golang version is 1.21 or higher.

nitro-compile-error

@zhangxf55
Copy link

When I uninstall go 1.20 and reinstall go 1.21 like this:

cd ~ && wget https://go.dev/dl/go1.21.11.linux-amd64.tar.gz && \
tar -zxvf go1.21.11.linux-amd64.tar.gz && \
mv ~/go /usr/local/ && \
echo "export GOPATH=\$HOME/go" >> ~/.profile && \
echo "export PATH=\$PATH:/usr/local/go/bin:\$GOPATH/bin" >> ~/.profile && \
source ~/.profile && \
rm -rf go1.21.11.linux-amd64.tar.gz

This problem is solved.

@nuliknol
Copy link
Author

@zhangxf55 yeah, there is no problem, I am just notifying the team that the make script needs improvement

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

No branches or pull requests

2 participants