[rt-users] New 4.02 install issue-Can't locate I18N/LangTags/List.pm

Mark Story mstory at xion.org
Fri Sep 2 19:19:10 EDT 2011


Greetings,

Fresh install of RT 4.02 on Linux, all dependencies tests passed, 
everything fired up as expected except when accessing pages that have 
language selections, e.g. create user.

The error message appears only in the browser, nothing in the log files 
(full text at the end of this email) but boils down to:

"Error during compilation of /opt/rt4/share/html/Elements/SelectLang: 
Can't locate I18N/LangTags/List.pm in @INC"

 From the RT System Configuration page, shows Detect.pm but not List.pm:

I18N::LangTags 	0.35 	/usr/share/perl/5.10/I18N/LangTags.pm
I18N::LangTags::Detect 	1.03 	/usr/share/perl/5.10/I18N/LangTags/Detect.pm

And the search path looks good:

     /opt/rt4/sbin/../local/lib
     /opt/rt4/sbin/../lib
     /etc/perl
     /usr/local/lib/perl/5.10.0
     /usr/local/share/perl/5.10.0
     /usr/lib/perl5
     /usr/share/perl5
     /usr/lib/perl/5.10
     /usr/share/perl/5.10
     /usr/local/lib/site_perl
     .
     /etc/apache2

However, the Perl module is in fact on disk:
www:/usr/share/perl/5.10.0/I18N/LangTags# ll  /usr/share/perl/5.10
lrwxrwxrwx 1 root root 6 Apr 28  2010 /usr/share/perl/5.10 -> 5.10.0
www:/usr/share/perl/5.10.0/I18N/LangTags# ll
total 40
-rw-r--r-- 1 root root  6538 Jun 30 20:44 Detect.pm
-rw-r--r-- 1 root root 28826 Jun 30 20:44 List.pm


CPAN reports the LangTag modules are all up to date.   Has anyone else 
seen this before?  Suggestions?

Thanks!


--Mark



=============================================================

Full error message as appears in the browser:

Error during compilation of /opt/rt4/share/html/Elements/SelectLang: 
Can't locate I18N/LangTags/List.pm in @INC (@INC contains: 
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /etc/perl 
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl . /etc/apache2) at 
/opt/rt4/share/html/Elements/SelectLang line 70. Stack: 
[/opt/rt4/share/html/Elements/SelectLang:70] [I18N/LangTags/List.pm:70] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:817] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:445] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1127] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1060] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1239] 
[/opt/rt4/share/html/Admin/Users/Modify.html:94] 
[/opt/rt4/share/html/Widgets/TitleBox:56] 
[/opt/rt4/share/html/Admin/Users/Modify.html:102] 
[/opt/rt4/share/html/Admin/autohandler:49] 
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:538] 
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:285] 
[/opt/rt4/share/html/autohandler:53] BEGIN failed--compilation aborted 
at /opt/rt4/share/html/Elements/SelectLang line 70. Stack: 
[/opt/rt4/share/html/Elements/SelectLang:70] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:817] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:445] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1127] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1060] 
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:1239] 
[/opt/rt4/share/html/Admin/Users/Modify.html:94] 
[/opt/rt4/share/html/Widgets/TitleBox:56] 
[/opt/rt4/share/html/Admin/Users/Modify.html:102] 
[/opt/rt4/share/html/Admin/autohandler:49] 
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:538] 
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:285] 
[/opt/rt4/share/html/autohandler:53]






More information about the rt-users mailing list