[Rd] R compilation problem on 64 bit SunOS (PR#13898)

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 21 10:54:42 CEST 2009


On Fri, 21 Aug 2009, Peter Dalgaard wrote:

> Prof Brian Ripley wrote:
> [snip]
>> In fact you did not specifically not request nls: use the flag from the
>> gcc specs below to do so (as someone did for gcc).
>
> Brian, I see --disable-nls in both places, so you may want to expand on
> that. (I could well be missing the point, but then I'd like to know what
> it was.)

The include of libintl.h is inside ENABLE_NLS, and when I tried with 
--disable-nls it was not included.  So I cannot reproduce this if that 
option was actually used.

The point is that Solaris' libintl.h is incompatible with the GNU one.

>
>>
>>> Specifics:
>>>
>>> gcc -v
>>> Using built-in specs.
>>> Target: x86_64-pc-solaris2.10
>>> Configured with: ../../src/gcc-4.4.0/configure
>>> --prefix=/usr/local/opt/x86_64-pc-solaris2.10/gcc-4.4.0
>>> --with-gmp=/usr/local/opt/x86_64-pc-solaris2.10
>>> --with-mpfr=/usr/local/opt/x86_64-pc-solaris2.10 --disable-nls
>>> --enable-languages=c,c++,fortran -with-gnu-as --without-gnu-ld
>>> --with-ld=/usr/ccs/bin/ld --with-as=/usr/sfw/bin/gas CC='gcc -m64'
>>> CXX='g++
>>> -m64' CFLAGS='-m64 -g -O2' CXXFLAGS='-m64 -g -O2' LDFLAGS=-m64
>>> Thread model: posix
>>> gcc version 4.4.0 (GCC)
>>>
>>> R version: 2.9.1 (2009-06-29)
>>>
>>> R configuration
>>> ../../src/R-2.9.1/configure
>>> --prefix=/usr/local/opt/x86_64-pc-solaris2.10/R-2.9.1
>>> --exec-prefix=/usr/local/opt/x86_64-pc-solaris2.10/R-2.9.1 --disable-nls
>>> --without-recommended-packages --with-readline --with-gnu-ld CC="gcc -m64
>>> -I/usr/local/opt/x86_64-pc-solaris2.10/include
>>> -L/usr/local/opt/x86_64-pc-solaris2.10/lib" F77="gfortran -m64"
>>> CXX="g++ -m64"
>>> FC="gfortran -m64" LIBnn=lib64
>>> LD=/usr/local/opt/x86_64-pc-solaris2.10/bin/ld
>>
> [snip]
>
> --
>   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
>  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
> (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907
>
>

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