Re: [R] Compile failure on OSX

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 17 Aug 2005 - 05:11:06 EST

On Tue, 16 Aug 2005, Adam Witney wrote:

> I am trying to compile R-2.1.1 on MacOSX 10.3.9, but the make is failing (I
> am building it without all the aqua stuff):
>
> ./configure --enable-R-shlib --with-lapac

That's incorrect. Please follow the advice in the R-admin.html file which the INSTALL file does ask you to read if you have any problems. It says for your OS:

   ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua    make

   The last option @option{--with-aqua} is needed only if you want a

   Console GUI. The first two options are strongly recommended.
                                          ^^^^^^^^^^^^^^^^^^^^

It also warns you against using --with-lapack if you don't know what you are doing.

> make
>
> .... Snip .....
>
> gcc -dynamiclib -L/sw/lib -L/usr/local/lib -install_name
> /Library/Frameworks/R.framework/Versions/2.1.1/Resources/lib/libRlapack.dyli
> b -o libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo
> dlapack3.lo cmplx.lo cmplxblas.lo
> -L/sw/lib/gcc/powerpc-apple-darwin7.9.0/3.4 -lg2c -lSystem
> ld: Undefined symbols:
> _dasum_

[...]

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Aug 17 05:19:56 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:24:15 EST