Trying to index a set of text files using swish3. I believe there may be an issue due to some modules being installed via CPAN and others via package management. I was wondering if anyone could take a look at the output below and see if they noticed any issues. From what I can tell, the perl module does exist, and @inc is indeed looking in the location where the perl module is installed. My novice ways have failed me. Thanks in advance.

I believe that the new perl install for 5.10.1 is whats being used. The modules appear to be there as well. However, compilation errors abound.
[root@host]# swish3 -S mailfs -i /home/mail-archive/test/* Can't locate DateTime/Infinite.pm in @INC (@INC contains: /usr/local/l +ib/perl5/site_perl/5.10.1//usr/local/lib/perl5/5.10.1/BSDPAN /usr/loc +al/lib/perl5/site_perl/5.10.1//usr/local/lib/perl5/site_perl/5.10.1/m +ach /usr/local/lib/perl5/site_perl/5.10.1//usr/local/lib/perl5/site_p +erl/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1//usr/local/lib/perl5 +/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1//usr/local/lib/per +l5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/. /usr/local/lib/perl +5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local +/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/loc +al/lib/perl5/5.10.1 .) at /usr/local/lib/perl5/site_perl/5.10.1/./Ros +e/DateTime/Util.pm line 8. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5. +10.1/./Rose/DateTime/Util.pm line 8. Compilation failed in require at /usr/local/bin/swish3 line 21. BEGIN failed--compilation aborted at /usr/local/bin/swish3 line 21. [root@host]#
Line 21 of /usr/local/bin/swish3 is...
use Rose::DateTime::Util qw(parse_date);
That module appears to still be installed ok
[root@system /]# cpan -D Rose::DateTime CPAN: Storable loaded ok (v2.20) Going to read '/.cpan/Metadata' Database was generated on Sat, 26 Mar 2011 05:28:30 GMT CPAN: LWP::UserAgent loaded ok (v6.00) CPAN: Time::HiRes loaded ok (v1.9719) Fetching with LWP: http://cpan.yimg.com/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.72) Going to read '/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.02) ...................................................................... +......DONE Fetching with LWP: http://cpan.yimg.com/modules/02packages.details.txt.gz Going to read '/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Tue, 03 May 2011 17:29:44 GMT ...................................................................... +......DONE Fetching with LWP: http://cpan.yimg.com/modules/03modlist.data.gz Going to read '/.cpan/sources/modules/03modlist.data.gz' ...................................................................... +......DONE Going to write /.cpan/Metadata Rose::DateTime ---------------------------------------------------------------------- +--- CPAN: Module::CoreList loaded ok (v2.18) DateTime helper functions and parser objects J/JS/JSIRACUSA/Rose-DateTime-0.535.tar.gz /usr/local/lib/perl5/site_perl/5.10.1/Rose/DateTime.pm Installed: 0.535 CPAN: 0.535 up to date John Siracusa (JSIRACUSA) siracusa@gmail.com

In reply to Problems locating modules by calivw78

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.