[asterisk-bugs] [Asterisk 0012067]: Configure Script does not properly test for net-snmp.
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Feb 25 17:48:36 CST 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=12067
======================================================================
Reported By: juggie
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 12067
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 02-25-2008 15:41 CST
Last Modified: 02-25-2008 17:48 CST
======================================================================
Summary: Configure Script does not properly test for
net-snmp.
Description:
The asterisk configure script does not test net-snmp properly, in my case
this resulted in a compile error because lm_sensors-devel was not
installed.
File had me run the following:
[root at DONNY-CENTOS ~]# net-snmp-config --agent-libs
-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl
-lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors -L/usr/lib/lib -lwrap
-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
-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
-ldl -lm -lcrypt -lutil -lpthread -lc
He thought that configure should be doing a test compile of snmp with
these libs before saying it was ok, however the configure script does
only:
configure:35732: checking for net-snmp-config
configure:35748: found /usr/bin/net-snmp-config
configure:35759: result: net-snmp-config
The end result of course being:
make[1]: Entering directory
`/root/asterisk-2008/asterisk-NoLossCDR-Redux/res'
[LD] res_snmp.o snmp/agent.o -> res_snmp.so
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make[1]: *** [res_snmp.so] Error 1
======================================================================
----------------------------------------------------------------------
russell - 02-25-08 17:48
----------------------------------------------------------------------
This is a broken package, really. We do not require the sensors headers.
The library itself should be a dependency for the snmp package.
Issue History
Date Modified Username Field Change
======================================================================
02-25-08 17:48 russell Note Added: 0082928
======================================================================
More information about the asterisk-bugs
mailing list