Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Installing a Second perl

by redgreen (Curate)
on Feb 20, 2010 at 23:40 UTC ( #824444=note: print w/ replies, xml ) Need Help??


in reply to Installing a Second perl

What is the output from /lab/bin/perl -V ?

When building your custom perl, you should have used something like:

./Configure -Dprefix=/lab

This would configure everything to be stored under the /lab directory, including the man directory.

Note: The CPAN install problem seems to be that it is trying to write to the '/usr/local/man/man3' directory, which is the big question here! It shouldn't be!

And this must be build your own perl month — I have started building my own perl binaries as well for production, development and testing.

Updated: thanks rowdog for catching the -d


Comment on Re: Installing a Second perl
Select or Download Code
Re^2: Installing a Second perl
by syphilis (Canon) on Feb 20, 2010 at 23:58 UTC
    The CPAN install problem seems to be that it is trying to write to the '/usr/local/man/man3' directory, which is the big question here! It shouldn't be!

    Is there something wrong with that ? I have a perl that I built myself in /usr/local, and apart from having to install modules as root, there haven't been any problems.

    Cheers,
    Rob

      Well, that is fine for a /usr/local/ perl, but not for one that is configured for /lab like the OP is trying to do.

      It should be installing man pages into /lab/man which is what OP has permissions to use.

        Well, that is fine for a /usr/local/ perl, but not for one that is configured for /lab like the OP is trying to do

        Quite correct - I had missed that the op was intending to install perl into /lab. (Assumed he had intentionally installed perl into the default /usr/local.)

        Cheers,
        Rob
Re^2: Installing a Second perl
by rowdog (Curate) on Feb 21, 2010 at 08:02 UTC

    The D should be capitalized, but yeah, this is a good start.

    ./Configure -Dprefix=/lab

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-08-23 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls