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

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 2 19:21:35 CEST 2004

There is no known problem with LANG=C on Solaris and it is tested
regularly. Clearly from

> but ld breaks if I do
> $ gcc prog.c -lm

this is nothing to do with R or autoconf.

On Fri, 2 Jul 2004 eweese at bank-banque-canada.ca wrote:

> I don't know enough to be sure that this is a related problem, but it 
> looks similar...
> I just compiled 1.9.1 on sparc-sun-solaris, and ld would do
> collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
> in ./configure.  This is because LC_CTYPE was set to C.  If I deleted 
> that line, leaving LC_CTYPE at its standard setting of 
> "en_CA.ISO8859-1", ld worked fine.  If I try to compile a simple program 

That is *NOT* a utf-8 locale.

> with LC_CTYPE=C, it works fine with
> $ gcc prog.c
> but ld breaks if I do
> $ gcc prog.c -lm
> Anyways, I'm not sure whether this is an R problem, or an autoconf 
> problem, or what, but I thought I would try here first...

Please do read the section on BUGS in the R FAQ, and do not use R-bugs to 
report errors in your own system configuration.

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