Hello Monks



I find it perplexing that I cannot seem to compile ANY CPAN module relating to rt4. I've tried many and have met with the same frustrations

Basically this is what occurs.

[monitor03:~/RT-Crypt-SMIME-0.23] root% perl Makefile.PL Cannot determine perl version info from lib/RT/Crypt/SMIME.pm Cannot find the location of RT.pm that defines $RT::LocalPath in: inc +/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/p +erl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor +_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8. +8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thre +ad-multi /usr/lib/perl5/5.8.8 . /opt/rt4/lib /opt/lib/rt4 /opt/rt3/li +b /opt/lib/rt3 /opt/lib /usr/local/rt4/lib /usr/local/lib/rt4 /usr/lo +cal/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt4/lib /home/lib +/rt4 /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt4/lib /usr/lib/rt4 +/usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt4/lib /sw/lib/rt4 /sw/rt3/li +b /sw/lib/rt3 /sw/lib Path to directory containing your RT.pm: /usr/local/rt4/lib

This happens for any perl module I try to compile for RT4. I'm giving the modules the exact location of the RT.pm just the way it is asking:


[monitor03:/usr/local/rt4/etc] root% ls -l /usr/local/rt4/lib/RT.pm -rw-r--r-- 1 root bin 21802 Oct 13 2011 /usr/local/rt4/lib/RT.pm

But for some reason the modules don't recognize this RT.pm even tho it seems like the logical choice.


[monitor03:/usr/local/rt4/etc] root% locate RT.pm /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/RR/ +CERT.pm /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/RR/ +RT.pm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RT.pm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/R +R/CERT.pm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/R +R/RT.pm /usr/local/rt4/lib/RT.pm /usr/local/src/rt-4.0.2/lib/RT.pm


Can some kind monk please help me with this dillema? Thanks

In reply to Cen't Compile CPAN modules for RT4 by bluethundr

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.