http2smugl icon indicating copy to clipboard operation
http2smugl copied to clipboard

Error Installing - quic-go can't be built on Go 1.20 yet

Open kaiksi-bb opened this issue 2 years ago • 2 comments

Hi,

Upon trying to install I get the following error message:

go: downloading github.com/neex/http2smugl v0.0.0-20230227100728-4aec58a62575 go: downloading github.com/lucas-clemente/quic-go v0.31.1 go: downloading github.com/marten-seemann/qpack v0.3.0 go: downloading golang.org/x/net v0.7.0 go: downloading golang.org/x/sys v0.5.0 go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e go: downloading github.com/marten-seemann/qtls-go1-19 v0.1.1 go: downloading golang.org/x/text v0.7.0 github.com/lucas-clemente/quic-go/internal/qtls ../go/pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration

kaiksi-bb avatar Apr 18 '23 07:04 kaiksi-bb

As a workaround for now:

go install golang.org/dl/[email protected]
go1.19.13 install github.com/neex/http2smugl@latest

wiebel avatar Jul 24 '24 09:07 wiebel

As a workaround for now:

go install golang.org/dl/[email protected]
go1.19.13 install github.com/neex/http2smugl@latest
1.	go install golang.org/dl/go1.19.13@latest
2.	go1.19.13 download
3.	go1.19.13 install github.com/neex/http2smugl@latest

gprime31 avatar Dec 19 '24 05:12 gprime31