From ripley at stats.ox.ac.uk  Wed Jun 14 06:37:54 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 14 Jun 2006 05:37:54 +0100 (BST)
Subject: [Rd] Build R-2.3.1 on Red Hat AS release 4
In-Reply-To: <200606131717.12470.lai@lindaspaces.com>
References: <200606131717.12470.lai@lindaspaces.com>
Message-ID: <Pine.LNX.4.64.0606140533540.2567@gannet.stats.ox.ac.uk>

Works for me on FC3 with gcc 3.4.4. as shipped with FC3 (and used to build 
the FC3 RPMs on CRAN).

There are rh4AS RPMs of R-2.3.0 on CRAN (under linux/redhat/el4), and 
2.3.1 is just a patch update of 2.3.0.

On Tue, 13 Jun 2006, Jennifer wrote:

> 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
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

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



[Rd] Build R-2.3.1 on Red Hat AS release 4
Prof Brian Ripley