Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-07-21 00:23 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (442 votes). Check out past polls.