[Gtk-osx-users] unable to build on 10.6.6
Status: Beta
Brought to you by:
jralls
From: Anthony D. <ad...@gm...> - 2011-02-07 19:56:38
|
Dear GTK+-2 OSX Users, On a MacBook Pro, Intel Core 2, OS X 10.6.6, jhbuild bootstrap fails; the last few lines of the output are /usr/bin/gcc-4.0 -std=gnu99 -I. -I/Users/prog/gtk/inst/include -I/Developer/\ SDKs/MacOSX10.6.sdk/usr/include -I/Developer/SDKs/MacOSX10.4.sdk/usr/include -\ arch i386 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -arch i386 -I/Developer/\ SDKs/MacOSX10.4.sdk/usr/include -arch x86_64 -mmacosx-version-min=10.6 -isysroo\ t /Developer/SDKs/MacOSX10.4.sdk -mmacosx-version-min=10.4 -isysroot /Developer\ /SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -MT gl_avltree_oset.o -MD -MP -M\ F .deps/gl_avltree_oset.Tpo -c -o gl_avltree_oset.o gl_avltree_oset.c gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch\ flags make[3]: *** [gl_avltree_oset.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 *** Error during phase build of m4: ########## Error running make *** [2/10] I started out by clearing everything out of the account; then sh gtk-osx-build-setup.sh then edited .jhbuildrc-custom and put the following 3 lines at the end: moduleset = " http://github.com/jralls/gtk-osx-build/raw/master/modulesets-stable/gtk-osx.modules" setup_sdk(target="10.4", sdk_version="10.4", architectures=["i386"]) setup_sdk("10.6", "10.6", ["i386"]) (following the two sets of instructions for building on Snow Leopard), then did jhbuild boostrap I tried the same process but without the line setup_sdk(target="10.4", sdk_version="10.4", architectures=["i386"]) (guessing here about "multiple -arch flags") but got the same result. I have Python 2.6.1, svn 1.6.5, and git 1.7.3.5 installed, and the developer tools from Xcode from the install DVD (for example, i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) Thanks, Tony |