Hi Monks,
The company I work for has perl and all it's libraries/modules/etc on a server that the rest of us mount from our local machines. Unfortunately, we don't have write access. So if we want to install perl modules that aren't already there, we have to put them in a different directory on our local machines. So in theory I should do something like set my PERL5LIB environmental variable to /my/perl/dir and then do:
perl Makefile.PL PREFIX=/my/perl/dir
make
make test
make install
Unfortunately, when I do that, it still tries to install to the mounted directory on the server! If I look at Makefile after doing "perl Makefile.PL PREFIX=/my/perl/dir", I see that PREFIX is set properly, but INSTALLPRIVLIB, INSTALLARCHLIB, INSTALLSITELIB, INSTALLSITEARCH, INSTALLBIN, and INSTALLSCRIPT are still pointing to directories on the server. Can anyone help? Just for the record, I did "echo $PERL5LIB" before doing all this just to make sure that the environmental variable did indeed get set. The modules I'm dealing with currently are GD and GDGraph.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.