Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing on FreeBSD 11.2 #141

Open
vendion opened this issue Aug 21, 2018 · 4 comments
Open

Build failing on FreeBSD 11.2 #141

vendion opened this issue Aug 21, 2018 · 4 comments

Comments

@vendion
Copy link

vendion commented Aug 21, 2018

Attempting to build from source on FreeBSD 11.2 (since no precompiled binaries are available) errors out on NewCookieStore

$ go get -u github.com/schollz/cowyo/...
# github.com/schollz/cowyo/cmd/herdyo
go/src/github.com/schollz/cowyo/cmd/herdyo/herdyo.go:12:11: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewCookieStore
# github.com/schollz/cowyo/config
go/src/github.com/schollz/cowyo/config/http.go:82:10: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewCookieStore
$ go version
go version go1.10.3 freebsd/amd64
@schollz
Copy link
Owner

schollz commented Aug 22, 2018

Whoops, its a API change in sessions. Should be fixed now.

@vendion
Copy link
Author

vendion commented Aug 23, 2018

Well almost, seems there maybe more changes than just that sadly

go get -u github.com/schollz/cowyo/...
# github.com/schollz/cowyo/config
go/src/github.com/schollz/cowyo/config/http.go:82:10: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewStore
# github.com/schollz/cowyo/cmd/herdyo
go/src/github.com/schollz/cowyo/cmd/herdyo/herdyo.go:12:11: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewStore

@schollz
Copy link
Owner

schollz commented Aug 23, 2018

Okay, I updated the vendors too, try now!

@vendion
Copy link
Author

vendion commented Aug 23, 2018

Hmmm... this is the first time I've seen something like this happen, if I have go get fetch and build everything it still fails to find github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions.NewStore, but if I pass the -d argument to go get and cd into $GOPATH/src/github.com/schollz/cowyo and build it manually it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants