Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upbad compile #4660
Comments
This comment has been minimized.
This comment has been minimized.
|
To build Prometheus from the source code yourself you need to have a working Go environment with version 1.10 or greater installed. Looks like the go version being used is not the latest. Please upgrade and try again. |
gouthamve
closed this
Sep 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Bingo! It is has already compiled. |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 25, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 25, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
gitchander commentedSep 26, 2018
$ make build
GOOS= GOARCH= go get -u github.com/prometheus/promu
github.com/prometheus/prometheus/discovery/targetgroup
discovery/targetgroup/targetgroup.go:81:5: dec.DisallowUnknownFields undefined (type *json.Decoder has no field or method DisallowUnknownFields)
!! command failed: build -o /home/chander/work/langs/golang/path/src/github.com/prometheus/prometheus/prometheus -ldflags -X github.com/prometheus/prometheus/vendor/github.com/prometheus/common/version.Version=2.4.2 -X github.com/prometheus/prometheus/vendor/github.com/prometheus/common/version.Revision=4c524007087ef50f02a396e1f4529340ee81783f -X github.com/prometheus/prometheus/vendor/github.com/prometheus/common/version.Branch=master -X github.com/prometheus/prometheus/vendor/github.com/prometheus/common/version.BuildUser=chander@chander-desktop -X github.com/prometheus/prometheus/vendor/github.com/prometheus/common/version.BuildDate=20180926-08:35:12 -extldflags '-static' -a -tags netgo github.com/prometheus/prometheus/cmd/prometheus: exit status 2
Makefile.common:102: ошибка выполнения рецепта для цели «common-build»
make: *** [common-build] Ошибка 1