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

FreeBSD 11.2: make bin wrong $GOPATH #14

Open
ole-db opened this issue Apr 3, 2019 · 0 comments
Open

FreeBSD 11.2: make bin wrong $GOPATH #14

ole-db opened this issue Apr 3, 2019 · 0 comments

Comments

@ole-db
Copy link
Contributor

ole-db commented Apr 3, 2019

Hi,

make bin is not working on FreeBSD 11.2. You will get:

% make bin
if test -d pkg; then rm -rf pkg; fi
if test -d src; then rm -rf src; fi
if test -d src; then rm -rf src; fi
cp -r vendor src
mkdir -p src/github.com/whosonfirst/go-whosonfirst-libpostal
cp -r http src/github.com/whosonfirst/go-whosonfirst-libpostal/
cmd/wof-libpostal-server.go:6:2: cannot find package "github.com/facebookgo/grace/gracehttp" in any of:
	/usr/local/go/src/github.com/facebookgo/grace/gracehttp (from $GOROOT)
	/home/deploy/go/src/github.com/facebookgo/grace/gracehttp (from $GOPATH)
cmd/wof-libpostal-server.go:7:2: cannot find package "github.com/whosonfirst/go-whosonfirst-libpostal/http" in any of:
	/usr/local/go/src/github.com/whosonfirst/go-whosonfirst-libpostal/http (from $GOROOT)
	/home/deploy/go/src/github.com/whosonfirst/go-whosonfirst-libpostal/http (from $GOPATH)
cmd/wof-libpostal-server.go:8:2: cannot find package "github.com/whosonfirst/go-whosonfirst-log" in any of:
	/usr/local/go/src/github.com/whosonfirst/go-whosonfirst-log (from $GOROOT)
	/home/deploy/go/src/github.com/whosonfirst/go-whosonfirst-log (from $GOPATH)
*** Error code 1

Stop.
make: stopped in /home/deploy/go-whosonfirst-libpostal

I opened PR #13 to fix build.

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

1 participant