[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:48:01 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-26416:
-------------------------------------

    Assignee: George Joseph

> 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: 13.11.2, 14.0.1, GIT
>            Reporter: Corey Farrell
>            Assignee: George Joseph
>            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