[Pacemaker] Missing autoconf check for sensors.h?

Andrew Beekhof andrew at beekhof.net
Wed Oct 21 06:27:37 UTC 2009


No, this is a messed up snmp package.
It's pkg-config entry declares a dependency on sensors but the devel
package doesn't require it.

On Tue, Oct 20, 2009 at 9:26 PM, Florian Haas <florian.haas at linbit.com> wrote:
> 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
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>




More information about the Pacemaker mailing list