[asterisk-bugs] [JIRA] (ASTERISK-27202) If wget is not installed and "or" is not available, external components (excluding pjsip) are not installed

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Aug 16 13:39:07 CDT 2017


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

Richard Mudgett updated ASTERISK-27202:
---------------------------------------

    Description: 
When `wget` is not installed, `makeopts` is built with the DOWNLOAD_TIMEOUT value of `--max-time $(or $2,$1)` (reference line 301 of `configure.ac`).

`or` does not appear to exist in the `bash` which is available in Debian stretch (assuming it is a builtin... it definitely does not exist in the filesystem), so when makeopts is called to download externals such as opus or siren7, you get an error about `makeopts: or command not found`.  The `make install` process completes, but you will not have those codecs.

Simple workaround is simply to install wget, in which case DOWNLOAD_TIMEOUT is set to `--timeout=$1`, which works fine.

Perhaps this is a just a problem on my system, but none of my machines has `or` available.

  was:
hen `wget` is not installed, `makeopts` is built with the DOWNLOAD_TIMEOUT value of `--max-time $(or $2,$1)` (reference line 301 of `configure.ac`).

`or` does not appear to exist in the `bash` which is available in Debian stretch (assuming it is a builtin... it definitely does not exist in the filesystem), so when makeopts is called to download externals such as opus or siren7, you get an error about `makeopts: or command not found`.  The `make install` process completes, but you will not have those codecs.

Simple workaround is simply to install wget, in which case DOWNLOAD_TIMEOUT is set to `--timeout=$1`, which works fine.

Perhaps this is a just a problem on my system, but none of my machines has `or` available.


> If wget is not installed and "or" is not available, external components (excluding pjsip) are not installed
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27202
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27202
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus, Codecs/codec_siren7
>    Affects Versions: 14.6.0
>         Environment: Debian stretch (and jessie)
>            Reporter: Seán C. McCord
>            Severity: Trivial
>
> When `wget` is not installed, `makeopts` is built with the DOWNLOAD_TIMEOUT value of `--max-time $(or $2,$1)` (reference line 301 of `configure.ac`).
> `or` does not appear to exist in the `bash` which is available in Debian stretch (assuming it is a builtin... it definitely does not exist in the filesystem), so when makeopts is called to download externals such as opus or siren7, you get an error about `makeopts: or command not found`.  The `make install` process completes, but you will not have those codecs.
> Simple workaround is simply to install wget, in which case DOWNLOAD_TIMEOUT is set to `--timeout=$1`, which works fine.
> Perhaps this is a just a problem on my system, but none of my machines has `or` available.



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



More information about the asterisk-bugs mailing list