hlandau / acmetool

:lock: acmetool, an automatic certificate acquisition tool for ACME (Let's Encrypt)
https://hlandau.github.io/acmetool/
2.06k stars 129 forks source link

Make fails on Amazon Linux with: undefined: elliptic.P224 #104

Closed markengelhardt closed 8 years ago

markengelhardt commented 8 years ago

I tried to build acme today:

yum install go git clone https://github.com/hlandau/acme make [RELOCATE]
[GO-GET] github.com/hlandau/acme

golang.org/x/crypto/ocsp

src/golang.org/x/crypto/ocsp/ocsp.go:199: undefined: elliptic.P224

github.com/hlandau/acme/acmeapi/acmeutils

src/github.com/hlandau/acme/acmeapi/acmeutils/keyauth.go:50: undefined: base64.RawURLEncoding

github.com/hlandau/degoutils/os

src/github.com/hlandau/degoutils/os/appdata.go:13: undefined: os.LookupEnv src/github.com/hlandau/degoutils/os/appdata.go:18: undefined: os.LookupEnv src/github.com/hlandau/degoutils/os/appdata.go:23: undefined: os.LookupEnv

gopkg.in/hlandau/service.v2/daemon/caps

src/gopkg.in/hlandau/service.v2/daemon/caps/caps-linuxc.go:9:28: fatal error: sys/capability.h: No such file or directory

include <sys/capability.h>

                        ^

compilation terminated. make: *\ [.gotten] Error 2

Do I need something else besides "go"

hlandau commented 8 years ago

You need Go 1.5.2 or later. Or use binaries.

markengelhardt commented 8 years ago

Shouldn't the "make" command notify me that I have the wrong version of "go" ?