[asterisk-bugs] [Asterisk 0016991]: [patch] Can't build asterisk using just --with-netsnmp... seems to always want to use CONFIG_NETSNMP

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 29 10:22:50 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16991 
====================================================================== 
Reported By:                pprindeville
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   16991
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.5 
JIRA:                       SWP-1063 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-08 14:42 CST
Last Modified:              2010-06-29 10:22 CDT
====================================================================== 
Summary:                    [patch] Can't build asterisk using just
--with-netsnmp... seems to always want to use CONFIG_NETSNMP
Description: 
It's issue 15714 all over again, only with netsnmp instead of curl this
time.

If you've built a different version of netsnmp (or patched it) and you
want to build against that, you can't.

Configure will attempt to find net-snmp-config and run that...  which
might not be in any place it will likely be discovered... and ignores where
you've told 'configure' to actually find the headers and libraries.

====================================================================== 

---------------------------------------------------------------------- 
 (0124024) twilson (administrator) - 2010-06-29 10:22
 https://issues.asterisk.org/view.php?id=16991#c124024 
---------------------------------------------------------------------- 
Sorry, I didn't notice the bootstrap.sh call. I was trying to view things
on my phone while watching the World Cup. :-)

Anyway, configure is definitely finding your net-snmp-config file:

checking for net-snmp-config...
/home/philipp/kernel/build_i586/root/usr/bin/net-snmp-config

But something is wrong. I really need to see the config.log file to do any
real debugging on this, though. Not just the build output. I'm guessing
that the netsnmp test compile failed. In my config.log it shows:


configure:20038: checking for net-snmp-config
configure:20057: found /usr/bin/net-snmp-config
configure:20069: result: /usr/bin/net-snmp-config
configure:20122: ccache gcc -o conftest -g -O2  -DNETSNMP_ENABLE_IPV6 -g
-O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I.
-I/usr/include  conftest.c -Wl,-Bsymbolic-functions -L/usr/lib
-lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp -Wl,-E >&5
configure:20122: $? = 0

I need to see what yours says to have any idea what is going on. As far as
the claim that lua is broken, I don't see any way it could happen and also
don't see any evidence in the log you posted. Are you sure there is an
issue there? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-29 10:22 twilson        Note Added: 0124024                          
======================================================================




More information about the asterisk-bugs mailing list