schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.05k stars 368 forks source link

errors during go get ./.. #157

Open AnduriI opened 7 years ago

AnduriI commented 7 years ago

Hey @schollz,

I tried to install find on a new raspberry pi 3, but I get an error when I try go get ./..:

pi@raspberrypi:~/find $ go get ./...
# gopkg.in/go-playground/validator.v8
../golang/packages/src/gopkg.in/go-playground/validator.v8/cache.go:47: undefined: atomic.Value
# github.com/garyburd/redigo/redis
../golang/packages/src/github.com/garyburd/redigo/redis/pre_go17.go:17: unknown tls.Config field 'GetCertificate' in struct literal

I don't think that it is related to how I setup golang, but I'm not shure aboute this point. Maybe you can help.

schollz commented 7 years ago

Try to install the dependencies with go get -u -v github.com/schollz/find

AnduriI commented 7 years ago

well this does not help...

pi@raspberrypi:~/find $ go get -u -v github.com/schollz/find
github.com/schollz/find (download)
github.com/boj/redistore (download)
github.com/garyburd/redigo (download)
github.com/gorilla/context (download)
github.com/gorilla/securecookie (download)
github.com/gorilla/sessions (download)
github.com/boltdb/bolt (download)
github.com/gin-gonic/contrib (download)
github.com/gin-gonic/gin (download)
github.com/golang/protobuf (download)
gopkg.in/go-playground/validator.v8 (download)
gopkg.in/yaml.v2 (download)
github.com/manucorporat/sse (download)
github.com/mattn/go-isatty (download)
golang.org/x/net (download)
github.com/pquerna/ffjson (download)
github.com/schollz/org.eclipse.paho.mqtt.golang (download)
github.com/garyburd/redigo/redis
gopkg.in/go-playground/validator.v8
# gopkg.in/go-playground/validator.v8
../golang/packages/src/gopkg.in/go-playground/validator.v8/cache.go:47: undefined: atomic.Value
# github.com/garyburd/redigo/redis
../golang/packages/src/github.com/garyburd/redigo/redis/pre_go17.go:17: unknown tls.Config field 'GetCertificate' in struct literal
schollz commented 7 years ago

What version of Go are you using? This seems to be a problem with two packages that are in the dependency chain.

I can not replicate this error on go1.8 linux/amd64.