Skip to content

make fails in perllib #15

@msanderson

Description

@msanderson

Building clients on Ubuntu 20.04, failed due to a missing perllib/Makefile

  1. git cloned the clients repo
  2. in clients directory, did ./configure --prefix=/my/path
  3. 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.

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