From mark_komarinski at hms.harvard.edu  Thu Dec 20 14:39:08 2007
From: mark_komarinski at hms.harvard.edu (Mark Komarinski)
Date: Thu, 20 Dec 2007 08:39:08 -0500
Subject: [Rd] Problem compiling R 2.6.1 on POWER 570 system
In-Reply-To: <47691980.0211.007B.0@mrl.ubc.ca>
References: <47697CB9.5020407@hms.harvard.edu>
	<47691980.0211.007B.0@mrl.ubc.ca>
Message-ID: <476A707C.8050509@hms.harvard.edu>

Cookies all around for the rapid and accurate help!

I wound up using a variation of the below (the non-quoted part is what I 
changed):

On 12/19/2007 04:15 PM, Andrew Ferris wrote:
> Hello Mark,
> 
> Here's the full configure that I used to get 2.4.1 to work on 64bit SLES on a 570:
> 
> ./configure CC="gcc -m64" /
> CXX="gxx -m64" /
CXX="g++ -m64"
> F77="gfortran -m64" /
> FC="gfortran -m64" /
> CFLAGS="-mminimal-toc -fno-optimize-sibling-calls -g -O2" /
> FFLAGS="-mminimal-toc -fno-optimize-sibling-calls -g -O2" /
> LDFLAGS=-L/usr/lib64 /
> --without-x 

This did indeed create a 64-bit executable.

Alas, I won the battle but may still lose the war.  Red Hat did not 
include many PPC64 versions of their development libraries 
(libxml2-devel for example) that I need to install things like 
AnnBuilder.  It looks like RHEL 5 has these available, so I'll need to 
upgrade this partition and see if I can get this working.

Again, thanks for the help!

-Mark

-- 
Mark Komarinski				mark_komarinski at hms.harvard.edu
Sr. Research Systems Architect		http://ritg.med.harvard.edu
Research IT Group
Harvard Medical School



[Rd] Problem compiling R 2.6.1 on POWER 570 system
Mark Komarinski