in reply to Manual installation of GD or ImageMagick in local folder
This is from ExtUtils::MakeMaker:
perl Makefile.PL INSTALL_BASE=/path/to/your/home/dir
Then you just use lib "/path/to/your/home/dir" in your CGI and you're done.
You can automate this strategy by setting your cpan shell variable 'makepl_arg' to include the INSTALL_BASE make argument.
(This is not the first time the question has been asked. I know I've asked it myself before, but I think my answer is slightly different than other answers I've seen.)
UPDATE: PREFIX may even be better or more appropriate, not really sure. But my strategy above remains the same.
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Manual installation of GD or ImageMagick in local folder
by thunders (Priest) on Jul 01, 2008 at 12:39 UTC |