andreaskoch / allmark

A cross-platform markdown web server
https://allmark.io
Other
314 stars 73 forks source link

Error when trying to build / install from source #4

Open BrunoVernay opened 8 years ago

BrunoVernay commented 8 years ago

The documentation may be lacking: How do I clean up ? git reset --hard ?

I have errors when building:

~/tmp/allmark  (master)  go run make.go -install -v
# command-line-arguments
ar: `u' modifier ignored since `D' is the default (see `U')
Version: 2015-11-17-09b235a
GOPATH: /home/bruno/tmp/allmark
GOBIN: /home/bruno/tmp/allmark/bin
Running go install --ldflags=-X allmark.io/modules/common/buildinfo.GitInfo=2015-11-17-09b235a allmark.io/cmd/allmark
# allmark.io/modules/common/certificates
src/allmark.io/modules/common/certificates/cert.go:75:42: error: reference to undefined identifier ‘elliptic.P224’
   priv, err = ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
                                          ^
Error running go install --ldflags=-X allmark.io/modules/common/buildinfo.GitInfo=2015-11-17-09b235a allmark.io/cmd/allmark: exit status 2
exit status 1