From ripley at stats.ox.ac.uk  Tue Jun  8 19:46:58 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Jun  8 19:47:12 2004
Subject: [Rd] make fails with utf-8 locale, RH9 (PR#6958)
In-Reply-To: <20040608093709.75495108FB@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0406081839090.16457-100000@gannet.stats>

After some tracking down, this is not due to utf-8 at all.  It happens in
et_EE as well, and it does not happen in en_GB.UTF-8.  It is due to the
position of z in the sort in that locale (before u).

In detail, it is down to how make interprets

RSRC = $(srcdir)/R/*.R $(srcdir)/R/$(R_OSTYPE)/*.R

in ${R_HOME}/src/library/base/Makefile, and we need to force LC_COLLATE=C
there.

On Tue, 8 Jun 2004 otoomet@econ.dk wrote:

> Hi,
> 
> I have an RH9 box (gcc (GCC) 3.2.2, perl 5.8.0, make 3.79.1).  My
> locale is
> 
> LANG="et_EE.UTF-8"
> 
> I do:
> 
> $ ./configure --prefix=/usr/local
> ...
> $ make
> ...
> make[4]: Entering directory `/home/otoomet/a/R-1.9.0/src/library/stats4'
> dumping R code in package 'stats4'
> Error in structure(c(unlist(lapply(list(...), unclass))), class = c("POSIXt",  : 
>         couldn't find function "unlist"
> Execution halted
> ...
> 
> make stops with similar error messages later.
> 
> when I say now
> 
> $ LANG="" make
> 
> everything works OK.
> 
> I can supply further information if you consider the problem worth of
> investigating/mentioning in docs.
> 
> Thanks for R!
> 
> Ott
> 
> 

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] make fails with utf-8 locale, RH9 (PR#6958)
Prof Brian Ripley