Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Installing a non-standard module to the right place

by vek (Prior)
on Mar 21, 2003 at 21:58 UTC ( #245017=note: print w/ replies, xml ) Need Help??


in reply to Installing a non-standard module to the right place

Lulu - You can specify which directory you want your modules installed like this:

perl Makefile.PL PREFIX=/path-to/your-dir LIB=/path-to/your-dir
-- vek --


Comment on Re: Installing a non-standard module to the right place
Download Code
Re: Re: Installing a non-standard module to the right place
by Vorlin (Sexton) on Mar 21, 2003 at 23:25 UTC
    Since you're on a *nix system, you can also bypass another installation by doing the following:

    cd /path/to/perl/modules for i in `ls -1` do ln -s `pwd`/$i /path/you/want/sym-link/created/$i done
    This will create sym-links for all the files in the module directory (or whever you want them created)
    that you originally wanted them made.

    The only reason I do the 'ln -s' route is because you then don't have to recompile/delete/etc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245017]
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: (7)
As of 2014-09-17 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls