[asterisk-bugs] [JIRA] (ASTERISK-27593) [patch] BuildSystem: In OpenBSD, xmlstarlet is xml.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Sat Jan 20 06:04:49 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Traud updated ASTERISK-27593:
---------------------------------------
Environment:
OpenBSD 6.2
FreeBSD 11.1
was:OpenBSD 6.2
> [patch] BuildSystem: In OpenBSD, xmlstarlet is xml.
> ---------------------------------------------------
>
> Key: ASTERISK-27593
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27593
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.19.0, 15.2.0
> Environment: OpenBSD 6.2
> FreeBSD 11.1
> Reporter: Alexander Traud
> Assignee: Alexander Traud
> Severity: Minor
>
> Since Asterisk 13.12, one is able to install external modules from Digium (like audio codecs and the Digium Phone Module) directly via {{make menuselect}} and {{make install}}. For this, the external package XMLStarlet is required.
> The script {{./configure}} assumes that the command-line tool is called like the package: {{xmlstarlet}}. However in OpenBSD, the tool is called {{xml}}. Furthermore, the current Makefile does not use the automatically detected name for that tool but a hard-coded value. Therefore, {{xmlstarlet}} could not be used in OpenBSD.
> The workaround is to download and install those modules manually from the Digium website.
> Side note: Even after this change, the automatic download does not work in OpenBSD, yet. This is because the shell is not switched to {{bash}} within the Makefile. Therefore, {{declare -A}} fails because that parameter to create an array does not exist in its default shell {{ksh}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list