in reply to Re^2: help installing GD and GD::Graph locally
in thread help installing GD and GD::Graph locally

perl Makefile.PL PREFIX=/home/me/perllib # or
perl Makefile.PL LIB=/home/me/perllib # ?


I've not had any need to use either - but I think PREFIX is the one you're after. Give it a try and just check where it puts things. For me, on Win32, when I do 'perl Makefile.PL PREFIX=D:/test', everything gets placed in 'D:/test/lib' - so it becomes necessary for me to use lib 'D:/test/lib'; in my script if that script needs to load such a module.

You might also consider 'INSTALL_BASE' if 'PREFIX' doesn't do what you want. From 'perldoc ExtUtils::MakeMaker':
INSTALL_BASE can be passed into Makefile.PL to change where your modul +e will be installed. INSTALL_BASE is more like what everyone else calls "prefix" than PREFIX is. To have everything installed in your home directory, do the following. perl Makefile.PL INSTALL_BASE=~

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: help installing GD and GD::Graph locally
by j3 (Friar) on Nov 11, 2006 at 05:22 UTC
    perl Makefile.PL PREFIX=/home/me/perllib # or
    perl Makefile.PL LIB=/home/me/perllib # ?

    From 'perldoc ExtUtils::MakeMaker'{snip}

    Ah. ExtUtils::MakeMaker is the relevant doc I need to read for this. Thanks!