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

Josh Narins jnarins at seniorbridge.com
Sat Sep 3 14:51:06 EDT 2011


The permissions are also affected by the umask of the installing user.




Josh Narins
Director of Application Development
SeniorBridge

845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Mobile: (917) 488-6248
Fax: (212) 994-4260
jnarins at seniorbridge.com

SeniorBridge
Managing Complex Chronic Care
http://www.seniorbridge.com


SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.----- Original Message -----
From: Mark Story [mailto:mstory at xion.org]
Sent: Saturday, September 03, 2011 02:38 PM
To: rt-users at lists.bestpractical.com <rt-users at lists.bestpractical.com>
Subject: Re: [rt-users] New 4.02 install issue-Can't locate I18N/LangTags/List.pm (solved)

Aha!  Found the problem.

Permissions for some of the sub directories of one of the Perl module
locations (/usr/local/share/perl/5.10.0) were wrong.  After chmod'ing
them all is good now it seems.

I thought CPAN maintained all the permissions for Perls modules ...
guess not.



--Mark

> 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]
>
>
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Chicago, IL, USA September 26 & 27, 2011
> * San Francisco, CA, USA October 18 & 19, 2011
> * Washington DC, USA October 31 & November 1, 2011
> * Melbourne VIC, Australia November 28 & 29, 2011
> * Barcelona, Spain November 28 & 29, 2011


--


========================================================
You are no age between space

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011



More information about the rt-users mailing list