Perl version and Apache DBI

[Note: I apologize for posting previously in HTML; my work’s email
exchange client was converting things without my intent. The proper
filters should now be applied and this hopefully won’t come with the
gobbledygook…)

Anyway, I’m still plugging away at trying to get this all installed. I
was able to force the Apache::Session install, got through the RT make
install fine, and have configured things okay (I think) in config.pm and
httpd.conf. But, upon trying to restart the web server, now I get the
following error. 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?

[root@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.

[FAILED]

Thanks,
Shannon

I have fixxed this with a spaghetti style mess of static links in previous
installs… However in the end I formatted the mess, re-installed from scratch
and just used ctrl-c to break out of the Perl 5.6.1 install that CPAN tries
to get you to accept. Worked much better for me that way and now I only have
one version of Perl on my box.

Your actual mileage may vary…On February 8, 2002 04:37 pm, you wrote:

[Note: I apologize for posting previously in HTML; my work’s email
exchange client was converting things without my intent. The proper
filters should now be applied and this hopefully won’t come with the
gobbledygook…)

Anyway, I’m still plugging away at trying to get this all installed. I
was able to force the Apache::Session install, got through the RT make
install fine, and have configured things okay (I think) in config.pm and
httpd.conf. But, upon trying to restart the web server, now I get the
following error. 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?

[root@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.

[FAILED]

Thanks,
Shannon


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

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@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