Skip to content

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

@snoopie

Description

@snoopie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions