Summary: | ASTERISK-10139: [patch] install_prereq script for asterisk | ||||||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |||||
Date Opened: | 2007-08-22 05:57:22 | Date Closed: | 2008-06-07 13:24:27 | ||||
Priority: | Minor | Regression? | No | ||||
Status: | Closed/Complete | Components: | Core/BuildSystem | ||||
Versions: | Frequency of Occurrence | ||||||
Related Issues: |
| ||||||
Environment: | Attachments: | ( 0) install_prereq ( 1) install_prereq_2 ( 2) prereq.sh | |||||
Description: | Attached a script that attempts to install prerequirements for building asterisk. Currently supported distributions are Debian (3.1 and 4.0) and CentOS/RHEL 4 and 5. Chances are it will also work for versions of Fedora. It should be easy to extend it to other distributions. Current version is for Zaptel as well, and hence the kernel bits. The packages list for Debian is taken from the build requirement of the Debian package and hence shoots for a very maximal configuration (e.g: with h323, odbc, pgsql). ****** ADDITIONAL INFORMATION ****** The script's usage is pretty simple: you must provide a "command", so you won't accidentally run it without knowing what it does. Possible commands are "test" and "install". "install" will install the required packages. "test will only print what "install" is about to do. The format is clear and simple. It uses apt-get and yum to do the work and assumes that those two are properly configured. | ||||||
Comments: | By: Tzafrir Cohen (tzafrir) 2007-08-22 06:07:52 prereq.sh: a script with all the zaptel stuff and kernel stuff. Pros: it is actually tested. Cons: it has junk unrelated to Asterisk. install_prereq: trimmed everything related just to Zaptel from the above. Requires some testing. By: Digium Subversion (svnbot) 2007-09-26 14:52:35 Repository: zaptel Revision: 3094 ------------------------------------------------------------------------ r3094 | tilghman | 2007-09-26 14:52:34 -0500 (Wed, 26 Sep 2007) | 2 lines Add a script to load package prerequisites (closes issue ASTERISK-10139) ------------------------------------------------------------------------ By: Tzafrir Cohen (tzafrir) 2007-09-26 18:16:38 There is already such a script in Zaptel, with build requirements for Zaptel: build_tools/install_prereq (is that a bad place?) This script is intended to go into Asterisk's contrib dir. By: Tilghman Lesher (tilghman) 2007-09-29 00:42:50 build_tools is intended for use with the build system. If the build system doesn't automatically run it, it's in the wrong place; it should be in contrib. By: Digium Subversion (svnbot) 2007-10-05 19:03:51 Repository: asterisk Revision: 84886 A team/group/zapata_conf/contrib/scripts/install_prereq ------------------------------------------------------------------------ r84886 | tzafrir | 2007-10-05 19:03:49 -0500 (Fri, 05 Oct 2007) | 6 lines Add install_prereq from bug ASTERISK-10139 to the branch team/group/zapata_conf . This script is intended to sort out what needs to be installed for building Asterisk. Not related to this branch, but separate enough. ------------------------------------------------------------------------ By: Jason Parker (jparker) 2008-01-09 13:26:10.000-0600 To be perfectly honest, I don't see much value in this. What I would much rather see, is a document explaining which packages would be needed for which features/modules. By: Olle Johansson (oej) 2008-01-09 13:41:53.000-0600 bison is no longer a requirement, btw By: Tzafrir Cohen (tzafrir) 2008-01-09 14:19:59.000-0600 install_prereq_2: * Explicitly refuse to run in case other systems are detected (maybe this will propmpt someone to write support for those case) * Remove bison * Don't call RH "Debian" :-) By: jmls (jmls) 2008-05-03 14:25:11 is this still wip ? By: Tzafrir Cohen (tzafrir) 2008-05-03 14:53:37 It should work well. If there are any problems with it, please report. By: Digium Subversion (svnbot) 2008-05-12 15:28:54 Repository: asterisk Revision: 115813 A trunk/contrib/scripts/install_prereq ------------------------------------------------------------------------ r115813 | tilghman | 2008-05-12 15:28:52 -0500 (Mon, 12 May 2008) | 8 lines Add a script which installs every package needed for a Debian install of Asterisk, and includes possible support (to be contributed) for various other distributions. (closes issue ASTERISK-10139) Reported by: tzafrir Patches: install_prereq_2 uploaded by tzafrir (license 46) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=115813 By: Digium Subversion (svnbot) 2008-05-12 15:30:20 Repository: asterisk Revision: 115814 _U branches/1.6.0/ ------------------------------------------------------------------------ r115814 | tilghman | 2008-05-12 15:30:19 -0500 (Mon, 12 May 2008) | 15 lines Blocked revisions 115813 via svnmerge ........ r115813 | tilghman | 2008-05-12 15:34:38 -0500 (Mon, 12 May 2008) | 8 lines Add a script which installs every package needed for a Debian install of Asterisk, and includes possible support (to be contributed) for various other distributions. (closes issue ASTERISK-10139) Reported by: tzafrir Patches: install_prereq_2 uploaded by tzafrir (license 46) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=115814 By: Digium Subversion (svnbot) 2008-06-07 13:24:27 Repository: dahdi Revision: 3094 A branches/1.4/contrib/ A branches/1.4/contrib/scripts/ A branches/1.4/contrib/scripts/install_prereq ------------------------------------------------------------------------ r3094 | tilghman | 2008-06-07 13:24:26 -0500 (Sat, 07 Jun 2008) | 2 lines Add a script to load package prerequisites (closes issue ASTERISK-10139) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=3094 |