[ale] Perl question
Trey Sizemore
trey at fastmail.fm
Fri Jun 8 17:32:21 EDT 2012
Hi all-
OK, so trying to get t-prot installed but appears there is an issue with
a missing Perl module/component. New to Perl and cpan, so bear with me.
When I try to read a message in mutt with t-prot installed and sourced,
I get the following error when trying to read a message:
Fetching message...Can't locate Locale/gettext.pm in @INC (@INC
contains: /Library/Perl/5.12/darwin-thread-multi-2level
/Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12
/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level
/Library/Perl/Updates/5.12.3
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12 .) at /usr/local/bin/t-prot line 1123.
Could not copy message
So looks like I'm missing Locale/gettext.pm. When I search for this on
the cpan search page, I get Locale::gettext (what I assume I need).
When I try to install with 'sudo cpan Locale::gettext' I get:
Going to read '/Users/trey/.cpan/Metadata'
Database was generated on Fri, 08 Jun 2012 14:58:04 GMT
Running install for module 'Locale::gettext'
Running make for P/PV/PVANDRY/gettext-1.05.tar.gz
Checksum for
/Users/trey/.cpan/sources/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz ok
CPAN.pm: Going to build P/PV/PVANDRY/gettext-1.05.tar.gz
checking for gettext... no
checking for gettext in -lintl... no
gettext function not found. Please install libintl at Makefile.PL line
18.
Warning: No success on command[/usr/bin/perl Makefile.PL]
PVANDRY/gettext-1.05.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Looks like the above suggest I should install 'libintl' which appears to
be provided by Log::Report::Translator::Gettext (which is already
installed)
So...I'm at a loss.
Any help greatly appreciated.
--
Trey Sizemore
trey at fastmail.fm
More information about the Ale
mailing list