Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

acme Name undefined #3

Closed
neoadventist opened this issue Dec 4, 2015 · 3 comments
Closed

acme Name undefined #3

neoadventist opened this issue Dec 4, 2015 · 3 comments

Comments

@neoadventist
Copy link

src/github.com/hlandau/acme/acmeapi/api.go:232: v.PublicKey.Curve.Params().Name undefined (type *elliptic.CurveParams has no field or method Name)

error occurs while running make unable to install.

-e      [GO-GET]          github.com/hlandau/acme/cmd/acmetool
# github.com/hlandau/acme/acmeapi
src/github.com/hlandau/acme/acmeapi/api.go:232: v.PublicKey.Curve.Params().Name undefined (type *elliptic.CurveParams has no field or method Name)
# gopkg.in/tylerb/graceful.v1
src/gopkg.in/tylerb/graceful.v1/graceful.go:41: undefined: http.ConnState
src/gopkg.in/tylerb/graceful.v1/graceful.go:208: srv.Server.ConnState undefined (type *http.Server has no field or method ConnState)
src/gopkg.in/tylerb/graceful.v1/graceful.go:208: undefined: http.ConnState
src/gopkg.in/tylerb/graceful.v1/graceful.go:210: undefined: http.StateNew
src/gopkg.in/tylerb/graceful.v1/graceful.go:212: undefined: http.StateClosed
src/gopkg.in/tylerb/graceful.v1/graceful.go:212: undefined: http.StateHijacked
src/gopkg.in/tylerb/graceful.v1/graceful.go:312: srv.SetKeepAlivesEnabled undefined (type *Server has no field or method SetKeepAlivesEnabled)
# gopkg.in/hlandau/service.v2/daemon/pidfile
src/gopkg.in/hlandau/service.v2/daemon/pidfile/pidfile.go:76: undefined: syscall.FcntlFlock
src/gopkg.in/hlandau/service.v2/daemon/pidfile/pidfile.go:76: undefined: syscall.Flock_t
make: *** [.gotten] Error 2
@vladzaharia
Copy link

You need a newer version of Go. The one on some Ubuntu repos is 1.2.1 which is too old, need at least 1.3.

@neoadventist
Copy link
Author

-e      [GO-GET]          github.com/hlandau/acme/cmd/acmetool
# github.com/hlandau/acme/acmeapi
../.gvm/pkgsets/go1.4/global/src/github.com/hlandau/acme/acmeapi/api.go:232: v.PublicKey.Curve.Params().Name undefined (type *elliptic.CurveParams has no field or method Name)
make: *** [.gotten] Error 2

appears on Go 1.4

go version go1.4 linux/amd64

will try version 1.5

@neoadventist
Copy link
Author

Success on version 1.5!
Thanks @vladzaharia

Use the Go Version Manager to make it easy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants