I am attempting to instal a CPAN module named "imager" on a virtual server, but do not have the appropriate permissions to install the module components in the directories that Makefile.PL tries to.
I have attempted various commands: perl Makefile.PL LIB=/path I want, perl Makefile.PL PREFIX=/path I want, and even Makefile.PL LIB=/path I want PREFIX=/path I want. These commands were suggested in a thread here titled "CPAN modules And Virtual Servers.", and also in various books.
I have looked through perlman:perlmodinstall posted at perlmonks as well and still haven't found my solution.
I may be blowing it on the path I enter for these commands....but I'm not getting any sort of invalid directory error with the different paths, Makefile just does what it always does and tries to install to directories I have no permission for....I have tried both absolute paths and paths relative to where the Makefile.PL is.
The virtual server is an Apache linux server with perl version is 5.6.0
Any help on how I can do this would be greatly appreciated!
Thanks!
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.