[asterisk-bugs] [JIRA] (ASTERISK-26416) pjproject-bundled: configure fails to check for all required utilities
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Wed Sep 28 11:46:01 CDT 2016
Corey Farrell created ASTERISK-26416:
----------------------------------------
Summary: pjproject-bundled: configure fails to check for all required utilities
Key: ASTERISK-26416
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26416
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip/Bundling
Affects Versions: 14.0.1, 13.11.2, GIT
Reporter: Corey Farrell
Severity: Minor
This issue was found while working on a Centos 7 Dockerfile to run the testsuite. When I attempted to enable bundled pjproject first it failed due to 'lack of download program'. This was actually lack of 'which' utility. Additional utilities that are run by pjproject bundling Makefile:
* bzip2 (for tar extraction)
* autoconf
The main configure.ac should be determining if build requirements are available and fail when bundled pjproject is requested but impossible. For finding the download program we should use AC_PROG_PATH instead of which. We should check for / fail if otherwise unneeded utilities are missing (bzip2, autoconf).
Additionally we should not be running utilities directly by name in third-party/pjproject/Makefile. For example instead of {{sed}} we should run {{$\{SED\}}}. Always use the results of ./configure!
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list