Skip to content
Prev 165362 / 398506 Next

Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6

On Mon, 22 Dec 2008, Peter Dalgaard wrote:

            
It can: at least the released versions can provided the ObjC language is 
installed.  Most likely if making the .d file is an error then actual 
compilation will be too.

Note that this is a non-Apple build of a non-FSF version of a non-released 
version of gcc. I think the workaround is to use Apple compilers for 
Mac-specific code. So either use --with-aqua with Apple compilers, or 
--without-aqua with others.  From memory (I am not on my Mac right now), 
the latter will not build the quartz code at all: certainly 
src/library/grDevices/src/Makefile suggests so.

I'd suggest reporting Mac-specific problems on R-sig-mac, and problems 
with building R on experimental systems (including unreleased compilers) 
to the system's developers or perhaps R-devel.