[Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273)
Fri, 18 Jan 2002 15:31:08 +0100 (MET)
On Fri, 18 Jan 2002 firstname.lastname@example.org wrote:
> Full_Name: vinod rajakumar
> Version: R-1.4.0
> OS: Solaris 5.8
> Submission from: (NULL) (18.104.22.168)
> my machine looks like:
> SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Sun-Blade-1000 (64-bit)
> I downloaded the zipped R-1.4.0 files into $HOME/dwnlds, unzipped, un-tar-ed,
> and ran the following:
> export MAKE=gmake
> export CC = gcc
> ./configure --prefix=$HOME/sfw/R
> and here's where it failed:
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -g -O2 -c arithmetic.c -o arithmetic.o
> arithmetic.c:672: #error code requires that int have 32 bits
> I did a double-check and sizeof(int) is 32 bits, any advice?
INT_32_BITS is tested during configure, so you need to look to see what it
did: possibly config.log will help.
I have seen this when the LD_LIBRARY_PATH was not set to allow the
libraries to be found. You don't tell us which version of gcc, but
gcc 3.0.x needs libgcc.so.
R does build with gcc 3.0.2 on Solaris 7, for example, so there is almost
certainly no problem other than local to you.
Brian D. Ripley, email@example.com
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-devel 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: firstname.lastname@example.org