http://www.perlmonks.org?node_id=388110


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.