[asterisk-bugs] [JIRA] (ASTERISK-25228) configure with netsnmp fail
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Fri Jul 3 09:14:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226783#comment-226783 ]
Asterisk Team commented on ASTERISK-25228:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> configure with netsnmp fail
> ---------------------------
>
> Key: ASTERISK-25228
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25228
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 11.18.0
> Reporter: MS
>
> First I compile net-snmp 5.7.2 in a custom path /usr/local/snmp/
> Next I want to configure asterisk with this command line:
> ./configure --prefix=/usr/local/asterisk/ --with-netsnmp=/usr/local/snmp/
> The command fail and I can read this line in the config.log:
> NETSNMP_INCLUDE='-fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/snmp//usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/snmp//usr/lib/perl/5.18/CORE -I/usr/local/snmp/. -I/usr/local/snmp//usr/local/snmp/include'
> NETSNMP_LIB='-L/usr/local/snmp//usr/local/snmp/lib -lnetsnmpmibs -ldl -lnetsnmpagent -Wl,-E -lnetsnmp -lcrypto -lm'
> My command line was ok with the previous version 11.7.0.
> I've made a diff between the 2 files 'configure' and I have seen a difference on these lines:
> NETSNMP_INCLUDE=$(${CONFIG_NETSNMP} $A)
> /*NETSNMP_INCLUDE=$(echo ${NETSNMP_INCLUDE} | $SED -e "s|-I|-I${NETSNMP_DIR}|g")*/
> and
> NETSNMP_LIB=$(${CONFIG_NETSNMP} $A)
> /*NETSNMP_LIB=$(echo ${NETSNMP_LIB} | $SED -e "s|-L|-L${NETSNMP_DIR}|g")*/
> I have comment with /* */ the 2nd rows and I have been able to execute the configure.
> I don't know very well 'configure' but something duplicates custom prefix in the path.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list