Locale problems with perl
Erik Norgaard
norgaard at locolomo.org
Wed Dec 14 00:41:08 PST 2005
Hi,
I recently (two weeks ago) upgraded my system and all ports. But since
then, whenever I install some perl module I get something like this:
######## Begin Make output ##########
===> Extracting for p5-Compress-Zlib-1.41
=> MD5 Checksum OK for Compress-Zlib-1.41.tar.gz.
=> No SHA256 checksum recorded for Compress-Zlib-1.41.tar.gz.
===> p5-Compress-Zlib-1.41 depends on file: /usr/local/bin/perl5.8.7 -
found
tar: Failed to set default locale
===> Patching for p5-Compress-Zlib-1.41
===> p5-Compress-Zlib-1.41 depends on file: /usr/local/bin/perl5.8.7 -
found
===> Applying FreeBSD patches for p5-Compress-Zlib-1.41
===> p5-Compress-Zlib-1.41 depends on file: /usr/local/bin/perl5.8.7 -
found
===> Configuring for p5-Compress-Zlib-1.41
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_GB.ISO_8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Parsing config.in...
Looks Good.
Up/Downgrade complete.
Checking if your kit is complete...
Looks good
Unable to find a perl 5 (by these names: /usr/local/bin/perl5.8.7 perl
perl5 perl5.8.7 miniperl, in these dirs: /sbin /bin /usr/sbin /usr/bin
/usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin /root/bin
/usr/local/bin)
Writing Makefile for Compress::Zlib
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_GB.ISO_8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
===> Building for p5-Compress-Zlib-1.41
0: not found
*** Error code 127
Stop in /usr/ports/archivers/p5-Compress-Zlib/work/Compress-Zlib-1.41.
*** Error code 1
######## End Make output ##########
But I have:
calvin# which perl
/usr/bin/perl
calvin# which perl5.8.7
/usr/local/bin/perl5.8.7
In login.conf I have:
en_GB:English users:\
:charset=iso-8859-1:\
:lang=en_GB.ISO8859-1:\
:tc=default:
Any idea what has gone wrong during upgrade?
Thanks, Erik
--
Ph: +34.666334818 web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
More information about the freebsd-questions
mailing list