Perl Monk, Perl Meditation | |
PerlMonks |
Perl version issue?by T-Fen (Acolyte) |
on Oct 26, 2014 at 02:06 UTC ( [id://1105009]=perlquestion: print w/replies, xml ) | Need Help?? |
T-Fen has asked for the wisdom of the Perl Monks concerning the following question: Hello perl monks- I'm on a Mac and recently upgraded from Mavericks to Yosemite which might be the cause of my current issue. I am using mutt with t-prot and getting the following error when attempting to view a message in mutt (which invokes t-prot) 'Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /Library/Perl/5.12 /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/bin/t-prot line 1147.When i do a search for getttext, I see the following:
So seeing that @INC doesn't appear to look in /Library/Perl/5.16/ I then added the path using: $ PERL5LIB=/Library/Perl/5.16/darwin-thread-multi-2level/; export PERL5LIBDoing that, I now get this error when trying to view a message with mutt/t-prot:
/Library/Perl/ contains a /5.16 and a /5.18 directory but looks like anything related to gettext is only in /5.16. Looking for guidance on how to fix this so that the needed files are found. Thanks!
Back to
Seekers of Perl Wisdom
|
|