[R-SIG-Mac] Trouble building R 1.7.1

George W. Gilchrist gwgilc at wm.edu
Wed Oct 1 08:59:50 MEST 2003


I'm trying to build R following Stefano's step by step directions. I am
using gcc 3.3 and g77 3.4. After a few minutes compiling, I get the
following set of messages/errors.

gcc -no-cpp-precomp -I. -I../../src/include -I../../src/include
-I/usr/X11R6/include -I/sw/include -I/usr/local/include -DHAVE_CONFIG_H   -g
-O2 -c devQuartz.c -o devQuartz.o
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/CarbonCore.h:113,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                 from devQuartz.c:42:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/Debugging.h:285:2: #else without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/Debugging.h:287:2: #endif without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
ework/Headers/Debugging.h:301:1: missing binary operator before token "enum"
devQuartz.c:1156:1: unterminated #if
make[3]: *** [devQuartz.o] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1

I looked at those lines in Debugging.h and everything looks fine. Any clues?
Thanks to all for your help.

==================================================================
George W. Gilchrist                        Email #1: gwgilc at wm.edu
Department of Biology, Box 8795          Email #2: kitesci at cox.net
College of William & Mary                    Phone: (757) 221-7751
Williamsburg, VA 23187-8795                    Fax: (757) 221-6483
http://gwgilc.people.wm.edu/



More information about the R-SIG-Mac mailing list