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 upProblem with building Prometheus in Windows environment. #1992
Comments
grobie
added
help wanted
kind/enhancement
area/building
labels
Sep 15, 2016
grobie
assigned
sdurrheimer
Sep 15, 2016
This comment has been minimized.
This comment has been minimized.
|
Hi there, you should clone the project as |
vipetrul
closed this
Sep 15, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
vipetrul commentedSep 15, 2016
Trying to build Prometheus using golang v 1.7
Issued following command:
C:\GoWorkspace\src\Prometheus>go build -o prometheus ./cmd/prometheus
Received exceptions along these lines:
cmd\prometheus\main.go:29:2: cannot find package "github.com/prometheus/prometheus/config" in any of:
C:\GoWorkspace\src\Prometheus\vendor\github.com\prometheus\prometheus\config (vendor tree)
C:\Go\src\github.com\prometheus\prometheus\config (from $GOROOT)
C:\GoWorkspace\src\github.com\prometheus\prometheus\config (from $GOPATH)
Environment
Windows environment. GOPATH is set (see below)
C:\GoWorkspace\src\Prometheus>SET go
GOPATH=C:\GoWorkspace
GOROOT=C:\Go\
Current master branch.