[rt-users] RPM installation of RT - missing perl modules

Fernando Frota Machado de Morais frota at cecom.ufmg.br
Thu Apr 12 19:48:49 EDT 2007



After trying to install RTIR + RTFM over a rpm install of rt3, I decided to 
remove the RPM and make the things by hand. The installation of rt3 (3.6.3) 
asked for some perl modules, suposed to be installed as pre-requisites of the 
rpm. I lost my notes, but at yum.log I found 2 sets of lines. So, you can try 
to install those packages or follow the instructions at README file of the 
original package until the "testdeps" part. At this point, you can use yum to 
install the perl modules, instead of using CPAN. After years using CPAN, I 
decided to stop with it and only install RPMs. 

yum.log (set 1)

Apr 06 20:17:16 Installed: perl-TeX-Hyphen.noarch 0.140-5.fc6
Apr 06 20:17:16 Installed: perl-Text-Reform.noarch 1.11-6.fc6
Apr 06 20:17:16 Installed: perl-WWW-Mechanize.noarch 1.22-2.fc6
Apr 06 20:17:16 Installed: perl-Carp-Assert.noarch 0.18-4.fc6
Apr 06 20:17:16 Installed: perl-Carp-Assert-More.noarch 1.12-3.fc6
Apr 06 20:17:16 Installed: perl-Test-LongString.noarch 0.11-1.fc6
Apr 06 20:17:17 Installed: perl-Text-Autoformat.noarch 1.13-4.fc6
Apr 06 20:17:17 Installed: perl-Test-WWW-Mechanize.noarch 1.12-1.fc6

yum.log (set 2)

Apr 06 20:28:17 Installed: perl-Class-Accessor.noarch 0.30-1.fc6
Apr 06 20:28:17 Installed: perl-Class-Accessor-Chained.noarch 0.01-4.fc6
Apr 06 20:28:17 Installed: perl-FreezeThaw.noarch 0.43-5.fc6
Apr 06 20:28:17 Installed: perl-Class-Singleton.noarch 1.03-3.fc6
Apr 06 20:28:18 Installed: perl-DateTime.i386 1:0.34-3.fc6
Apr 06 20:28:18 Installed: perl-DateTime-Format-Mail.noarch 0.30-4.fc6
Apr 06 20:28:18 Installed: perl-DateTime-Format-W3CDTF.noarch 0.04-1.fc6
Apr 06 20:28:19 Installed: perl-IO-Tty.i386 1.07-2.fc6
Apr 06 20:28:19 Installed: perl-Expect.noarch 1.20-1.fc6
Apr 06 20:28:19 Installed: perl-Expect-Simple.noarch 0.02-1.fc6
Apr 06 20:28:19 Installed: perl-Test-Expect.noarch 0.30-1.fc6
Apr 06 20:28:19 Installed: perl-Text-Quoted.noarch 2.02-1.fc6
Apr 06 20:28:19 Installed: perl-XML-RSS.noarch 1.22-1.fc6
Apr 06 20:28:19 Installed: perl-Module-Refresh.noarch 0.09-3.fc6
Apr 06 20:28:19 Installed: perl-MLDBM.noarch 2.01-5.fc6
Apr 06 20:39:15 Installed: perl-Sort-Versions.noarch 1.5-5.fc6




Em Quinta 12 Abril 2007 16:56, Jesse Vincent escreveu:
> On Thu, Apr 12, 2007 at 12:53:52PM -0700, John Oliver wrote:
> > I installed Fedora Core 6 on a machine, and was very pleasantly
> > surprised when "yum install rt3" worked like a charm, after the hours
> > I'd spent trying to get RT installed under RHEL4! :-)
> >
> > I went to http://my-server/rt3/ and the error_log says:
> >
> > [Thu Apr 12 11:37:28 2007] [error] [client 192.168.2.192]
> > install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
>
> Looks like the RPM ddidn't handle the dependencies correctly.
>
> > I do have mysql.pm
> >
> > [root at sdtvm08 ~]# find / -name mysql.pm
> > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm
> > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/DBSchema/DBD/mysql.pm
>
> Perl paths are fully qalified.
>
> You have DBIx::SearchBuilder::Handle::mysql and
> DBIx::DBSchema::DBD::mysql, but not DBD::mysql.
>
> You'll need to install DBD::mysql.
>
> > How do I add one of those to @INC, and why wasn't this already done?
> >
> > --
> > ***********************************************************************
> > * John Oliver                             http://www.john-oliver.net/ *
> > *                                                                     *
> > ***********************************************************************
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com

-- 
     Fernando Frota Machado de Morais
        IR Team - Divisao de Redes de Comunicacao
        Centro de Computacao
        Universidade Federal de Minas Gerais
        Brasil
        Tel. +55(31)3499.4007  Fax. +55(31)3499.4004

 /"\
 \ /  Campanha da fita ASCII - contra mail html
  X   ASCII ribbon campaign - against html mail
 / \



More information about the rt-users mailing list