zane has asked for the wisdom of the Perl Monks concerning the following question:
In the course of installing the many Perl Modules required by Everything, I was coerced into upgrading to 5.6.1 from 5.6.0 by the CPAN shell... I chose to install the 5.6.1 in /usr/local instead of /usr to keep applications that expected to find things in the 5.6.0 libraries from finding 5.6.1 libraries (which I did once before, and which caused all kinds of horrible entropy increase on my machine, resulting in my having to completely re-install Perl) 5.6.0 is installed via RPMs, which complain loudly at any suggestion of "upgrading" to 5.6.1 via RPM (claiming that suchandsuch RPMs require 5.6.0)
So now /usr/bin/perl points at 5.6.1, but all the libraries are under /usr/local (and there is a /usr/local/bin/perl too of course, which works fine, and a /usr/bin/perl560, also fine)
My problem (or at least, the most recent manifestation of this horrible mess...) is that when I start up apache "httpd -D HAVE_PERL restart" it complains that the PMs which it needs (ApacheDBI for instance) are not in @INC (which only has the 5.6.0 directories in it!) Is there some way to get Perl to by default look in the 5.6.1 libraries? Or to tell Apache to use Perl 5.6.1 (short of re-compiling everything?) Is there some easy way to do a holistic upgrade to 5.6.1 and get rid of the old 5.6.0 stuff without breaking anything? I'm running a RH 7.1 machine.
Any wisdom you can impart greatly appriciated.
--
If we don't change direction soon, we'll end up where we're going.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple Perl Installations
by andreychek (Parson) on Jul 01, 2001 at 10:41 UTC | |
|
Re: Multiple Perl Installations
by chipmunk (Parson) on Jul 01, 2001 at 19:45 UTC | |
by tye (Sage) on Jul 02, 2001 at 00:07 UTC | |
|
Re: Multiple Perl Installations
by zane (Acolyte) on Jul 02, 2001 at 12:30 UTC |