On Jan 4, 2010, at 4:09 AM, Luca Viggiani wrote: Hi Guys, sorry for not using the Forum but although I'm registered and logged in to SourceForge, when it redirects me to the forum it keeps asking me for credentials and they doesn't work.
I'm trying to install on snow leopard. I followed instructions here:
So I added the follwoing line at the bottom of my .jhbuildrc-custom:
setup_sdk("10.6", "10.6", ["i386"]) _gtk_osx_use_jhbuild_python=True append_autogenargs("python", "--with-universal-archs=32-bit --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk")
I also set the environmental variable like this
$ export VERSIONER_PYTHON_PREFER_32_BIT=yes
and then when I run
$ jhbuild bootstrap --ignore-system
I get:
gcc -std=gnu99 -I. -I/Users/lviggiani/gtk/inst/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -arch i386 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -arch x86_64 -mmacosx-version-min=10.6 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -MT gl_avltree_oset.o -MD -MP -MF .deps/gl_avltree_oset.Tpo -c -o gl_avltree_oset.o gl_avltree_oset.c gcc-4.2: -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/13]
Where is my error? Thanks in advance for your help!
It's certainly OK to use the list, that's why it's here. In truth, I prefer mailing lists to web fora.
Anyway, those -M? flags aren't coming from jhbuild or python's configure. Perhaps you have some stray CFLAGS in your environment from another project.
You probably want to use the same SDK in both your setup_sdk and python autogenargs.
Don't get your hopes up with universal building. It works for python because the python devs have made sure that it does. Glib and Gtk+ will build successfully, but gtk+ apps crash because of endianness issues with icon caches when run on ppc. (In fact, I haven't yet gotten even a cross-compiled gtk+ app to not crash on ppc.)
Regards, John Ralls
|