Syntactic Confectionery Delight | |
PerlMonks |
A problem with two perls on a Debian systemby rinceWind (Monsignor) |
on Mar 12, 2006 at 10:41 UTC ( [id://536064]=perlquestion: print w/replies, xml ) | Need Help?? |
rinceWind has asked for the wisdom of the Perl Monks concerning the following question: I have an instance where I have needed to build my own perl. The existing perl installed by apt-get (sarge) resides in /usr/bin, and is 5.8.4. The perl I have built is 5.8.7, and I took the defaults and installed this to /usr/local/bin (libraries to /usr/local/lib/perl5 etc.) My new perl comes first in the path, and that is the one that I want to use for everything. CPAN installs work fine, as do CPANPLUS. My problem is that I have installed some more distributions with apt-get, which have perl bindings. These have gone into /usr/lib/ and are only visible from 5.8.4. I know I can repoint PERL5LIB to add the lib paths, but I am looking for a more permanent solution. Should I rebuild my perl with different config options, to give me an @INC with the other lib directories included? Should I install my perl over the top of the one in /usr/bin and /usr/lib? (this seems more risky to me) What's the best way of dealing with this? --
Back to
Seekers of Perl Wisdom
|
|