When I try to compile this package on a CentOS 8 system, I get an error message. Let me describe the steps:
I installed glide like described here http://glide.sh/
The installed version is
[root@4c5255828c23 proxy-checker]# glide --version
glide version v0.13.3
Then i downloaded the project with git
git clone https://github.com/ilijamt/proxy-checker
I called glide install. Log output is
[root@4c5255828c23 proxy-checker]# glide install
[WARN] The name listed in the config file (github.com/ilijamt/proxy-checker) does not match the current location (.)
[INFO] Downloading dependencies. Please wait...
[INFO] --> Found desired version locally github.com/alecthomas/kingpin e9044be3ab2a8e11d4e1f418d12f0790d57e8d70!
[INFO] --> Found desired version locally github.com/alecthomas/template a0175ee3bccc567396460bf5acd36800cb10c49c!
[INFO] --> Found desired version locally github.com/alecthomas/units 2efee857e7cfd4f3d0138cc3cbb1b4966962b93a!
[INFO] --> Found desired version locally github.com/davecgh/go-spew 6d212800a42e8ab5c146b8ace3490ee17e5225f9!
[INFO] --> Found desired version locally github.com/pmezard/go-difflib d8ed2627bdf02c080bf22230dbb337003b7aba2d!
[INFO] --> Found desired version locally github.com/stretchr/testify 69483b4bd14f5845b5a1e55bca19e954e827f1d0!
[INFO] Setting references.
[INFO] --> Setting version for github.com/alecthomas/template to a0175ee3bccc567396460bf5acd36800cb10c49c.
[INFO] --> Setting version for github.com/alecthomas/units to 2efee857e7cfd4f3d0138cc3cbb1b4966962b93a.
[INFO] --> Setting version for github.com/stretchr/testify to 69483b4bd14f5845b5a1e55bca19e954e827f1d0.
[INFO] --> Setting version for github.com/pmezard/go-difflib to d8ed2627bdf02c080bf22230dbb337003b7aba2d.
[INFO] --> Setting version for github.com/davecgh/go-spew to 6d212800a42e8ab5c146b8ace3490ee17e5225f9.
[INFO] --> Setting version for github.com/alecthomas/kingpin to e9044be3ab2a8e11d4e1f418d12f0790d57e8d70.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/alecthomas/template
[INFO] --> Exporting github.com/alecthomas/kingpin
[INFO] --> Exporting github.com/stretchr/testify
[INFO] --> Exporting github.com/alecthomas/units
[INFO] --> Exporting github.com/davecgh/go-spew
[INFO] --> Exporting github.com/pmezard/go-difflib
[INFO] Replacing existing vendor dependencies
I called make build.
Result is the error message:
[root@4c5255828c23 proxy-checker]# make build
/usr/bin/go build -ldflags "-X 'main.BuildVersion=0.1.4' -X 'main.BuildHash=d9ff5dd' -X 'main.BuildDate=Sat Mar 28 15:42:38 UTC 2020'" -o "bin/proxy-checker" .
main.go:10:2: cannot find package "github.com/alecthomas/kingpin" in any of:
/usr/lib/golang/src/github.com/alecthomas/kingpin (from $GOROOT)
/root/go/src/github.com/alecthomas/kingpin (from $GOPATH)
main.go:12:2: cannot find package "github.com/ilijamt/proxy-checker/job" in any of:
/usr/lib/golang/src/github.com/ilijamt/proxy-checker/job (from $GOROOT)
/root/go/src/github.com/ilijamt/proxy-checker/job (from $GOPATH)
make: *** [Makefile:32: build] Error 1
My go verison is:
[root@4c5255828c23 proxy-checker]# go version
go version go1.12.12 linux/amd64
When I try to compile this package on a CentOS 8 system, I get an error message. Let me describe the steps:
I installed glide like described here http://glide.sh/ The installed version is
Then i downloaded the project with git
git clone https://github.com/ilijamt/proxy-checker
I called
glide install
. Log output isI called
make build
. Result is the error message:My go verison is:
What is the problem here?