[R] Compile failure on OSX

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 16 21:11:06 CEST 2005


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




More information about the R-help mailing list