[R-SIG-Mac]a problem building R-1.7.0
Jan de Leeuw
deleeuw at stat.ucla.edu
Wed Apr 16 20:55:42 MEST 2003
Yes. No a solution, but a way around it. Use the configure flags
--with-blas="-framework vecLib --with-lapack"
The problem is that /sw/lib/libg2c.a is not build with -fno-common.
By the way, tonight I'll upload R-1.7.0.pkg to gifi. It is a package
installer,
i.e. simply double click it, and it will install everything that's
needed
in /usr/local and in /sw/lib
On Wednesday, Apr 16, 2003, at 11:46 US/Pacific, 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
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550; fax (310)-206-5658; email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
------------------------------------------------------------------------
-------------------------
No matter where you go, there you are. --- Buckaroo Banzai
http://gifi.stat.ucla.edu/sounds/nomatter.au
More information about the R-SIG-Mac
mailing list