Finally perl modules installed - RT still cannot find them

I need the next idea to try.

After a few weeks of doing battle with CPAN and perl modules, I finally
got them to install. A couple things were installed by RPM. The rest
was done by extracting tarballs downloaded from a CPAN mirror, and doing
“perl Makefile.PL && make && make install”. Looks like they all (the
ones that had been reported by a previous RT testdeps as missing or the
wrong version) are there now (I checked the files).

But RT testdeps still says they are missing. The files are there. And
when I do the following commands to test the modules myself, I don’t see
any problems:

[root@cypress /]#
[root@cypress /]# perl -e ‘use Cache::Cache ()’
[root@cypress /]# perl -e ‘use HTML::Mason 1.23 ()’
[root@cypress /]# perl -e ‘use XML::RSS ()’
[root@cypress /]# perl -e ‘use DBIx::SearchBuilder 1.01 ()’
[root@cypress /]# perl -e ‘use HTML::Scrubber 0.08 ()’
[root@cypress /]# perl -e ‘use Tree::Simple 1.04 ()’
[root@cypress /]# perl -e ‘use Module::Versions::Report ()’
[root@cypress /]# perl -e ‘use Time::HiRes ()’
[root@cypress /]#

But I get this through RT. The “perl -V” output follows.

/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql
perl:
5.8.3…found
users:
rt group (rt)…found
bin owner (root)…found
libs owner (root)…found
libs group (bin)…found
web owner (apache)…found
web group (apache)…found
MASON dependencies:
Params::Validate 0.02…found
Cache::Cache …MISSING
Exception::Class 1.14…found
HTML::Mason 1.23…MISSING
MLDBM …found
Errno …found
FreezeThaw …found
Digest::MD5 2.27…found
CGI::Cookie 1.20…found
Storable 2.08…found
Apache::Session 1.53…found
XML::RSS …MISSING
MAILGATE dependencies:
HTML::TreeBuilder …found
HTML::FormatText …found
Getopt::Long …found
LWP::UserAgent …found
CLI dependencies:
Getopt::Long 2.24…found
CORE dependencies:
Digest::base …found
Digest::MD5 2.27…found
DBI 1.37…found
Test::Inline …found
Class::ReturnValue 0.40…found
DBIx::SearchBuilder 1.01…MISSING
Text::Template …found
File::Spec 0.8…found
HTML::Entities …found
HTML::Scrubber 0.08…MISSING
Net::Domain …found
Log::Dispatch 2.0…found
Locale::Maketext 1.06…found
Locale::Maketext::Lexicon 0.32…found
Locale::Maketext::Fuzzy …found
MIME::Entity 5.108…found
Mail::Mailer 1.57…found
Net::SMTP …found
Text::Wrapper …found
Time::ParseDate …found
File::Temp …found
Term::ReadKey …found
Text::Autoformat …found
Text::Quoted 1.3…found
Tree::Simple 1.04…MISSING
Scalar::Util …found
Module::Versions::Report …MISSING
DEV dependencies:
Regexp::Common …found
Time::HiRes …MISSING
Test::Inline …found
Apache::Test …found
HTML::Form …found
HTML::TokeParser …found
WWW::Mechanize …found
MYSQL dependencies:
DBD::mysql 2.1018…found

Here is the “perl -V” output in case it might help.

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.4.21-15.el, archname=i386-linux-thread-multi
uname=‘linux localhost.localdomain 2.4.21-15.el #1 sun may 16 02:45:06 edt 2004 i686 athlon i386 gnulinux ’
config_args=’-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0’
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=‘gcc’, ccflags =‘-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm’,
optimize=‘-O2 -g -pipe -march=i386 -mcpu=i686’,
cppflags=‘-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm’
ccversion=‘’, gccversion=‘3.2.3 20030502 (Red Hat Linux 3.2.3-34)’, gccosandvers=‘’
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype=‘long’, ivsize=4, nvtype=‘double’, nvsize=8, Off_t=‘off_t’, lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld=‘gcc’, ldflags =’ -L/usr/local/lib’
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=‘2.3.2’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=‘-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE’
cccdlflags=‘-fPIC’, lddlflags=‘-shared -L/usr/local/lib’

Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Oct 25 2004 15:10:20
@INC:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.

And FYI:

[root@cypress /]# uname -a
Linux cypress.jdshelp.net 2.4.21-15.0.3.EL #1 Tue Jun 29 18:17:52 EDT 2004 i686 i686 i386 GNU/Linux
[root@cypress /]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
[root@cypress /]# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@cypress /]#

| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |

I need the next idea to try.

After a few weeks of doing battle with CPAN and perl modules, I finally
got them to install. A couple things were installed by RPM. The rest
was done by extracting tarballs downloaded from a CPAN mirror, and doing
“perl Makefile.PL && make && make install”. Looks like they all (the
ones that had been reported by a previous RT testdeps as missing or the
wrong version) are there now (I checked the files).

But RT testdeps still says they are missing. The files are there. And
when I do the following commands to test the modules myself, I don’t see
any problems:

If you are still trying to use mod_perl, you have to recompile apache
and mod_perl to pick up the new version of perl you installed. If
you use fastcgi instead you don’t need to do that and you wouldn’t
need the Apache::* modules. You also shouldn’t have to download
CPAN tarballs by hand unless you are trying to get a special version.
Running perl sbin/rt-test-dependencies --install with the options for
your database and method should pick up everything for you. Or you
can run ‘perl -MCPAN -eshell’ and ‘install packagename’ from there.

Les Mikesell
les@futuresource.com