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

Failed install go1.22 #464

Open
winey-dev opened this issue Feb 22, 2024 · 2 comments
Open

Failed install go1.22 #464

winey-dev opened this issue Feb 22, 2024 · 2 comments

Comments

@winey-dev
Copy link

i want install go 1.22 but this run command

➜  ~ gvm install go1.4 -B
➜  ~ gvm use go1.4
➜  ~ export GOROOT_BOOTSTRAP=$GOROOT
➜  ~ gvm install go1.17.13
➜  ~ gvm use go1.17.13
➜  ~ export GOROOT_BOOTSTRAP=$GOROOT
➜  ~ gvm install go1.22
Installing go1.22.0...
 * Compiling...
ERROR: Failed to compile. Check the logs at /home/smlee/.gvm/logs/go-go1.22.0-compile.log
ERROR: Failed to use installed version

i try this step

  1. remove logs file
➜  ~ rm rm .gvm/logs/go-go1.22*
➜  ~ gvm list 
gvm gos (installed)

=> go1.17.13
   go1.4
  1. re-install command run
➜  ~ gvm install go1.22     
Installing go1.22.0 as go1.22...
 * Compiling...
ERROR: Failed to compile. Check the logs at /home/smlee/.gvm/logs/go-go1.22-compile.log
ERROR: Failed to use installed version
  • gvm version
➜  ~ gvm version
Go Version Manager v1.0.22 installed at /home/smlee/.gvm
  • OS Version
➜  ~ cat /etc/*release
Oracle Linux Server release 8.9
@echilacos
Copy link

gvm install go1.20
gvm use go1.20
gvm install go1.22

Maybe this will help.

@LemonAniLabs
Copy link

LemonAniLabs commented Mar 6, 2024

gvm install go1.20
gvm use go1.20
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.22

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

3 participants