[Home]

Summary:ASTERISK-27738: [patch] install_prereq: Add Arch Linux.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-12 10:18:59Date Closed:2018-03-16 08:43:14
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Contrib/General
Versions:13.19.2 Frequency of
Occurrence
Related
Issues:
Environment:Arch Linux (rolling release)Attachments:( 0) Arch_install_prereq.patch
Description:When it comes to Arch Linux, Asterisk has seen contributions from the community in the past, like the startup script with Mantis 13667 (ASTERISK-12868, commit [493e903|http://github.com/asterisk/asterisk/commit/493e903892b6f4584fa1803c639d9e6f4769de97]). Arch Linux offers no pre-compiled package of Asterisk. Therefore, the support should be as complete as possible, at least on the same level within Asterisk already. One puzzle piece is the script {{./contrib/scripts/install_prereq}}, which allows a first-time user to install required libraries to compile all Asterisk modules.

After tests in Arch Linux the following differences to Red Hat were revealed (see ASTERISK-27686):

*not added* because not found:
* [Codec 2|http://www.rowetel.com/?page_id=452]
* Corosync
* [Hoard|http://hoard.org/]
* [iksemel|http://code.google.com/p/iksemel]
* libresample, not API compatible with libsamplerate either

*not added*:
* jack

The module app_jack -- the only module which requires jack -- requires libresample as well. libresample was not found. Therefore, no reason was found to install jack, although that is available as port.

*Notes*
Arch Linux has Python 3 as default. Because I am not sure whether Asterisk is Python 3 compatible/tested already, I went for Python 2 like with the other distributions.

The package libutil-linux and sqlite are pre-installed. However, to change them as explicitly installed, I had to add {{--asexplicit}}.

Like Debian/Ubuntu, Arch Linux allows to search all packages for specific files; very fast via the command line interface:{code}pacman -Fy
pacman -Fs libedit.so{code}Thanks to that, this list of packages was collected in minutes. Furthermore, the interface was so fast, I could even double-check not only via the library name but also via the header name, whether I have the latest package. Kudos to the team of Arch Linux for this!
Comments:By: Asterisk Team (asteriskteam) 2018-03-12 10:19:00.269-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2018-03-16 08:43:16.171-0500

Change 8514 merged by Jenkins2:
install_prereq: Add Arch Linux.

[https://gerrit.asterisk.org/8514|https://gerrit.asterisk.org/8514]

By: Friendly Automation (friendly-automation) 2018-03-16 08:50:27.800-0500

Change 8513 merged by Jenkins2:
install_prereq: Add Arch Linux.

[https://gerrit.asterisk.org/8513|https://gerrit.asterisk.org/8513]

By: Friendly Automation (friendly-automation) 2018-03-16 08:55:03.747-0500

Change 8512 merged by Jenkins2:
install_prereq: Add Arch Linux.

[https://gerrit.asterisk.org/8512|https://gerrit.asterisk.org/8512]