Hello,
I’m trying to compile:
github.com_dennisstritzke_ipsec_exporter
doing glide install I get:
I’ve replaced / with _
|[ERROR]|Error scanning github.com_cespare_xxhash_v2: cannot find package “.” in:|
with go mod vendor:
no matching versions for query “latest”
I’ve the latest version installed:
go version go1.14.6 linux/amd64
and my env is:
GO111MODULE=“on”
GOARCH=“amd64”
GOBIN=“”
GOCACHE=“/root/.cache/go-build”
GOENV=“/root/.config/go/env”
GOEXE=“”
GOFLAGS=“”
GOHOSTARCH=“amd64”
GOHOSTOS=“linux”
GOINSECURE=“”
GONOPROXY=“”
GONOSUMDB=“”
GOOS=“linux”
GOPATH=“/root/go”
GOPRIVATE=“”
GOPROXY=“https://proxy.golang.org,direct”
GOROOT=“/usr/local/go”
GOSUMDB=“sum.golang.org”
GOTMPDIR=“”
GOTOOLDIR=“/usr/local/go/pkg/tool/linux_amd64”
GCCGO=“gccgo”
AR=“ar”
CC=“gcc”
CXX=“g++”
CGO_ENABLED=“1”
GOMOD=“/root/go/src/go.mod”
CGO_CFLAGS=“-g -O2”
CGO_CPPFLAGS=“”
CGO_CXXFLAGS=“-g -O2”
CGO_FFLAGS=“-g -O2”
CGO_LDFLAGS=“-g -O2”
PKG_CONFIG=“pkg-config”
GOGCCFLAGS=“-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build799110821=/tmp/go-build -gno-record-gcc-switches”
I’m very very new to golang, so can someone point me in the right direction?
The info I found so far didn’t help.
Thanks in advance.