Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: combination of multiple installed Perls and some environment variables cause segfaults

by trwww (Priest)
on Apr 07, 2013 at 01:46 UTC ( #1027319=note: print w/ replies, xml ) Need Help??


in reply to combination of multiple installed Perls and some environment variables cause segfaults

I don't have any specific answers to your questions, but I do have some relevant suggestions that might help:

I'm not sure why you're setting INSTALL_BASE. Its not necessary when making arbitrary perl installs anyways. Adding the perl you want to use in that session to PATH should be enough.

Its likely that all of these installs you've fiddled with are using the same directory (~/.cpan) to stage and build perl modules. That might be trouble.

You can see how I manage hand built perl installs at Re: 2nd Perl installation on Mac OSX.


Comment on Re: combination of multiple installed Perls and some environment variables cause segfaults
Re^2: combination of multiple installed Perls and some environment variables cause segfaults
by dlamb (Initiate) on Apr 09, 2013 at 18:33 UTC

    I'm setting INSTALL_BASE because MacPorts does not contain updated versions of every module I need to install, and their recommendation is to put non-MacPorts-installed Perl modules somewhere besides in the MacPorts /opt/local/lib/perl5 tree. And because I have some locally-developed modules that need a home. So anything that comes straight from CPAN goes into INSTALL_BASE. Isn't that the point of that?

    Thanks for the link on per-project perl installs. That's an approach I hadn't thought of, I'll give it some thought. But as I replied above regarding Perlbrew, I'm trying to keep the number of perls at a manageable level, and I think I may have already crossed that threshold!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-20 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls