From lai at lindaspaces.com  Tue Jun 13 23:17:12 2006
From: lai at lindaspaces.com (Jennifer)
Date: Tue, 13 Jun 2006 17:17:12 -0400
Subject: [Rd] Build R-2.3.1 on Red Hat AS release 4
Message-ID: <200606131717.12470.lai@lindaspaces.com>

Hi,
   I attempted to build R-2.3.1 with gcc and g77 version 3.4.4 on a cluster 
that runs Red Hat AS 4.   The configuration step went through without any 
problem, 

*****
R is now configured for x86_64-unknown-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -g -O2 -std=gnu99
  Fortran 77 compiler:       g77  -g -O2

  C++ compiler:              g++  -g -O2
  Fortran 90/95 compiler:    g77 -g -O2

  Interfaces supported:      X11
  External libraries:        readline
  Additional capabilities:   iconv, MBCS, NLS
  Options enabled:           R profiling

  Recommended packages:      yes
****

But when I tried to run "make" or "make distclean", the process went into an 
infinite loop.  Has anyone built R-2.3.1 with gcc and g77 3.4.4?  If yes, can 
you share your experience on this? Thanks!

I have successfully built R-2.2.1 on the same machine with same version of gcc 
and g77 few months ago. So it seems odd that R-2.3.1 build failed. 
Is there any change in R-2.3.1 that I should use newer version of compiler? 

any help is greatly appreciated! Thanks!


Here are some OS and compiler info: 

$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

$ uname -a
Linux node1 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 
x86_64 GNU/Linux

$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk 
--host=x86_64-redhat-linux
Thread model: posix

$ g77 -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)



Regards,
Jennifer



[Rd] Build R-2.3.1 on Red Hat AS release 4
Jennifer