Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 (Beadle) 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 about the Monastery: (11)
As of 2015-07-07 07:51 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 (87 votes), past polls