Hi,
I can't find the solution to my particular problem in the tutorial/modules section, or on cpan FAQ.
Also, the particular modules' docs don't provide the needed info.
I wish to install modules to my folder '~/lib', but I also want to tell MakeMaker to check that same folder to satisfy dependencies.
Example:
If I try to MakeMaker the HTML::Template module, it fails, saying it needs File::Spec.
O.k., so I make and install File::Spec using
perl Makefile.PL LIB=~/lib INSTALLMAN1DIR=~/lib/man/man1 INSTALLMAN3D
+IR=~/lib/man/man3
make
make test
make install
At this point, it fails to install properly, so I just copy the created files and folders to my '~/lib' directory. Then running a perl script with -
use lib '/home/actualre/lib';
use File::Spec
- in it succeeds.
O.k., so now I try to install HTML::Template.
perl Makefile.PL LIB=~/lib INSTALLMAN1DIR=~/lib/man/man1 INSTALLMAN3D
+IR=~/lib/man/man3
make
make test
make install
It now fails, still saying it needs File::Spec.
So again, my question is, how do I tell it 'install in my lib dir and ALSO check my lib dir to satisfy dependencies?'.
(Side Note)
I asked my hosts if they could install the Perl module HTML::Template, and they said
"Since we do not support this, you may upload the program to your cgi-bin or the directory where your scripts are uploaded. "
Sounds like they think I was asking them to install a script.
Do their tech-support not know what a Perl module is? :)
Thanks for any help.
fireartist
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.