Erich
Erich

Reputation: 2072

How do I compile Go from sources if I received the building_Go_requires_Go_1_17_13_or_later error?

I tried to compile Go using an existing version of Go, but I was given this error message?.

What does this mean if I want to compile Go from source? The last version of go that could be compiled with C was the 1.4 release, but now I need version 1.17.13?

How should I resolve this?

Upvotes: 1

Views: 262

Answers (1)

Hồ Văn Hòa
Hồ Văn Hòa

Reputation: 1

you have to install go1.20 or later, and use it:

gvm install go1.20
gvm use go1.20

Upvotes: 0

Related Questions