[asterisk-bugs] [JIRA] (ASTERISK-27738) [patch] install_prereq: Add Arch Linux.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Mon Mar 12 10:20:13 CDT 2018


Alexander Traud created ASTERISK-27738:
------------------------------------------

             Summary: [patch] install_prereq: Add Arch Linux.
                 Key: ASTERISK-27738
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27738
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Contrib/General
    Affects Versions: 13.19.2
         Environment: Arch Linux (rolling release)
            Reporter: Alexander Traud
            Severity: Trivial
         Attachments: Arch_install_prereq.patch

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!



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



More information about the asterisk-bugs mailing list