« Return to Thread: bugzilla 3.0.x installation on FC7

Re: bugzilla 3.0.x installation on FC7

by dexterneedsabrain :: Rate this Message:

Reply to Author | View in Thread

On Oct 20, 1:26 am, David Miller <justd...@...> wrote:

> Clement Chan wrote on 10/19/07 7:37 PM:
>
> > I am looking for installation instructions for installing 3.0 on FC7, I
> > am getting lots of Perl module conflicts.
>
> > Are there any version-listing for all the Perl Modules and the software
> > dependencies listing out there? It is so that I can install 3.0 in one
> > pass?
>
> Just about every module Bugzilla depends on is available as a package on
> FC7.  And thanks to the "Provides" attributes in the perl RPM packages,
> you can reference them by module name and yum will find them if they're
> packaged.
>
> yum install 'perl(Module::Name)'
>
> So anything "./checksetup.pl --check-modules" says you still need, you
> can try installing that way before falling back on CPAN.  That'll also
> get non-perl-module dependencies automatically for modules that depend
> on external libraries (like ImageMagick, GD, etc).
>
> --
> Dave Miller                                  http://www.justdave.net/
> System Administrator, Mozilla Corporation      http://www.mozilla.com/
> Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/

here is a handy 'note' i use for perl module installation.
I reload my perl CPAN configuration
cpan> o conf init
with 'always follow' as my answer to dependencies resolution for perl
modules.
More instruction can be found here:
http://sial.org/howto/perl/life-with-cpan/

and this is generally the list of perl modules :

cpan> install Mail::Mailer AppConfig Template  Date::Format
XML::Parser PatchReader Chart::Base
cpan> install XML::XPath XML::RSS XML::DOM
cpan >install Tie::DBI (might fail)
cpan> install Image::info Image::Size

Modules:
1. install LWP
2. install Bundle::DBI - needs following packages
    a. ExtUtils::Command::MM
    b. Net::Daemon
c. RPC::PIServer - not sure of the package name
    d. IO::Tty

3. install Template
    a. Text::Autoformat
    b.GD
    c. GD::Text
    d. GD::Graph
        i). AppConfig
        ii). Text::Autoformat
to get GD working - this is how i do it:

GD:              /usr/bin/perl -MCPAN -e 'install "GD"'
make sure GD libraries are installed: glib gtk+ gtk2 gdk-pixbuf
(nodeps install using yum or rpm)
GD::Graph:       /usr/bin/perl -MCPAN -e 'install "GD::Graph"'
GD::Text::Align: /usr/bin/perl -MCPAN -e 'install "GD::Text::Align"'

The following packages are for RHEL5: (YMMV)
wget http://ftp.freshrpms.net/pub/dag/packages/perl-GD/perl-GD-2.35-1.el5.rf.i386.rpm
wget http://ftp.freshrpms.net/pub/dag/packages/perl-Template-GD/perl-Template-GD-2.66-1.el5.rf.noarch.rpm
wget http://ftp.freshrpms.net/pub/dag/packages/perl-GD-Graph/perl-GD-Graph-1.43-1.2.el5.rf.noarch.rpm
wget http://ftp.freshrpms.net/pub/dag/packages/perl-GD-Graph3d/perl-GD-Graph3d-0.63-2.2.el5.rf.noarch.rpm
get http://ftp.freshrpms.net/pub/dag/packages/perl-GD-Text-Util/perl-GD-Text-Util-0.86-1.2.el5.rf.noarch.rpm
wget http://ftp.freshrpms.net/pub/dag/packages/perl-Template-Toolkit/perl-Template-Toolkit-2.19-1.el5.rf.i386.rpm
    e.GD::Graph3d
    g. Image::Info
    h. Image::Size
        i. Date::Calc
        i). Bit::vector
        ii). Carp::Clan
    j. Pod::POM
    k. Tie::DBI
    l. XML::DOM
        i) Test::Manifest
    m. XML::RSS
    n. XML::XPath
    o. DBI
        i).Module::Build
    p. DBD::mysql
    q. HTML::Parser
for ImageMagick:
wget http://centos.arcticnetwork.ca/5.0/os/i386/CentOS/ImageMagick-perl-6.2.8.0-3.el5.4.i386.rpm

MIME-tools: /usr/bin/perl -MCPAN -e 'install MIME::Parser'
     PerlMagick: /usr/bin/perl -MCPAN -e 'install Image::Magick'
      SOAP-Lite: /usr/bin/perl -MCPAN -e 'install SOAP::Lite'
       mod_perl: /usr/bin/perl -MCPAN -e 'install mod_perl2'
     Apache-DBI: /usr/bin/perl -MCPAN -e 'install Apache::DBI'


 Imagemap in bugzilla:

The following directive will activate files ending with .map as
imagemap files:

    AddHandler imap-file map

Note that the following is still supported:

    AddType application/x-httpd-imap map

then add the /usr/bin/dot in the 'webdotdatabase' configuration in
editparams.cgi page in bugzilla configuration
So, to get this working, install GraphViz. If you do that, you need to
enable server-side image maps in Apache.
http://www.graphviz.org/Download_linux.php
Dependancy for Graphviz:
 wget http://ftp.telus.net/pub/centos/5.0/os/i386/CentOS/libtool-ltdl-1.5.22-6.1.i386.rpm
hope it helps
dexter

_______________________________________________
support-bugzilla mailing list
support-bugzilla@...
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-bugzilla@... in the To: field when you reply.

 « Return to Thread: bugzilla 3.0.x installation on FC7