[rt-users] Perl version and Apache DBI

Rob Walker rob at myinternetplace.net
Fri Feb 8 19:56:11 EST 2002


On Friday 08 February 2002 18:37, Shannon Pedersen wrote:

> CPAN rebuilt perl on my system as 5.6.1 and it appears
> that RT is trying to check for 5.6.0. (Apache/DBI.pm is located in the
> 5.6.1 path)  Is there a way to fix this without going back through the
> install and changing that particular parameter in the Makefile?

Wow, I am surprised that rt didn't do the build for a 5.6.1 perl, after CPAN 
rebuilt it.

Maybe the answer is to completely nuke rt, and re-install it.  Now that all of 
the requirements are met, it might see perl 5.6.1 from start to finish.

Save your config.pm, and do a re-install?

> [root at vid init.d]# ./httpd start
> Starting httpd: Syntax error on line 1050 of /etc/httpd/conf/httpd.conf:
> Can't locate Apache/DBI.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 4)
> line 3.

Another solution (which I don't like) is to figure out where Apache/DBI.pm is 
at in the 5.6.1 tree out there, and put it in the 5.6.0 tree in the same 
place.

rob





More information about the rt-users mailing list