Skip to content
Back to formatted view

Raw Message

Message-ID: <B231C106-F424-11D7-B67F-003065CC4CB8@mclink.it>
Date: 2003-10-01T17:33:31Z
From: stefano iacus
Subject: Trouble building R 1.7.1
In-Reply-To: <BBA039F6.2FF4%gwgilc@wm.edu>

You should either use -D__DEBUGGING__, use Simon's patch or build the  
latest R-devel sources.

R 1.7.1 builds fine with that instruction using Dec2002 Dev Tools. When  
you update the tools the problems comes out. I should mention it in the  
instructions page.

BTW, R-1.8.0 is going to be released next week, and this version builds  
fine.

stefano


On Mercoled?, ott 1, 2003, at 13:59 Europe/Rome, 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.
>
> 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@wm.edu
> Department of Biology, Box 8795          Email #2: kitesci@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@stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>