Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Installing a Second perl

by redgreen (Priest)
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-07-04 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls