boynux / squid-exporter

Squid Prometheus Exporter
https://www.boynux.com/squid-exporter
MIT License
134 stars 53 forks source link

ERROR: cannot find package "https:/github.com/boynux/squid-exporter\x03\x03" in any of: #61

Closed amitK1985 closed 1 year ago

amitK1985 commented 2 years ago

Describe the bug Installing squid-exporter using go install cannot find package "https:/github.com/boynux/squid-exporter\x03\x03" in any of: /home/i567209/src/https:/github.com/boynux/squid-exporter (from $GOROOT) /src/https:/github.com/boynux/squid-exporter (from $GOPATH)

To Reproduce Everytime using go install

Expected behavior installation complete

OS (please complete the following information): SLES 12SP5

Additional context Go Version o version go1.19.3 linux/amd64 go env GO111MODULE="off" GOARCH="amd64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/i567209" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/i567209/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.19.3" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" GOWORK="" 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 -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3038272853=/tmp/go-build -gno-record-gcc-switches"

boynux commented 2 years ago

Can you try make build and see if that works?

boynux commented 1 year ago

Closing this issue due to no activity, please let me know if using the make file fixes the issue that you are facing.