http://www.perlmonks.org?node_id=1011628

bluethundr has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: Cen't Compile CPAN modules for RT4
by marto (Cardinal) on Jan 04, 2013 at 13:41 UTC

    From the RT::Crypt::SMIME documentation:

    "This extension is deprecated. It only works with RT 3.6 which is unsupported."

    This module does not relate to RT4.

Re: Can't Compile CPAN modules for RT4
by toolic (Bishop) on Jan 04, 2013 at 13:41 UTC
    Accoring to the POD for RT::Crypt::SMIME, it is "DEPRECATED":
    This extension is deprecated. It only works with RT 3.6 which is unsu +pported.

    Unfortunately, it does not offer an alternative.

      Thanks guys. Really appreciate your input. Bummer tho. I really really wanna get GPG integrated into RT. AFAIK that module is required according to their wiki page. No other alternatives?

        No other alternatives?

        :) RT support forum might have better RT information :)