[asterisk-bugs] [JIRA] (ASTERISK-27555) [patch] install_prereq: Update Debian/Ubuntu libraries.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jan 5 14:42:39 CST 2018


Alexander Traud created ASTERISK-27555:
------------------------------------------

             Summary: [patch] install_prereq: Update Debian/Ubuntu libraries.
                 Key: ASTERISK-27555
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27555
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Contrib/General
    Affects Versions: 15.1.5, 13.18.5
            Reporter: Alexander Traud
            Severity: Trivial


The script {{./contrib/scripts/install_prereq}} allows the first-time user to install the required libraries to compile all Asterisk modules. Therefore, the list of libraries should be up-to-date with the currently supported platforms and the current development of Asterisk. Especially novice users get frustrated when that script fails or is not complete: 'If the Asterisk Team does not know it, how should I?'

The last big library addition in this script happened in [August 2013|http://github.com/asterisk/asterisk/commit/03090a88bab15b94843e3850df68b37ff8948b54#diff-3df4cf34e6dd199df09696a19e19958a]. The last at-the-same-commit change, happened in [July 2012|http://github.com/asterisk/asterisk/commit/7d4ccea736c1ce325de00c23dee28c61de47e638#diff-3df4cf34e6dd199df09696a19e19958a]. Since then, all new additions got lost. Asterisk Developers who contribute new modules and features might not be aware of that script (anymore). Therefore, they forget to add their new (optional) libraries.

Furthermore, the list for Debian (and Ubuntu) was a mixture of virtual and normal packages. I change all virtual packages to one of their candidates. This revealed 

*duplicates*:
- libcurl4-openssl-dev
- libsrtp0-dev
- libmysqlclient-dev
- libncurses5-dev

*name changes*:
- libgmime-dev → libgmime-2.6-dev
- libopenh323-dev → libh323plus-dev
- libradiusclient-ng-dev → libfreeradius-client-dev → libradcli-dev
- libcorosync-dev → libcorosync-common-dev

*newly added* in Debian/Ubuntu:
- libosptk-dev

*newly added* for Asterisk 13:
- bison
- flex
- liburiparser-dev
- libsrtp2-dev
- xmlstarlet

*newly added* for Asterisk 15:
- libcodec2-dev
- libfftw3-dev
- libsndfile1-dev
- libunbound-dev

*essential by now* previously optional:
- libjansson-dev

*optional by now* previously essential:
- libz-dev
- libssl-dev

*updated*:
- lua5.1 → lua5.2
- liblua5.1-0-dev → liblua5.2-dev

*deprecated*:
- libsqlite0-dev

*Debatable*: Not sure why _uuid_ was included, even as essential. I was not able to find the source code using that. I replaced _libncurses5-dev_ by _libedit-dev_, which is newer than the Asterisk included libedit and because libedit is the only place which used _libncurses5-dev_. Finally, I am not sure what to do about _libblocksruntime-dev_ which is required for the alternative compiler _clang_. Those who go for _clang_ are told by {{./configure}} that they have to go for _libblocksruntime-dev_. Finally, I removed _libgtk2.0-dev_ because it is used only in _menuselect_ and when _libnewt-dev_ is installed, that takes precedence over GTK2.



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



More information about the asterisk-bugs mailing list