Closed dncohen closed 8 years ago
Ok, so I did I miss the "You will need Go 1.6 or newer." in the README.md
In case it saves any fedora users some time... first sudo dnf remove golang
, then follow instructions on https://golang.org/doc/install, which are simple and clear.
Then go get -u github.com/mholt/caddy/caddy
will succeed. (Although does not create a $GOPATH/bin/caddy. Haven't figured that out yet.)
go test github.com/mholt/caddy/... go install github.com/mholt/caddy/caddy
-Toby.
On Tue, Mar 22, 2016 at 6:19 AM, dncohen notifications@github.com wrote:
Ok, so I did I miss the "You will need Go 1.6 or newer." in the README.md
In case it saves any fedora users some time... first sudo dnf remove golang, then follow instructions on https://golang.org/doc/install, which are simple and clear.
Then go get -u github.com/mholt/caddy/caddy will succeed. (Although does not create a $GOPATH/bin/caddy. Haven't figured that out yet.)
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/mholt/caddy/issues/690#issuecomment-199809842
This issue persists with Fedora 24. Today I upgraded to Fedora 24 so I would have a 1.6 version of golang.
[user]$ go version
go version go1.6.3 linux/amd64
[user]$ go get -u github.com/mholt/caddy/caddy
# golang.org/x/crypto/ocsp
work/golang/src/golang.org/x/crypto/ocsp/ocsp.go:199: undefined: elliptic.P224
Hello @zoowar,
please follow the instructions on https://golang.org/doc/install, download Caddy here https://caddyserver.com/download or use https://getcaddy.com
Hi @elcore it solve or just trying ? I seem problem like @dncohen
go build mattermost.go
../go/src/github.com/mattermost/platform/vendor/golang.org/x/crypto/ocsp/ocsp.go:199: undefined: elliptic in elliptic.P224 ../go/src/github.com/mattermost/platform/vendor/golang.org/x/crypto/ocsp/ocsp.go:199: undefined: elliptic in elliptic.P256 ../go/src/github.com/mattermost/platform/vendor/golang.org/x/crypto/ocsp/ocsp.go:202: undefined: elliptic in elliptic.P384 ../go/src/github.com/mattermost/platform/vendor/golang.org/x/crypto/ocsp/ocsp.go:205: undefined: elliptic in elliptic.P521
Hello @anovanmaximuz,
please follow the instructions on https://golang.org/doc/install, download Caddy here https://caddyserver.com/download or use https://getcaddy.com
In case it saves any fedora users some time... first sudo dnf remove golang, then follow instructions on https://golang.org/doc/install, which are simple and clear. Then go get -u github.com/mholt/caddy/caddy will succeed.
https://caddyserver.com/download/build?os=linux&arch=amd64&features=
@elcore thanks it works step :
I'm brand new to caddy, and almost as new to golang, so please forgive me if this is a FAQ.
My problem is this on fedora23:
A little searching tells me the dependency is omitted on fedora due to a patent issue. But the searching has yet to turn up a workaround.
I'm wondering if this dependency could be made optional in Caddy?
It occurs to me possibly the change has to be in crypto/ocsp. If so, pardon the noise! Caddy looks quite nice and I'm eager to try it out.
Thanks. -Dave