Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
Eily used google. The lazy internet equivalent of grep
[karlgoethebier]: He!
[Eily]: Discipulus pretty much all oneliners are killing. Do you imagine how many people could be working if you asked them to do the same thing in C each time ? :P
Eily is Listening to "Leave out all the rest" by Linkin Park
[karlgoethebier]: that's why trade unions like C ;-)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-07-21 09:25 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (320 votes). Check out past polls.