Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 --

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245017]
[markong]: ahah thanks Corion :)
[Eily]: Discipulus usually it's while testing that you want the full logs :)
[Eily]: anyway, maybe you can ignore STDERR ? (I'm not sure about @CARP_NOT, it looks like it only changes the place the error comes from)
[markong]: " Perl: the Markov chain saw" :D aha
[Discipulus]: thanks 1nickt but seems i'm not able to use it correctly...
[Discipulus]: Eily i'm testing a failure: i ok if i get bad results.. perhaps there is another way to do it...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2018-01-22 11:26 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.