T-Fen has asked for the wisdom of the Perl Monks concerning the following question:
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: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-2lev +el /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
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.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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl errors on Mac OSX Lion
by bitingduck (Deacon) on Jun 09, 2012 at 05:00 UTC | |
|
Re: Perl errors on Mac OSX Lion
by ikegami (Patriarch) on Jun 09, 2012 at 00:04 UTC | |
|
Re: Perl errors on Mac OSX Lion
by kcott (Archbishop) on Jun 09, 2012 at 13:14 UTC | |
|
Re: Perl errors on Mac OSX Lion
by snape (Pilgrim) on Jun 08, 2012 at 23:58 UTC |