serial-port-json-server
serial-port-json-server copied to clipboard
Error during build
I had a few packages that were missing, so I ran apt-get install build-essentials
And now
osmc@osmc:~/go$ go get github.com/chilipeppr/serial-port-json-server
# golang.org/x/crypto/ed25519
src/golang.org/x/crypto/ed25519/ed25519.go:54: undefined: crypto.SignerOpts
# github.com/gorilla/websocket
src/github.com/gorilla/websocket/client.go:361: unknown tls.Config field 'GetCertificate' in struct literal
This is on a debian based system on rPi (osmc distro)
build-essentials probably doesn't help the go language at all. a. you could just use the binary for linux that's in the releases of the github repo b. you should do go get's for all the libraries you get errors for
On Tue, May 24, 2016 at 1:22 PM, Leigh [email protected] wrote:
I had a few packages that were missing, so I ran apt-get install build-essentials
And now
osmc@osmc:~/go$ go get github.com/chilipeppr/serial-port-json-server
golang.org/x/crypto/ed25519
src/golang.org/x/crypto/ed25519/ed25519.go:54 http://golang.org/x/crypto/ed25519src/golang.org/x/crypto/ed25519/ed25519.go:54: undefined: crypto.SignerOpts
github.com/gorilla/websocket
src/github.com/gorilla/websocket/client.go:361 http://github.com/gorilla/websocketsrc/github.com/gorilla/websocket/client.go:361: unknown tls.Config field 'GetCertificate' in struct literal
This is on a debian based system on rPi (osmc distro)
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/12
yes ofcourse :) I'm just posting the issue here for reference
I'm running the binary without problems btw.
So, something go get crypto
?
Look at the error and see the library it's referring to and that's what you "go get"
On Tue, May 24, 2016 at 2:37 PM, Leigh [email protected] wrote:
So, something go get crypto ?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/12#issuecomment-221405161