R-beta: perl warnings during make

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jul 7 19:14:02 CEST 1998

Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at> writes:

> >>>>> On Mon, 6 Jul 1998 13:58:42 -0500 (CDT),
> >>>>> Bill Simpson (BS) wrote:
> BS> During the make of the current intermediate patch R-release, 
> BS> I get numerous warnings like this:
> BS> data                              text    html    latex
> BS> perl: warning: Setting locale failed.
> BS> perl: warning: Please check that your locale settings:
> BS>         LC_ALL = (unset),
> BS>         LC_CTYPE = "iso-8859-1",
> BS>         LANG = (unset)
> BS>     are supported and installed on your system.
> BS> perl: warning: Falling back to the standard locale ("C").
> BS> I never had this happen before.  What has happened, and how to fix?
> I have never seen warnings like the above (I'm using Debian 1.3). Did
> you change anything in your perl/linux installation, or was the only
> change in the version of R? Which version of R was the last you
> used that built without the above warnings?

This probably displays Slackware's - um - slackness (or Bills...).
Once upon a time before people realised what the locale mechanisms
were supposed to do, there existed a number of halfbaked solutions and
one of the more horrible hacks was that in order to get isprint() to
work with "8bit ascii", the libc library went looking in LC_CTYPE for
the "iso-8859-1". 

Nowadays, there's a much more elaborate system of specification files
in /usr/share/locale (or thereabouts, /usr/lib/locale under Solaris).
Apparently using setlocale() in perl sends it out looking for the
configuration files and...

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list