[Gtk-osx-users] Failure while building gtk+



Greetings,

  I've successfully built the following once on my laptop, but I need to rebuild on my desktop:

jhbuild bootstrap --ignore-system
jhbuild build meta-gtk-osx-bootstrap
jhbuild build meta-gtk-osx-core
jhbuild build meta-gtk-osx-python
jhbuild buildone librsvg

I'm building under a separate user, which does not have my macports installation in it's path (same is true on the laptop).  The .jhbuildrc-custom has the following customizations:

_gtk_osx_use_jhbuild_python = True
append_autogenargs("python", "--with-universal-archs=32-bit --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk")
branches["python"] = "http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2";

setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])

os.environ["CC"] = "/usr/bin/gcc-4.0"

build_policy = "updated-deps"

Things seem to move along just fine, save the issue with Python's filesize and/or sum not matching, for which I must manually extract in a shell, and the issue with the Python Makefile ignoring the configure directives and having duplicate -arch and -sysroot definitions -- which is solved by hand editing the Makefile, and forcing the build phase.

The issue I'm running into on the desktop is during the build of gtk+, I get hundreds and hundreds of errors similar to the following:

In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12,
                 from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                 from gtkstatusicon-quartz.c:26,
                 from gtkstatusicon.c:104:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:124: error: stray '@' in program
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:124: error: syntax error before 'NSString'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:126: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:127: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:129: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:130: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:132: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:132: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:137: error: syntax error before '*' token
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:138: error: syntax error before '*' token

Both laptop and desktop are running 10.6.4 and have all applicable updates applied.  

The only discernable difference I can see is that the config.log for gtk+ on the desktop lacks --without-libjasper in the argument list supplied at configure time.

I've manually configured with the addition of --without-libjasper, and I still get the errors.

I'm thoroughly lost here.

Any thoughts?

Regards,

  Phil


Attachment: smime.p7s
Description: S/MIME cryptographic signature







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]