Skip to content

Instantly share code, notes, and snippets.

@rootAvish
Created December 13, 2017 08:22
Show Gist options
  • Save rootAvish/8b16aaf344653e7306b44e359bf13f16 to your computer and use it in GitHub Desktop.
Save rootAvish/8b16aaf344653e7306b44e359bf13f16 to your computer and use it in GitHub Desktop.
Mercator `make all` error
~/f8a/mercator-go
go get 'gopkg.in/yaml.v2'
# for 'go build' to work properly, we need to be in OPATH_SRC
pushd /Users/avgupta/f8a/mercator-go/src/github.com/fabric8-analytics/mercator-go; \
go build -o mercator; \
popd
~/f8a/mercator-go/src/github.com/fabric8-analytics/mercator-go ~/f8a/mercator-go
main.go:36:2: build constraints exclude all Go files in /Users/avgupta/f8a/mercator-go/src/github.com/fabric8-analytics/mercator-go/core/fileutils
~/f8a/mercator-go
/Applications/Xcode.app/Contents/Developer/usr/bin/make install
mkdir -p /usr/bin /usr/share/mercator
mkdir: /usr/share/mercator: Operation not permitted
make[1]: *** [install] Error 1
make: *** [all] Error 2
------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment