Summary: | ASTERISK-25228: configure with netsnmp fail | ||
Reporter: | MS (ims77) | Labels: | |
Date Opened: | 2015-07-03 09:13:41 | Date Closed: | 2020-01-14 11:13:30.000-0600 |
Priority: | Major | Regression? | Yes |
Status: | Closed/Complete | Components: | |
Versions: | 11.18.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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: {noformat} 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' {noformat} 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: {noformat} 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")*/ {noformat} 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. | ||
Comments: | By: Asterisk Team (asteriskteam) 2015-07-03 09:13:43.466-0500 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]. By: Rusty Newton (rnewton) 2015-07-08 15:17:08.029-0500 Can you attach the full config.log for both versions? Thanks! By: Asterisk Team (asteriskteam) 2015-07-23 12:00:22.049-0500 Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1]. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines |