[R-SIG-Mac] compiling R devel on vanilla tiger

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Fri Aug 19 20:35:46 CEST 2005


Hi

I am trying to compile R-devel (the version from yesterday) with a  
"vanilla" installation of Tiger on a new Powerbook. Vanilla means I  
am running
   - Xcode 2.1
   - Gcc 4.0
   - The gfortran build which Simon Urbanek has on his wiki website  
(build number 5202)
   - make version "GNU Make 3.80 "
   - libtool version "Apple Computer, Inc. version cctools-590"
   - autoconf version "autoconf (GNU Autoconf) 2.59 "

I do ./configure with the options
    ./configure F77=gfortran FLIBS=/usr/lib/libgfortran.a --with- 
blas='-framework vecLib'
     --with-lapack R_PAPERSIZE=letter --with-aqua

(btw are these the "right" options?), which gives my the configure  
output:

R is now configured for powerpc-apple-darwin8.2.0

   Source directory:          .
   Installation directory:    /Library/Frameworks

   C compiler:                gcc  -g -O2
   C++ compiler:              g++  -g -O2
   Fortran compiler:          gfortran  -g -O2

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

   Recommended packages:      yes

Making yields the error reproduced below.

How do I fix this? Shoudl I switch fortran compiler? Or install  
another version of libtool? Or?

Kasper


Make error:

gcc -dynamiclib -L/usr/local/lib -install_name /Library/Frameworks/ 
R.framework/Versions/2.2.0/Resources/lib/libRlapack.dylib -o  
libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo  
dlapack3.lo cmplx.lo  cmplxblas.lo  /usr/lib/libgfortran.a
ld: Undefined symbols:
_dasum_
_daxpy_
_dcopy_
_ddot_
_dgemm_
_dgemv_
_dger_
_dnrm2_
_drot_
_dscal_
_dswap_
_dsymv_
_dsyrk_
_dtbsv_
_dtpsv_
_dtrmm_
_dtrmv_
_dtrsv_
_idamax_
_xerbla_
_dtpmv_
_dtrsm_
_dgbmv_
_dsbmv_
_dspmv_
_dspr2_
_dspr_
_dsymm_
_dsyr2_
_dsyr2k_
_dsyr_
_dtbmv_
_zgemm_
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libRlapack.dylib] Error 1
make[3]: *** [R] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1



More information about the R-SIG-Mac mailing list