Thank you Ei-ji,
That seems to have done it.
> .Machine$sizeof.pointer
[1] 8
So in total I've done the following to get it work:
Installed these readline rpms from the SLES10 media:
readline-devel-64bit-5.1-24.4
readline-devel-5.1-24.4
This is the configure command:
./configure CC="gcc -m64" /
CXX="gxx -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
which gets this:
R is now configured for powerpc64-unknown-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -m64 -std=gnu99 -mminimal-toc
-fno-optimize-sibling-calls -g -O2
Fortran 77 compiler: gfortran -m64 -mminimal-toc
-fno-optimize-sibling-calls -g -O2
C++ compiler: gxx -m64
Fortran 90/95 compiler: gfortran -m64 -g -O2
Interfaces supported:
External libraries: readline
Additional capabilities: iconv, MBCS, NLS
Options enabled: shared BLAS, R profiling
Recommended packages: yes
configure: WARNING: I could not determine CXXPICFLAGS.
configure: WARNING: I could not determine SHLIB_CXXLDFLAGS
configure: WARNING: I could not determine CXXPICFLAGS.
configure: WARNING: you cannot build DVI versions of the R manuals
configure: WARNING: you cannot build PDF versions of the R manuals
configure: WARNING: I could not determine a PDF viewer
And that gets through make with no errors. That's R 2.4.1 on SLES10 on a power5
CPU server.
Thank-you to Peter Dalgaard and Prof. Ripley for their help with this.
Andrew Ferris
Network Support Analyst
iCAPTURE Research Centre
University of British Columbia
>>> "Ei-ji Nakama" <[EMAIL PROTECTED]> 3/15/2007 7:01 PM >>>
2007/3/16, Andrew Ferris <[EMAIL PROTECTED]>:
> I'm closer but still not quite there. Here's the configure command I'm using:
>
> ./configure 'CC=gcc -m64' 'CXX=g++ -m64 -mminimal-toc' 'FC=gfortran -mc64
> -fno-optimize-sibling-calls' 'F77=gfortran -m64 -fno-optimize-sibling-calls'
> 'LDFLAGS=-L/usr/lib64' R_PAPERSIZE='letter'
$ uname -a
Linux macg5 2.6.18-3-powerpc64 #1 SMP Mon Dec 4 15:40:16 CET 2006
ppc64 GNU/Linux
$ gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
$ gcc -print-multi-lib
.;@[EMAIL PROTECTED]
64;@[EMAIL PROTECTED]@mstrict-align
$ ./configure CC="gcc -m64" \
CXX="gxx -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" \
--without-x
$ file bin/exec/R
bin/exec/R: ELF 64-bit MSB executable, PowerPC 64-bit or cisco 7500,
version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared
libs), for GNU/Linux 2.6.0, not stripped
--
EI-JI Nakama <[EMAIL PROTECTED]>
"\u4e2d\u9593\u6804\u6cbb" <[EMAIL PROTECTED]>
***CONFIDENTIALITY NOTICE***
This electronic message is intended only for the use of the addressee and may
contain information that is privileged and confidential. Any dissemination,
distribution or copying of this communication by unauthorized individuals is
strictly prohibited. If you have received this communication in error, please
notify the sender immediately by reply e-mail and delete the original and all
copies from your system.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel