I have taken great strides ahead with the help of fellow Perl Monks, moving from a no-go ISP to a Cobal RAQ host server! I am using the CPAN module on Linux to install perl modules via SSH. I am using several modules with dependencies and have installed all but one in the following way:
1) Made a lib directory off my home directory.
2) Enter cpan interactive mode.
3) Typed
o conf makepl_arg "LIB=~/lib".to pass an argument to
perl Makefile.PL.
4) Then
install Package::abc..
Many of the modules had dependencies but after I installed the required modules they installed OK. When I try to install DBD::mysql it asks for DBI. I installed DBI successfully and looked to see that DBI.pm is in my ~/lib directory (actually in ~lib/i386-linux). When I install DBD::mysql again it fails to find the package and I get the following:
Warning: prerequisite DBI failed to load: Can't locate DBI.pm in @INC
+(@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
+/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.
+6.0 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_per
+l/5.005 /usr/lib/perl5/site_perl .) at (eval 4) line 3.
What I find peculiar is that my ~/lib directory is not in the path. Why did it work for the other modules and not for this one? What is the standard method of resolving dependencies when you do not have root priveleges? Thanks again Perl Monks!
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.