Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re 2: Installing Modules on a Web Server

by Anonymous Monk
on Sep 02, 2004 at 21:11 UTC ( #388110=note: print w/replies, xml ) Need Help??

in reply to Re: Installing Modules on a Web Server
in thread Installing Modules on a Web Server

Finally, if you are installing multiple modules that are dependent on each other you might want to do:
perl Makefile.PL PREFIX=~/tmp-lib LIB=~/tmp-lib
This will allow the module you are installing to find the other modules in ~/tmp-lib and run in a sensible way.
Actually, this didn't work for me. The modules couldn't find each other in this custom lib. I was trying to install CGI::Application which looks for HTML::Template. Neither of these were installed on my server. So I installed HTML::Template to my private lib. Then when I tried to install CGI::Application it couldn't see HTML::Template.

Edited by Chady -- added <blockquote> to quoted text.

Replies are listed 'Best First'.
Re^3: Installing Modules on a Web Server
by adrianh (Chancellor) on Apr 02, 2005 at 16:08 UTC
    Actually, this didn't work for me.

    Can you show what you typed in and what errors you got? AFAIK the PREFIX and LIB technique should work.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388110]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-10-23 12:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.