Failed install go1.22
winey-dev opened this issue · 2 comments
winey-dev commented
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
- remove logs file
➜ ~ rm rm .gvm/logs/go-go1.22*
➜ ~ gvm list
gvm gos (installed)
=> go1.17.13
go1.4
- 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 commented
gvm install go1.20
gvm use go1.20
gvm install go1.22
Maybe this will help.
LemonAniLabs commented
gvm install go1.20
gvm use go1.20
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.22