Building clients on Ubuntu 20.04, failed due to a missing perllib/Makefile
- git cloned the clients repo
- in clients directory, did ./configure --prefix=/my/path
- make produced
make[2]: Leaving directory '/scratch/openargus/clients/examples/ratimerange' making in ./ratemplate make[2]: Entering directory '/scratch/openargus/clients/examples/ratemplate' gcc -O -I. -I../../include -I../../common -DHAVE_CONFIG_H -c ./ratemplate.c gcc -O -I. -I../../include -I../../common -DHAVE_CONFIG_H -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm -lpthread -lz -lmaxminddb make[2]: Leaving directory '/scratch/openargus/clients/examples/ratemplate' make[1]: Leaving directory '/scratch/openargus/clients/examples' making in ./perllib make[1]: Entering directory '/scratch/openargus/clients/perllib' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory '/scratch/openargus/clients/perllib' make: *** [Makefile:70: all] Error 2
There was no Makefile in the perllib directory.
Workaround was to explicitly add --with-perllib to the configure command.
Building clients on Ubuntu 20.04, failed due to a missing perllib/Makefile
make[2]: Leaving directory '/scratch/openargus/clients/examples/ratimerange' making in ./ratemplate make[2]: Entering directory '/scratch/openargus/clients/examples/ratemplate' gcc -O -I. -I../../include -I../../common -DHAVE_CONFIG_H -c ./ratemplate.c gcc -O -I. -I../../include -I../../common -DHAVE_CONFIG_H -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm -lpthread -lz -lmaxminddb make[2]: Leaving directory '/scratch/openargus/clients/examples/ratemplate' make[1]: Leaving directory '/scratch/openargus/clients/examples' making in ./perllib make[1]: Entering directory '/scratch/openargus/clients/perllib' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory '/scratch/openargus/clients/perllib' make: *** [Makefile:70: all] Error 2There was no Makefile in the perllib directory.
Workaround was to explicitly add --with-perllib to the configure command.