Building PAPI requires libpfm.a even when configured with --with-static-lib=no

Issue #81 resolved
Will Cohen created an issue

Trying to build papi without static components. Disabled the build of static libraries with --with-static-lib=no in the configure. However, if there is no /usr/lib64/libpfm.a installed on machine the build fails. Configured papi with:

./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-perf-events --with-pfm-incdir=/usr/include --with-pfm-libdir=/usr/lib64 --with-static-lib=no --with-shared-lib=yes --with-shlib --with-shlib-tools '--with-components=appio coretemp example infiniband lmsensors lustre micpower mx net pcp rapl stealtime'

Then attempted a “make” and it failed with:

$ make
/usr/lib64/libpfm.a not installed!
make: *** [Rules.pfm4_pe:48: /usr/lib64/libpfm.a] Error 1

Comments (2)

  1. Log in to comment