[Home]

Summary:ASTERISK-27599: [patch] install_prereq: Update RHEL/CentOS/Fedora libraries.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-01-19 05:08:16.000-0600Date Closed:2018-01-31 06:35:04.000-0600
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Contrib/General
Versions:13.19.0 15.2.0 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-26981 contrib: Patch for install_prereq script to support correct packages for Fedora F25
is duplicated byASTERISK-17059 [patch] Improvements to install_prereq
is related toASTERISK-10139 [patch] install_prereq script for asterisk
Environment:Fedora 27 CentOS 7.4 CentOS 6.9Attachments:( 0) prerequisites_red_hat_update.patch
Description: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.

Finally, Red Hat packages several libraries today which were not present on default before. The proposed list is a copy-and-paste of ASTERISK-27555. After tests in CentOS 6, CentOS 7, and Fedora 27 the following differences to ASTERISK-27555 were revealed:

*newly added*:
- Hoard

*not added* because not found:
- libSRTP2, Red Hat is still using the original libSRTP
- Open Settlement Protocol Toolkit (OSPTK)
- -H.323-, see ASTERISK-27670
- Voicetronix (libvpb)

Furthermore, some old package versions were used like gmime22-devel, which got dropped with Fedora 22 and even blocked the execution of the script. The list even included _pjproject-devel_ which should not be installed anymore because of {{./configure --with-pjproject-bundled}}
Comments:By: Alexander Traud (traud) 2018-01-22 11:02:45.738-0600

Compared the the previous Fedora list, the following was changed:

*deleted*
- pjproject-devel, because of ./configure --with-pjproject-bundled
- ncurses-devel, because of newt and libedit
- automake, not required by the patches for PJProject right now
- libsqlite3x-devel, because it does not exist (sqlite-devel is already version 3)
- sqlite2-devel, because it does not exist (sqlite-devel is already version 3)
- git, because it is not used by unpackaged anymore

*updated*
- radiusclient-ng-devel → radcli-devel
- gmime22-devel → gmime-devel

*new*
- graphviz, because of dot
- alsa-lib-devel bash binutils-devel bison doxygen flex hoard make pkgconfig speexdsp-devel uriparser-devel uw-imap-devel wget xmlstarlet zlib-devel
- (not used in branch 13, only newer) codec2-devel fftw-devel libsndfile-devel unbound-devel

By: Friendly Automation (friendly-automation) 2018-01-31 06:35:05.864-0600

Change 8016 merged by Jenkins2:
install_prereq: Update RHEL/CentOS/Fedora libraries.

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

By: Friendly Automation (friendly-automation) 2018-01-31 06:44:18.290-0600

Change 8014 merged by Jenkins2:
install_prereq: Update RHEL/CentOS/Fedora libraries.

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

By: Friendly Automation (friendly-automation) 2018-01-31 06:45:20.488-0600

Change 8015 merged by Jenkins2:
install_prereq: Update RHEL/CentOS/Fedora libraries.

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