Open sundaram2021 opened 2 months ago
gvm install go1.23.2
Installing go1.23.2...
* Compiling...
ERROR: Failed to compile. Check the logs at /home/REDACTED/.gvm/logs/go-go1.23.2-compile.log
ERROR: Failed to use installed version
Log content
Building Go cmd/dist using /home/REDACTED/.gvm/gos/go1.17.13. (go1.17.13 linux/amd64)
found packages main (build.go) and building_Go_requires_Go_1_20_6_or_later (notgo120.go) in /home/REDACTED/.gvm/gos/go1.23.2/src/cmd/dist
This worked for me:
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.20.14
gvm use go1.20.14
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.23.2
gvm use go1.23.2
not worked on windows .... i don't know why
it just fails