Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Installing modules in personal lib directory

by Joost (Canon)
on Aug 30, 2005 at 00:20 UTC ( #487611=note: print w/replies, xml ) Need Help??

in reply to Installing modules in personal lib directory

Isnīt this a dirty installation?

Meh, it's what I do for all my locally developed modules. Who cares if it's "dirty"? update: I don't usually just copy them, I run PREFIX=DIRECTORY perl Makefile.PL; make test; make install;

As for PPM3, I haven't used PPM in years, but glancing at the docs, you might want to try target set root DIRECTORY.

Replies are listed 'Best First'.
Re^2: Installing modules in personal lib directory
by Andre_br (Pilgrim) on Aug 30, 2005 at 00:41 UTC
    Sorry, I made a mess: ppm3 is for win's Active Perl, and my host is Linux. Forget about the ppm3 installation.

    Maybe using CPAN module, but Iīm not sure on how to set the installation path to my personal lib directory...

    As for the procedure you mentioned, Joost, please give me more details.

        when you first use the CPAN shell it asks you a couple of configuration questions. One of the questions asks for 'makepl' arguments (don't remember the specific term), if you enter 'PREFIX=/home/user/perl' (change the path to reflect the location you want your stuff installed in), the CPAN shell (for that user) will always install in /home/user/perl (if the modules take the PREFIX directive).

        You can change your CPAN shell config by editting it's configfile (usually in ~/.cpan/CPAN/

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://487611]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-01-21 01:46 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.