[MacRuby-devel] Trunk build not working

Giampiero De Ciantis gdeciantis at gmail.com
Thu Oct 8 04:33:43 PDT 2009


Thanks Laurent.

It's weird that this happened since the only thing I changed between  
builds was that I blew away the \Library\Frameworks\MacRuby folder to  
clean up my machine a bit. Ah well, it's all good now.

Cheers,

-Gp



On 2009-10-08, at 12:34 AM, Laurent Sansonetti wrote:

> It doesn't build because you apparently installed an incompatible  
> set of mach-o include files in /usr/local. You could temporarily  
> rename the /usr/local/include/mach-o directory (or delete it, if you  
> don't know why it's there).
>
> Laurent
>
> On Oct 7, 2009, at 9:30 PM, Giampiero De Ciantis wrote:
>
>> I am getting this when I build:
>>
>> (in /Users/Gp/projects/macruby)
>> /usr/bin/gcc -std=c99 markgc.c -o markgc -Wno-format
>> In file included from markgc.c:31:
>> /usr/local/include/mach-o/arch.h:35: error: nested redefinition of  
>> ‘enum NXByteOrder’
>> /usr/local/include/mach-o/arch.h:35: error: redeclaration of ‘enum  
>> NXByteOrder’
>> /usr/local/include/mach-o/arch.h:36: error: redeclaration of  
>> enumerator ‘NX_UnknownByteOrder’
>> /usr/include/architecture/byte_order.h:147: error: previous  
>> definition of ‘NX_UnknownByteOrder’ was here
>> /usr/local/include/mach-o/arch.h:37: error: redeclaration of  
>> enumerator ‘NX_LittleEndian’
>> /usr/include/architecture/byte_order.h:148: error: previous  
>> definition of ‘NX_LittleEndian’ was here
>> /usr/local/include/mach-o/arch.h:39: error: redeclaration of  
>> enumerator ‘NX_BigEndian’
>> /usr/include/architecture/byte_order.h:150: error: previous  
>> definition of ‘NX_BigEndian’ was here
>> rake aborted!
>> Command failed with status (1): [/usr/bin/gcc -std=c99 markgc.c -o  
>> markgc -...]
>>
>> I am using SL on a Core 2 Duo iMac. Any thoughts?
>>
>> Cheers,
>>
>> -Gp
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list