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

No rule to make target `/usr/local/lib/libprometheus-cpp-pull.a' #28

Open
snoopie opened this issue Jan 14, 2020 · 0 comments
Open

No rule to make target `/usr/local/lib/libprometheus-cpp-pull.a' #28

snoopie opened this issue Jan 14, 2020 · 0 comments

Comments

@snoopie
Copy link

snoopie commented Jan 14, 2020

Hello Stefan,

I am trying logjam locally and get this error during make:

make  all-recursive
make[1]: Entering directory `/app'
Making all in src
make[2]: Entering directory `/app/src'
...
g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I/opt/logjam/include -I/opt/logjam/include/libbson-1.0 -I/opt/logjam/include/libmongoc-1.0 -I/usr/local/include -I/usr/local/include/libbson-1.0 -I/usr/local/include/libmongoc-1.0 -I/opt/local/include -I/opt/local/include/libbson-1.0 -I/opt/local/include/libmongoc-1.0  -D_GNU_SOURCE -I/usr/include --std=c++11 -Wall -fno-fast-math -g -O2 -MT device-prometheus-client.o -MD -MP -MF .deps/device-prometheus-client.Tpo -c -o device-prometheus-client.o device-prometheus-client.cpp
mv -f .deps/device-prometheus-client.Tpo .deps/device-prometheus-client.Po
make[2]: Leaving directory `/app/src'
make[2]: *** No rule to make target `/usr/local/lib/libprometheus-cpp-pull.a', needed by `logjam-device'.  Stop.
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/app'
make: *** [all] Error 2

I ran the script with a prefix param:

./bin/install-libs --prefix=/opt/logjam

and it succeeded. Interestingly target mentions /usr/local/lib/libprometheus-cpp-pull.a regardless of a specified prefix for install-libs script.

Is there an easy way to disable prometheus completely or to fix the error above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant