Bugzilla:Prerequisites: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (Adding Debian Lenny prerequisites)
(Replaced content with "See http://bugzilla.readthedocs.org/en/latest/installing/linux.html .")
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=== Fedora / RHEL / CentOS ===
See http://bugzilla.readthedocs.org/en/latest/installing/linux.html .
 
The vast majority of Bugzilla's prerequisites are available in RPM form either from the distro or from [http://rpmforge.net/ RPMForge].  Instructions for setting up yum, apt, or up2date to download from RPMForge automatically are available at http://rpmforge.net/user/faq/
 
The following packages are required:
* httpd
* mysql-server
* perl-AppConfig
* perl-Template-Toolkit
* ''to be continued'' (perl modules are generally in the format "perl-<packagename>" with case preserved, and all :: changed to - )
 
=== Ubuntu ===
 
To get the official version (as opposed to Debian's version) of Bugzilla working on Ubuntu Breezy Badger (5.10), you need to install the base system and the following packages:
 
Required:
* apache2
* mysql-server
* libappconfig-perl
* libdate-calc-perl
* libtemplate-perl
* libmime-perl
* build-essential
 
Optional:
* libchart-perl
* libxml-perl
* libxml-twig-perl
* perlmagick
* libgd-graph-perl
 
Even More Optional:
* libtemplate-perl-doc
* cvs
 
You will then find that there is no module for PatchReader, and the shipped Mail::Mailer is too old. So you will need to use CPAN to install these in the usual way (hence the need for build-essential), as prompted by checksetup.
 
=== Debian Lenny ===
<pre>
REQUIRED MODULES                  VERSIONS          apt-get install
 
CGI.pm (v3.33)                ok: found v3.38        libcgi-pm-perl
TimeDate (v2.21)              ok: found v2.22        libtimedate-perl
PathTools (v0.84)            ok: found v3.2501      already installed with standard install
DBI (v1.41)                  ok: found v1.605      libauthen-simple-dbi-perl
Template-Toolkit (v2.15)      ok: found v2.19        libtemplate-perl
Email-Send (v2.00)            ok: found v2.192      libemail-send-perl
Email-MIME (v1.861)          ok: found v1.861      libemail-mime-perl
Email-MIME-Modifier (v1.442)  ok: found v1.442      libemail-mime-modifier-perl
 
PERL DBD MODULES
DBD-Pg (v1.45)                ok: found v2.8.7      libdbd-pg-perl
DBD-mysql (v4.00)            ok: found v4.007      mysql-server-5.0
 
OPTIONAL MODULES
GD (v1.20)                  ok: found v2.39        lib-chart-perl
Chart (v1.0)                ok: found v2.4.1        lib-chart-perl
Template-GD (any)            ok: found v1.56        libtemplate-pg-perl
GDTextUtil (any)            ok: found v0.86        libgd-graph-perl
GDGraph (any)                ok: found v1.44        libgd-graph-perl
XML-Twig (any)              ok: found v3.32        libxml-twig-perl
MIME-tools (v5.406)          ok: found v5.427        libmime-perl
libwww-perl (any)            ok: found v5.813        libwww-perl
PerlMagick (any)            ok: found v6.3.7        perlmagick
perl-ldap (any)              ok: found v0.36        libauthen-simple-ldap-perl
Authen-SASL (any)            ok: found v2.12        libauthen-sasl-perl
RadiusPerl (any)            ok: found v0.13        libauthen-simple-radius-perl
SOAP-Lite (any)              ok: found v0.710.08    libsoap-lite-perl
HTML-Parser (v3.40)          ok: found v3.56        libhtml-parser-perl
HTML-Scrubber (any)          ok: found v0.08        libhtml-scrubber-perl
mod_perl (v1.999022)        ok: found v2.000004    libapache2-mod-perl2
 
There are currently no available deb packages for the following modules:
 
DBD-Oracle (v1.19)
PatchReader (v0.9.4)
Email-MIME-Attachment-Stripper (any)
Email-Reply (any)
 
In order to get them, run the following commands in your Bugzilla directory:
/usr/bin/perl -MCPAN -e 'install "DBD::Oracle"'
/usr/bin/perl -MCPAN -e 'install "PatchReader"'
/usr/bin/perl -MCPAN -e 'install "Email::MIME::Attachment::Stripper"'
 
apt-get install libemail-mime-creator-perl
/usr/bin/perl -MCPAN -e 'install "Email::Reply"'
</pre>
=== Source via CPAN ===
 
If you are using a distro that doesn't have packages readily available, or are behind a firewall that restricts outbound traffic and you need to install things manually, the following are the upstream sources for Bugzilla's prerequisites.
 
I plan to have direct links for each module here soon, but in the meantime, you can find them by setting the search type to "Module" and searching for the module name on [http://search.cpan.org/ CPAN]. You can install [http://search.cpan.org/dist/Bundle-Bugzilla Bundle::Bugzilla], it is outdated, but will install many of prerequisites. You can install it automatically using CPAN or CPANPLUS shells.
 
[[category:Bugzilla|Prerequisites]]

Latest revision as of 16:15, 16 February 2015