I'm trying to get the Everything Engine running on my machine, and am running into some problems with my Perl installation....

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.


In reply to Multiple Perl Installations by zane

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.