[R-SIG-Mac]building R 1.6.1 under 10.2.2 on a G3 Mac
David Firth
david.firth@nuffield.oxford.ac.uk
Mon, 18 Nov 2002 09:40:11 +0000
Has anyone succeeded in building R 1.6.1 from source under
Mac OS 10.2.2 on a G3 Mac? If so, I would welcome any tips.
I have a G3 iBook with newly installed OS 10.2.2 and fully
up to date Apple Developer Tools. Newly installed fink,
set up to look in the "unstable" package tree. And newly
installed versions (from fink) of dlcompat, ncurses, g77,
tcltk, etc, etc.
When running configure on the R sources I get the following error:
[nuff-pingo:~/R/R-1.6.1] david% ./configure --with-x --with-tcltk
--with-tcl-config=/sw/lib/tclConfig.sh
--with-tk-config=/sw/lib/tkConfig.sh CPPFLAGS="-I/sw/include"
LDFLAGS="-L/sw/lib/"
....(snip)
checking how to get verbose linking output from g77... -v
checking for Fortran 77 libraries... -lcrt1.o -L/sw/lib/
-L/usr/libexec/gcc/darwin/ppc -L/usr/lib/gcc/darwin -L/usr/local/lib
-lreadline -ldl -lncurses -lm -lg2c -lcc_dynamic -lSystem
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
Can anyone suggest how I might overcome this?
David