[Home]

Summary:ASTERISK-17059: [patch] Improvements to install_prereq
Reporter:Fossard Florent (ffossard)Labels:
Date Opened:2010-12-03 08:44:25.000-0600Date Closed:2017-12-12 20:36:52.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-27599 [patch] install_prereq: Update RHEL/CentOS/Fedora libraries.
Environment:Attachments:( 0) 20101203_install_prereq-rh.diff
Description:Improvements to ./contrib/script/install_prereq
======================================================

new list of packages for RedHat-based Distributions:
gcc gcc-c++ ncurses-devel libxml2-devel openssl-devel mysql-devel postgresql-devel sqlite-devel unixODBC-devel libtool-ltdl-devel freetds-devel alsa-lib-devel openldap-devel curl-devel libvorbis-devel libusb-devel gmime-devel bluez-libs-devel net-snmp-devel flex bison subversion newt-devel

Tested with CentOS 5.5

Two packages may be optional:
- contrib/scripts/get_mp3_source.sh (format_mp3) and "install_prereq install-unpackaged" needs "subversion" package
- "make menuselect" interface is usable with "newt-devel" package

Comments:By: Paul Belanger (pabelanger) 2010-12-04 21:07:09.000-0600

Update your 1.8 branch again, I merged something in a few weeks ago.

By: Fossard Florent (ffossard) 2010-12-05 12:40:25.000-0600

ok, svn contains your improvements, good work !

I have a few comments:
- ok for openais-devel and speex-devel, I did not have them seen.

- is libogg-devel necessary ? (libvorbis-devel is sufficient to enable "format_ogg_vorbis" but I have not tried to read an ogg file...)

- I did not need automake ..?

- I install "bison" and "flex" to enable "REBUILD_PARSERS"

- These packages require a non-base repository:
libcurl-devel
spandsp-devel
iksemel-devel
popt-devel
lua-devel
libsqlite3x-devel
radiusclient-ng-devel
portaudio-devel
libresample-devel
libical-devel
gmime22-devel
sqlite2-devel
jack-audio-connection-kit-devel

EPEL repository adds some, but not these:
libcurl-devel
popt-devel
libsqlite3x-devel
gmime22-devel
sqlite2-devel

- I install curl-devel (instead of libcurl-devel), gmime-devel (instead of gmime22-devel), sqlite-devel (instead of libsqlite3x-devel), libusb-devel, and alsa-lib-devel.


What repo do you use ?
Can we ask users to add this repository to use the install_prereq script ?




Are there plans to support installation to other systems of the script? I can work on it.

Thanks!

Florent.

By: Leif Madsen (lmadsen) 2010-12-07 12:56:07.000-0600

Good work guys. To try and answer some questions (and just re-pose in some cases):

External repos:

We might be able to detect if a repo is available, or perhaps print out a note if we can't install dependencies that rely on that external repo, directing them to the site of the external repo (i.e. EPEL, Dag Wieers, etc.)

Which other systems are you thinking? The install_prereq supports Ubuntu (maybe Debian) and CentOS right now I think. I see no reason not to support additional systems if you wanted to add them.

Paul will have to answer why he is using different packages than you. It might be a good idea to review the packages we are documenting at http://ofps.oreilly.com in the new Asterisk: The Definitive Guide book. If we could match up the packages there with the prereq script, that would be great, because then we could either have people install via the script in the book, or the install_prereq script.

Leif.

By: Fossard Florent (ffossard) 2010-12-13 08:10:40.000-0600

For other distributions, I think those marked "unsupported" in the script.
I worked on the support for Mandriva: https://issues.asterisk.org/view.php?id=18465

By: Corey Farrell (coreyfarrell) 2017-12-12 20:36:53.001-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines \[1\].

\[1\] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines