You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install Dex from source on Ubuntu 22.04 with golang 1.21.1 and getting an error:
$ go install github.com/dexidp/dex/cmd/dex@latest
[...]
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:114:87: undefined: resolver.BuildOption
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:115:16: target.Authority undefined (type resolver.Target has no field or method Authority)
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:118:15: target.Authority undefined (type resolver.Target has no field or method Authority)
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:182:40: undefined: resolver.ResolveNowOption
# github.com/coreos/etcd/clientv3/balancer/picker
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/picker/err.go:37:53: undefined: balancer.PickOptions
go/pkg/mod/github.com/coreos/etcd@v3.3.27+incompatible/clientv3/balancer/picker/roundrobin_balanced.go:55:63: undefined: balancer.PickOptions
# github.com/dexidp/dex/storage/sql
go/pkg/mod/github.com/dexidp/dex@v2.13.0+incompatible/storage/sql/sql.go:104:14: cannot use crdb.ExecuteTx (value of type func(ctx context.Context, db *"database/sql".DB, opts *"database/sql".TxOptions, fn func(*"database/sql".Tx) error) error) as func(db *"database/sql".DB, fn func(*"database/sql".Tx) error) error value in struct literal
In case there was a breaking change since the last release, I specified the commit associated with the last release (v2.37.0) and got a different error:
$ go install github.com/dexidp/dex/cmd/dex@08bb7fb98b164ab078be17ecda4077b2d21c9bb3
go: github.com/dexidp/dex/cmd/dex@08bb7fb98b164ab078be17ecda4077b2d21c9bb3 (in github.com/dexidp/dex@v0.0.0-20230630132844-08bb7fb98b16):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Any suggestions for how to get past these issues?
Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to install Dex from source on Ubuntu 22.04 with golang 1.21.1 and getting an error:
In case there was a breaking change since the last release, I specified the commit associated with the last release (v2.37.0) and got a different error:
Any suggestions for how to get past these issues?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions