Greetings, +1; I can't even get past: encoding.h:22:30: error: unicode/ustring.h: No such file or directory
Sad fox. I'm pulling down XCode 4.2 to see if that works better... -- Morgan On Fri, Jul 22, 2011 at 6:39 AM, Marvin Frick <marvinfr...@gmx.de> wrote: > Hi, > > I have some trouble compiling MacRuby on Lion with XCode 4.1. > As some tickets in the trac indicate that people are using macruby on lion, > i think this might be a problem with my setup. As said, its a MacOSX Lion > with xcode 4.1 build 4B110 (got it from the appstore just yesterday). > > I checked out 0.10 from github.com and rake'd it: > > In file included from kernel.c:19: > encoding.h:22:30: error: unicode/ustring.h: No such file or directory > > This seems reasonable since unicode/*.h is in icu-1060/. Shouldnt these > header files come with xcode anyway? > After my silly approach of copying the files into the include folder, the > compiler does find the needed deklarations and the rake process goes on. > However, some files later: > > /usr/bin/gcc-4.2 -std=c99 -I. -I./include -pipe -fno-common -fexceptions > -fblocks -g -O3 -Wall -Wno-deprecated-declarations -Werror -arch x86_64 -c > gc.c -o .objs/gc.o > gc.c: In function ‘ruby_xmalloc_ptrs’: > gc.c:130: error: ‘AUTO_MEMORY_ALL_POINTERS’ undeclared (first use in this > function) > gc.c:130: error: (Each undeclared identifier is reported only once > gc.c:130: error: for each function it appears in.) > rake aborted! > > The few google results on "AUTO_MEMORY_ALL_POINTERS" reveals that this > comes from CoreFoundations CoreFoundation_Prefix.h. Unforunately this file > does not exist in any CoreFoundation Frameworks (neither iOS, nor MacOSX) in > /Developer on my Mac. > > About my system: > > LLVM 2.9 build with homebrew. > > # echo $PATH > > /usr/local/Cellar/ruby/1.9.2-p180/bin:/usr/local/bin:/usr/local/sbin:/Users/marv/.bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > > # gcc-4.2 -v > Using built-in specs. > Target: i686-apple-darwin11 > Configured with: /private/var/tmp/gcc/gcc-5666.3~278/src/configure > --disable-checking --enable-werror --prefix=/usr --mandir=/share/man > --enable-languages=c,objc,c++,obj-c++ > --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib > --build=i686-apple-darwin11 --program-prefix=i686-apple-darwin11- > --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 > --with-gxx-include-dir=/include/c++/4.2.1 > Thread model: posix > gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) > > #llvm-gcc-4.2 -v > Using built-in specs. > Target: i686-apple-darwin11 > Configured with: > /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure > --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 > --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ > --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ > --with-slibdir=/usr/lib --build=i686-apple-darwin11 > --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local > --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 > --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 > Thread model: posix > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) > > Before I upgarded to Lion a ran SnowLeopard with LLVM 2.9 from homebrew and > and older xcode 3.something and it compiled and ran perfectly. > > What might got wrong here? > Any hints appreciated! > > Thanks! > Marvin > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel