Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: promu: Command not found #1574

Closed
aristide opened this Issue Apr 22, 2016 · 11 comments

Comments

Projects
None yet
3 participants
@aristide
Copy link

aristide commented Apr 22, 2016

I just downloaded source code from github and i'ma having the error make: promu: Command not found when i tried to compile prometheus.

I just followed instructions from README.md
help !!!

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

/cc @sdurrheimer Whoops. Seems like README and docs (https://prometheus.io/docs/introduction/install/) haven't been updated for promu yet?

@sdurrheimer

This comment has been minimized.

Copy link
Member

sdurrheimer commented Apr 22, 2016

The build process didn't change, it's stil make build to build it from source.

@aristide Do you have a working Golang envrionement ?

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

@sdurrheimer From a clean Prometheus checkout in the right GOPATH, I get:

make
>> formatting code
# cd /home/julius/gosrc/src/github.com/prometheus/promu; git pull --ff-only
error: Your local changes to the following files would be overwritten by merge:
    cmd/build.go
Please, commit your changes or stash them before you can merge.
Aborting
Updating e068833..53425d6
package github.com/prometheus/promu: exit status 1
make: *** [promu] Error 1

Go version 1.6, but I guess that's not related?

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

Ah duh, should have read the whole error message, my fault.

@aristide

This comment has been minimized.

Copy link
Author

aristide commented Apr 22, 2016

yes!! my golang environement his working i event compile 0.18.0.tar.gz without any trouble. But when i clone src from github it'does not work at all.

I just open Makefile from v.0.18 and the one from Github. Both are different.

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

(ok, works for me at least, but requires proper Go setup obviously)

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

@aristide Do you have $GOPATH/bin in your $PATH?

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

(that's where the promu tool is installed)

@aristide

This comment has been minimized.

Copy link
Author

aristide commented Apr 22, 2016

thanks!! it's working now !!

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

Awesome! Closing then...

@lock

This comment has been minimized.

Copy link

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 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.
You can’t perform that action at this time.