Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 about the Monastery: (10)
As of 2015-07-06 21:42 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 (83 votes), past polls