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

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 8 19:46:58 CEST 2004


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 at 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 at 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



More information about the R-devel mailing list