[ale] Perl question

Trey Sizemore trey at fastmail.fm
Fri Jun 8 23:04:27 EDT 2012


On Fri Jun 08, 2012 05:32PM, Trey Sizemore wrote:
> 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.
> 

Nevermind.  I ended up finding and installing the needed C library.

-- 
Cheers,
Trey
----
 
The beauty of the soul shines out when a man bears 
with composure one heavy mischance after another, 
not because he does not feel them, but because
he is a man of high and heroic temper. 
                 --Aristotle
 
Darwin tbook-2.local 11.4.0 x86_64
23:03  up 1 day, 12:21, 5 users, load averages: 0.86 1.08 1.23


More information about the Ale mailing list