Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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.


Comment on Re: Installing modules in personal lib directory
Select or Download Code
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/MyConfig.pm)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-09-16 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls