Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 09:40:57 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        questions@freebsd.org
Subject:   Locale problems with perl
Message-ID:  <439FDA99.1030500@locolomo.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439FDA99.1030500>