[CentOS] mod_perl and httpd2

Thu Feb 8 23:33:23 UTC 2007
Peter Serwe <peter at infostreet.com>

I've got httpd and mod_perl installed, but I seem to have an
application that requires part of mod_perl that doesn't seem
to be properly installed into perl, notably, the 'Apache' portion.

To 'fix' this, cpan would like to install either mod_perl-1.29,
or alternatively to install mod_perl-2.0.2.  1.29 doesn't seem
smart, and 2.0.2 absolutely will not install over the top of 1.99-16.

I've looked for a package using:

yum list available | grep -i perl

yum list available | grep -i apache

And I don't get anything decent in terms of output.

For repositories, I've got  CentOS-Base, CentOS-Media, 
kbsingh-CentOS-Extras, rpmforge.

# rpm -qa | grep httpd
httpd-2.0.52-28.ent.centos4
httpd-suexec-2.0.52-28.ent.centos4
httpd-manual-2.0.52-28.ent.centos4
httpd-devel-2.0.52-28.ent.centos4
# rpm -qa | grep perl
perl-HTML-Tagset-3.03-30
perl-DBI-1.40-8
perl-XML-Dumper-0.71-2
perl-5.8.5-36.RHEL4
perl-URI-1.30-4
perl-HTML-Parser-3.35-6
perl-XML-Parser-2.34-5
perl-Parse-Yapp-1.05-32
perl-XML-Encoding-1.01-26
perl-libxml-enno-1.02-31
perl-libxml-perl-0.07-30
mod_perl-1.99_16-4.centos4
mod_perl-devel-1.99_16-4.centos4
perl-Digest-SHA1-2.07-5
perl-Digest-HMAC-1.01-13
perl-CGI-Simple-0.077-5.el4.kb
perl-Filter-1.30-6
newt-perl-1.08-7
perl-libwww-perl-5.79-5
perl-DateManip-5.42a-3
perl-DBD-MySQL-2.9004-3.1
perl-Net-DNS-0.48-1
perl-Apache-Session-1.6-1
#

The behavior I'm experiencing that has me suspecting my mod_perl 
installation
is that when I type I get this 'Can't locate blah blah blah blah' message.

# perl
use Apache2::Const;
Can't locate Apache2/Const.pm in @INC (@INC contains: 
/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 .) at - line 1.
BEGIN failed--compilation aborted at - line 1.

Where do I begin to fix this?

Peter

-- 
Peter Serwe <peter at infostreet dot com>

http://www.infostreet.com

"The only true sports are bullfighting, mountain climbing and auto racing." -Earnest Hemingway

"Because everything else requires only one ball." -Unknown

"Do you wanna go fast or suck?" -Mike Kojima

"There are two things no man will admit he cannot do well: drive and make love." -Sir Stirling Moss