Closed mozai closed 4 years ago
Please post the whole output of the make
run.
promu
is fetched during the build target / process.
$ make
go fmt github.com/galexrt/dellhw_exporter/cmd/dellhw_exporter github.com/galexrt/dellhw_exporter/collector github.com/galexrt/dellhw_exporter/pkg/flagutil github.com/galexrt/dellhw_exporter/pkg/omreport
>> checking code style
>> vetting code
? github.com/galexrt/dellhw_exporter/cmd/dellhw_exporter [no test files]
? github.com/galexrt/dellhw_exporter/collector [no test files]
? github.com/galexrt/dellhw_exporter/pkg/flagutil [no test files]
ok github.com/galexrt/dellhw_exporter/pkg/omreport 0.004s
>> fetching promu
> dellhw_exporter
$
Nevermind, it was a bad $GOPATH envvar.
oddly, the "go get -u github.com/prometheus/promu" did put it in the right place, but later in the Makefile "${GOPATH}/bin/promu" turned into "/bin/promu" so of course it didn't find promu.
I believe 'promu' is missing from the list of dependencies in the README.md .