vinod.rajakumar@vectorpartners.com
2002-Jan-18 14:17 UTC
[Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273)
Full_Name: vinod rajakumar Version: R-1.4.0 OS: Solaris 5.8 Submission from: (NULL) (66.9.157.2) 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 gmake 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? thank you, vinod -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Jan-18 14:31 UTC
[Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273)
On Fri, 18 Jan 2002 vinod.rajakumar@vectorpartners.com wrote:> Full_Name: vinod rajakumar > Version: R-1.4.0 > OS: Solaris 5.8 > Submission from: (NULL) (66.9.157.2) > > > > 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 > gmake > > 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, 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 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Jan-18 16:16 UTC
[Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273)
Filing this for the record. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 ---------- Forwarded message ---------- Date: Fri, 18 Jan 2002 10:49:52 -0500 From: Vinod Rajakumar <vinod.rajakumar@vectorpartners.com> To: Prof Brian Ripley <ripley@stats.ox.ac.uk> Subject: Re: [Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273) Thanks so much. I am not very familiar with Unix and your suggestions helped tremendously this is the gcc I have: gcc version 2.95.2 19991024 gcc is installed on /opt/sfw, and you were correct regarding LD_LIBRARY_PATH, I have compiled and successfully installed R. here's what I did: gmake distclean export LD_LIBRARY_PATH=/opt/sfw/lib:/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/ ./configure --prefix=$HOME/sfw/R gmake gmake check gmake install Best regards, Vinod Rajakumar Prof Brian Ripley wrote:> On Fri, 18 Jan 2002 vinod.rajakumar@vectorpartners.com wrote: > > > Full_Name: vinod rajakumar > > Version: R-1.4.0 > > OS: Solaris 5.8 > > Submission from: (NULL) (66.9.157.2) > > > > > > > > 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 > > gmake > > > > 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, 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 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Seemingly Similar Threads
- [LLVMdev] [3.5 Release] Release Candidate 1 Sources and Binaries Available
- [LLVMdev] [3.5 Release] Release Candidate 4 Now Available
- [LLVMdev] [3.5 Release] Release Candidate 1 Sources and Binaries Available
- Compiling R-2.12.1 with gcc 3.4.6 on Sun Sparc Solaris 10
- R configure fails on solaris: configure:12951: error: cannot compute sizeof (int), 77