I am trying to install all my Perl modules from RPM (using rpmforge.net), instead of just acquiring them from CPAN.
My ultimate goal is to get Bugzilla 3.4.4 running. It requires CGI.pm 3.21 or later; the perl package on RHEL5 (5.8.8) comes with CGI.pm 3.15, and it doesn't appear that any of the 3rd-party package repositories package it seperately (there is no longer a perl-CGI RPM for Red Hat: since RH9, it appears!)
Is there a recommended solution?
./install-module.pl CGI
in your Bugzilla install folder will install a Bugzilla-local copy of the latest CGI.pm (under<bugzilla-directory>/lib
. This wont affect your yum managed packages at all.If you install all software with rpm, you should install Bugzilla with it too. There is no CGI.pm 3.2.1 - CGI.pm has one-dot version number. CGI.pm is a core module, so it is usually updated when Perl is updated or with cpan shell.
I'd be very careful not to replace the version of CGI.pm Red Hat ships with RHEL5, but you could install cpan2rpm, download CGI.pm-3.21.tar.gz, build your own RPM with: