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

In reply to Re^3: help installing GD and GD::Graph locally by syphilis
in thread help installing GD and GD::Graph locally by j3

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.