[asterisk-bugs] [JIRA] (ASTERISK-30068) menuselect configure falure

Guido Falsi (JIRA) noreply at issues.asterisk.org
Tue May 17 09:44:40 CDT 2022


Guido Falsi created ASTERISK-30068:
--------------------------------------

             Summary: menuselect configure falure
                 Key: ASTERISK-30068
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30068
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Configuration
    Affects Versions: 18.12.0, 16.26.0
         Environment: Observed in FreeBSD, but looks likely to affect any system with the required conditions.
            Reporter: Guido Falsi
            Severity: Major


After this change:

https://gerrit.asterisk.org/c/asterisk/+/18243

when pkgconfig is present on the system and pjsip support is disabled (--without-pjproject) the configure script in the menuselect directory may fail to correctly setup the LIBXML2_INCLUDE variable.

This is due to the script trying, in this condition, to execute $SED before having poerformed the search for sed and populating the variable.
The output of the script also shows an error due to this:

checking for libxml-2.0... yes
./configure: -e: not found
checking for a sed that does not truncate output... (cached) /usr/bin/sed

The libxml-2.0 check tries to run "$SED -e ..." and ends up running " -e ..."

The sed check should happen before the libxml check. Or the libxml check just use "sed" from path and not from the variable

I don't have a patch ready, but I can followup with one as soon as I find time to code one. Not being an expert in autotools it requires some time for me, and I'm not sure of the correct procedure to regenerate the official compiled configure script.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list