[asterisk-bugs] [Asterisk 0012067]: Configure Script does not properly test for net-snmp.
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Mar 25 13:47:51 CDT 2008
The following issue has been set PARENT OF issue 0012290.
======================================================================
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: closed
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: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-25-2008 15:41 CST
Last Modified: 03-14-2008 12:01 CDT
======================================================================
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
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
parent of 0012290 Can not choose res_snmp in "make m...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-25-08 13:47 juggie Relationship added parent of 0012290
======================================================================
More information about the asterisk-bugs
mailing list