Problem upgrading to R version 2.10.0.
On Oct 27, 2009, at 16:43 , Rolf Turner wrote:
First I downloaded the Mac binary from CRAN, but when I double clicked on install icon it told me ``Couldn't open "R-2.10.0.pkg". This package type requires Mac OS X 10.5.'' I guess I don't have 10.5.
Click on the "Apple" icon on the left-top corner and then on "About this Mac". It will say something like "Mac OS X Version 10.5.8" (or whatever version you have). The pkg build is for 10.5 and higher only (as the description prominently says).
Session info: R version 2.9.1 (2009-06-26) i386-apple-darwin8.11.1 locale: C attached base packages: [1] datasets utils stats graphics grDevices methods base other attached packages: [1] misc_0.0-11 fortunes_1.3-6 MASS_7.2-47
(None of the information that I can extract from my machine refers to ``MAC OS X 10.x''; it only refers to apple-darwin<whatever> --- and there never appears to be any information as to the connection between the different forms of referent.) Anyhow, I then decided to try to roll my own. (This has worked in the past.) I downloaded the tar file of R 2.10.0, did ./configure and make. It went about its business for a while and then stopped with an error message. The tail end of the screen output is:
. . . building package 'tcltk' mkdir ../../../library/tcltk mkdir ../../../library/tcltk/R mkdir ../../../library/tcltk/exec mkdir ../../../library/tcltk/po making init.d from init.c making tcltk.d from tcltk.c making tcltk_unix.d from tcltk_unix.c gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ local/include -I/usr/X11R6/include -I/sw/include -I/usr/local/ include -fPIC -g -O2 -c init.c -o init.o gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ local/include -I/usr/X11R6/include -I/sw/include -I/usr/local/ include -fPIC -g -O2 -c tcltk.c -o tcltk.o gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ local/include -I/usr/X11R6/include -I/sw/include -I/usr/local/ include -fPIC -g -O2 -c tcltk_unix.c -o tcltk_unix.o In file included from tcltk_unix.c:23: ../../../../include/R_ext/eventloop.h:73: warning: 'struct timeval' declared inside parameter list ../../../../include/R_ext/eventloop.h:73: warning: its scope is only this definition or declaration, which is probably not what you want gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names - mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module - multiply_defined suppress -L/sw/lib -L/usr/local/lib -o tcltk.so init.o tcltk.o tcltk_unix.o -L/usr/local/lib -ltcl8.5 -L/usr/local/ lib -ltk8.5 -L/usr/X11R6/lib -lX11 -Wl,-weak-lXss -lXext - L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/ libRblas.dylib -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: for architecture x86_64 object: /usr/local/lib/libtk8.5.dylib malformed object (unknown load command 7) make[4]: *** [tcltk.so] Error 1 make[3]: *** [all] Error 1 make[2]: *** [R] Error 1 make[1]: *** [R] Error 1 make: *** [R] Error 1
I haven't a clue what to do about this. And so I'm stuck. I'd really like to be using the latest version of R,
Well, if that's all you want then just go to http://r.research.att.com/
but I seem to be thwarted at every turn. Can anyone help me out?
It seems as if you're trying to compile 64-bit version of R on Tiger which won't work. Without further details on the tools you installed, exact OS version and the like there is not much we can help with (please have a look at the R for Mac FAQ). Cheers, Simon