Skip to content

FreeBSD 11.2: make bin wrong $GOPATH #14

@ole-db

Description

@ole-db

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions