[R-SIG-Mac]a problem building R-1.7.0

David Firth david.firth at nuffield.oxford.ac.uk
Wed Apr 16 23:26:55 MEST 2003


The solution: I needed to add

   --with-blas="-framework vecLib" --with-lapack

to the configure command.  Thanks to luke for putting me straight.

David

On Wednesday, Apr 16, 2003, at 19:46 Europe/London, David Firth wrote:

> On my G3 Mac running Mac OS 10.2.5.
>
> I downloaded the sources for R-1.7.0, ran "configure" without problem, 
> but then "make" runs into trouble.  I ran "fink update-all" 
> successfully, and tried again.  Still no luck (see below).  Any 
> suggestions?
>
> Regards,
> David
>
>
> [~/R/R-1.7.0] david% make
> make[1]: Nothing to be done for `R'.
> make[1]: Nothing to be done for `R'.
> make[2]: Nothing to be done for `R'.
> make[1]: Nothing to be done for `R'.
> make[3]: Nothing to be done for `R'.
> make[3]: `Makedeps' is up to date.
> make[3]: `libappl.a' is up to date.
> make[3]: `Makedeps' is up to date.
> make[3]: `libnmath.a' is up to date.
> make[3]: `Makedeps' is up to date.
> make[3]: `libunix.a' is up to date.
> make[3]: `Makedeps' is up to date.
> make[3]: `R.bin' is up to date.
> make[4]: `Makedeps' is up to date.
> make[4]: `R_X11.so' is up to date.
> make[4]: `Makedeps' is up to date.
> make[4]: `internet.so' is up to date.
> make[4]: `Makedeps' is up to date.
> gcc -dynamiclib -install_name /usr/local/lib/R/bin/libRlapack.dylib 
> -L/sw/lib -L/usr/local/lib -o libRlapack.dylib dlapack0.lo dlapack1.lo 
> dlapack2.lo dlapack3.lo cmplx.lo  cmplxblas.lo  -L/sw/lib 
> -L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.3/3.1 
> -L/sw/lib/gcc-lib/powerpc-apple-darwin6.3/3.1/../../.. -lfrtbegin 
> -lg2c -lSystem
> ld: common symbols not allowed with MH_DYLIB output format
> /sw/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
> /sw/lib/libg2c.a(fmt.o) definition of common f(char,  *) (size 4)
> /sw/lib/libg2c.a(err.o) definition of common f(char, long *, short 
> __restrict) (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__cursor (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__doed (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__doend (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__doned (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__dorevert (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__elist (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__fmtbuf (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__fmtlen (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__init (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__nonl (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__parenlvl (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common f(char *) (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__ret (size 40)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__revloc (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common f(long double,  *) (size 
> 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__scale (size 4)
> /sw/lib/libg2c.a(fmt.o) definition of common _f__workdone (size 4)
> /sw/lib/libg2c.a(err./usr/bin/libtool: internal link edit command 
> failed
> o) definition of common _f__units (size 4800)
> /sw/lib/libg2c.a(err.o) definition of common f(char, float) (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__curunit (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__donewrec (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__external (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__formatted (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__hiwater (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__putn (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__reading (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__recpos (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__sequential (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__getn (size 4)
> /sw/lib/libg2c.a(err.o) definition of common _f__icptr (size 4)
> /sw/lib/libg2c.a(err.o) definition of common f(short, void, int, char) 
> (size 4)
> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list