[R-SIG-Mac] Trouble building R 1.7.1
Thomas Lumley
tlumley at u.washington.edu
Wed Oct 1 07:34:25 MEST 2003
On Wed, 1 Oct 2003, George W. Gilchrist wrote:
> 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.
Yes, this is a known problem. I forget the solution, but someone will
probably point it out. More importantly, if you build the r-devel
snapshot (which is now in code freeze and will be 1.8.0 next week) it
doesn't happen.
-thomas
> 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/
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-SIG-Mac
mailing list