gvm
gvm copied to clipboard
GVM Stuck at compiling 1.24.0
I have bootstrapped 1.22.6 with gvm install go1.22.6 -B
I am installing new version with gvm install go1.24.0
The process is stuck in * Compiling....
me to
same here.
logs
ERROR: Cannot find /home/byanatpc/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.22.6.
Last commit was 2 years back. Not sure if this is in active development.
Use a version > 1.22.6 and it should work
Something like:
$ gvm use go1.23
Now using version go1.23
$ gvm install go1.24.0
Installing go1.24.0...
* Compiling...
go1.24.0 successfully installed!
Just wanted to complement @nicolascb's answer for newcomers. His solution works but for go1.24; patch versions (e.g. go1.24.2) are not working ATM.
To solve this, just install go1.24 and then:
gvm use go1.24
gvm install go1.24.2
gvm use go1.24.2