[rt-users] can't compile RT CPAN modules

Tim Dunphy bluethundr at gmail.com
Fri Jan 4 08:33:40 EST 2013


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



Basically it just loops the same question 3 times and then quits. It's
driving me daft! Can anyone help?


[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/perl5/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-thread-multi /usr/lib/perl5/5.8.8 .
/opt/rt4/lib /opt/lib/rt4 /opt/rt3/lib /opt/lib/rt3 /opt/lib
/usr/local/rt4/lib /usr/local/lib/rt4 /usr/local/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/lib /sw/lib/rt3 /sw/lib
Path to directory containing your RT.pm:  /usr/local/rt4/lib
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/perl5/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-thread-multi /usr/lib/perl5/5.8.8 .
/opt/rt4/lib /opt/lib/rt4 /opt/rt3/lib /opt/lib/rt3 /opt/lib
/usr/local/rt4/lib /usr/local/lib/rt4 /usr/local/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/lib /sw/lib/rt3 /sw/lib /usr/local/rt4/lib
/usr/local/rt4/lib/rt3/lib /usr/local/rt4/lib/lib/rt3 /usr/local/rt4/lib/lib
Path to directory containing your RT.pm:  /usr/local/rt4/lib
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/perl5/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-thread-multi /usr/lib/perl5/5.8.8 .
/opt/rt4/lib /opt/lib/rt4 /opt/rt3/lib /opt/lib/rt3 /opt/lib
/usr/local/rt4/lib /usr/local/lib/rt4 /usr/local/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/lib /sw/lib/rt3 /sw/lib /usr/local/rt4/lib
/usr/local/rt4/lib/rt3/lib /usr/local/rt4/lib/lib/rt3
/usr/local/rt4/lib/lib /usr/local/rt4/lib /usr/local/rt4/lib/rt3/lib
/usr/local/rt4/lib/lib/rt3 /usr/local/rt4/lib/lib
Path to directory containing your RT.pm:  /usr/local/rt4/lib
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/perl5/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-thread-multi /usr/lib/perl5/5.8.8 .
/opt/rt4/lib /opt/lib/rt4 /opt/rt3/lib /opt/lib/rt3 /opt/lib
/usr/local/rt4/lib /usr/local/lib/rt4 /usr/local/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/lib /sw/lib/rt3 /sw/lib /usr/local/rt4/lib
/usr/local/rt4/lib/rt3/lib /usr/local/rt4/lib/lib/rt3
/usr/local/rt4/lib/lib /usr/local/rt4/lib /usr/local/rt4/lib/rt3/lib
/usr/local/rt4/lib/lib/rt3 /usr/local/rt4/lib/lib /usr/local/rt4/lib
/usr/local/rt4/lib/rt3/lib /usr/local/rt4/lib/lib/rt3 /usr/local/rt4/lib/lib
Caught an potential prompt infinite loop (inc/Module/Install/RTx.pm|52|Path
to directory containing your RT.pm:) at inc/Module/Install/Makefile.pm line
25, <STDIN> line 3.

Thanks
Tim
-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130104/1a89f080/attachment.htm>


More information about the rt-users mailing list