[Pacemaker] Missing autoconf check for sensors.h?

Florian Haas florian.haas at linbit.com
Tue Oct 20 19:26:05 UTC 2009


Andrew,

building current tip against Heartbeat on CentOS 5, my build fails with:

[...]
gcc -g -O2 -I/usr/include/heartbeat -ggdb3 -O0 -fgnu89-inline
-fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
-Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline
-Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute
-Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith
-Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -o
.libs/crm_mon crm_mon.o -Wl,-E -Wl,-rpath
-Wl,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
../lib/common/.libs/libcrmcommon.so -L/lib ../lib/cib/.libs/libcib.so
/home/rpmbuild/hg/pacemaker-stable-1.0/lib/common/.libs/libcrmcommon.so
/usr/lib/libhbclient.so /usr/lib/libccmclient.so -L/usr/lib
-lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -lrpm -lrpmio
-lpopt -lz -lcrypto -lsensors -L/usr/lib/lib -lwrap -L/usr/local/lib
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv
-lnsl -lm -lcrypt -lutil -lpthread ../lib/pengine/.libs/libpe_status.so
/usr/lib/liblrm.so /usr/lib/libplumb.so /usr/lib/libpils.so -lbz2 -lxslt
-lxml2 -lc -luuid -lrt -lglib-2.0 /usr/lib/libltdl.so -ldl
/usr/bin/ld: cannot find -lsensors

I configured with "./configure --disable-fatal-warnings --with-heartbeat
--without-ais".

Some missing AC_CHECK_LIB in configure.ac?

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091020/aaf8e7e8/attachment-0003.sig>


More information about the Pacemaker mailing list