Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Replies are listed 'Best First'.
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 exploiting the Monastery: (4)
As of 2016-04-30 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.