[asterisk-bugs] [JIRA] (ASTERISK-27593) [patch] BuildSystem: In OpenBSD, xmlstarlet is xml.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Wed Jan 17 06:17:49 CST 2018
Alexander Traud created ASTERISK-27593:
------------------------------------------
Summary: [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: 15.2.0, 13.19.0
Environment: OpenBSD 6.2
Reporter: 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