So I'm attempting to install some modules into a local directory at the command prompt on solaris using perlgcc. I've done the following:
perl Makefile.PL PREFIX=~/perl_mods/;
make;
make test;
make install;
for multiple modules and it's worked fine. I've installed XML::Lib::Common and can see it at:
~/perl_mods/lib/site_perl/5.8.4/sun4-solaris-64int/XML/LibXML/Common.p
+m
When I attempt to install a module (XML::LibXML) that depends on that module though i get the following:
bash-3.00$ /usr/perl5/bin/perlgcc Makefile.PL PREFIX=~/perl_mods
enable native perl UTF8
running xml2-config...ok (2.6.23)
looking for -lxml2... yes
Checking if your kit is complete...
Looks good
Warning: prerequisite XML::LibXML::Common 0.13 not found.
Writing Makefile for XML::LibXML
So while the module is installed, it's not visible, i've tried setting
PERL5LIB=/home/me/perl_mods/ and
PERL5LIB=/home/me/perl_mods/lib/ both no avail.
Anyone know why at install time it can't seem to find these modules?
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.