You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to add tls flags as a branch, but I am coming up short when trying to build the binary.
go run mage.go binary
../../../.go/src/github.com/mholt/archiver/lz4.go:8:2: cannot find package "github.com/pierrec/lz4/v3" in any of:
/usr/local/opt/go/libexec/src/github.com/pierrec/lz4/v3 (from $GOROOT)
/Users/jack/.go/src/github.com/pierrec/lz4/v3 (from $GOPATH)
Error: error compiling magefiles
exit status 1
Checking in with the lz4 project page, and they suggested to add this flag:
But for mage, it seems that that alone is not enough to fix it.
jack@Jacks-MacBook-Pro-2 postgres_exporter % GO111MODULE=on go run mage.go binary
mage.go:8:2: cannot find module providing package github.com/magefile/mage/mage: working directory is not part of a module
jack@Jacks-MacBook-Pro-2 postgres_exporter % go get -u -v github.com/magefile/mage@68374889480d95d7e4b6626a1843e7cb559ac3e4
go: cannot use path@version syntax in GOPATH mode
jack@Jacks-MacBook-Pro-2 postgres_exporter % go run mage.go docker
../../../.go/src/github.com/mholt/archiver/lz4.go:8:2: cannot find package "github.com/pierrec/lz4/v3" in any of:
/usr/local/opt/go/libexec/src/github.com/pierrec/lz4/v3 (from $GOROOT)
/Users/jack/.go/src/github.com/pierrec/lz4/v3 (from $GOPATH)
Error: error compiling magefiles
exit status 1
Any idea on how to proceed?
My current backup plan to is to do tls termination either via Nginx (if already present) or telegraf (with prometheus input and prometheus output plugins).
Thank you
The text was updated successfully, but these errors were encountered:
Hi, nice work on the project!
I am looking to add tls flags as a branch, but I am coming up short when trying to build the binary.
Checking in with the lz4 project page, and they suggested to add this flag:
But for mage, it seems that that alone is not enough to fix it.
Any idea on how to proceed?
My current backup plan to is to do tls termination either via Nginx (if already present) or telegraf (with prometheus input and prometheus output plugins).
Thank you
The text was updated successfully, but these errors were encountered: