Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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.


Comment on Re 2: Installing Modules on a Web Server
Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388110]
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: (14)
As of 2014-07-29 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls