Re: [Gtk-osx-users] can't rebuild invironment using jhbuild




Sorry.... :*S

This is interesting:

setup_sdk(target="10.6", sdk_version="10.6", architectures=["x86_64"])

after having rm -rf all the dirs/files

and I still get:

gcc-4.2 -c  -I/Users/shawn/gtk/inst/include -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\"  "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"   Expat.c

which results in (from what your saying) this:

lipo: can't open input file: /var/folders/iJ/iJpCvobqGXG77Vueh0f7rE+++TI/-Tmp-//cc9lPNly.out (No such file or directory)
make[1]: *** [Expat.o] Error 2
make: *** [subdirs] Error 2

I'm going to try it again, just in case I did not clean out or clear out something correctly, but the previous stuff seems to have compiled correctly IE:

/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -arch x86_64 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/Users/shawn/gtk/inst/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -arch x86_64 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/Users/shawn/gtk/inst/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -arch x86_64 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/Users/shawn/gtk/inst/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -DHAVE_EXPAT_CONFIG_H -o lib/xmlrole.lo -c lib/xmlrole.c


How can I explicitly define the architecture using the Makefile.PL?

as always, thanks for the help :)




In the .jhbuild-custom file,

> From: jralls ceridwen us
> Date: Fri, 18 Mar 2011 12:08:53 -0700
> To: gtk-osx-users lists sourceforge net
> Subject: Re: [Gtk-osx-users] can't rebuild invironment using jhbuild
>
>
> On Mar 18, 2011, at 9:30 AM, Shawn Bakhtiar wrote:
>
> >
> > Help!
> >
> > I was using GTK on OS X fine until I upgraded to XCode 4. After having upgraded, my program would not compile complaining about some missing headers.
> >
> > dbf.c:11:23: error: sys/types.h: No such file or directory
> > dbf.c:12:19: error: stdio.h: No such file or directory
> > dbf.c:13:20: error: stdlib.h: No such file or directory
> > dbf.c:14:20: error: string.h: No such file or directory
> > dbf.c:15:19: error: fcntl.h: No such file or directory
> > dbf.c:16:19: error: ctype.h: No such file or directory
> > dbf.c:17:18: error: time.h: No such file or directory
> >
> > So I figured might as well get the latest sources and rebuild the GTK environment to see if I run into the same problems. I figured the upgrade may have bashed some toolsets.
> >
> > However, I am not able to re-build GTK, Here is what I did:
> >
> > 551 rm -rf .cache
> > 552 rm -rf gtk
> > 553 rm -rf Source
> > 554 rm -rf .jhbuildrc-custom
> > 555 rm -rf .jhbuildrc*
> >
> > Downloaded and ran the latest: gtk-osx-build-setup.sh
> >
> > Then,
> >
> > jhbuild bootstrap
> >
> > Then,
> >
> > jhbuild build meta-gtk-osx-bootstrap
> >
> >
> > /usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
> > gcc-4.2 -c -I/Users/shawn/gtk/inst/include -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" Expat.c
> > Expat.xs: In function ‘append_error’:
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘XML_Index’
> > Expat.xs: In function ‘parse_stream’:
> > Expat.xs:358: warning: format not a string literal and no format arguments
> > Expat.xs:388: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘startElement’:
> > Expat.xs:501: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘externalEntityRef’:
> > Expat.xs:1030: warning: format not a string literal and no format arguments
> > Expat.xs:1032: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘unknownEncoding’:
> > Expat.xs:1167: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_ParserCreate’:
> > Expat.xs:1284: warning: format not a string literal and no format arguments
> > Expat.xs:1286: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_GenerateNSName’:
> > Expat.xs:1898: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_LoadEncoding’:
> > Expat.xs:2032: warning: format not a string literal and no format arguments
> > Expat.xs:2043: warning: format not a string literal and no format arguments
> > Expat.xs:2044: warning: format not a string literal and no format arguments
> > Expat.xs:2052: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘append_error’:
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘XML_Index’
> > Expat.xs: In function ‘parse_stream’:
> > Expat.xs:358: warning: format not a string literal and no format arguments
> > Expat.xs:388: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘startElement’:
> > Expat.xs:501: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘externalEntityRef’:
> > Expat.xs:1030: warning: format not a string literal and no format arguments
> > Expat.xs:1032: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘unknownEncoding’:
> > Expat.xs:1167: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_ParserCreate’:
> > Expat.xs:1284: warning: format not a string literal and no format arguments
> > Expat.xs:1286: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_GenerateNSName’:
> > Expat.xs:1898: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_LoadEncoding’:
> > Expat.xs:2032: warning: format not a string literal and no format arguments
> > Expat.xs:2043: warning: format not a string literal and no format arguments
> > Expat.xs:2044: warning: format not a string literal and no format arguments
> > Expat.xs:2052: warning: format not a string literal and no format arguments
> > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
> > Installed assemblers are:
> > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
> > /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
> > Expat.xs: In function ‘append_error’:
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘XML_Size’
> > Expat.xs:220: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘XML_Index’
> > Expat.xs: In function ‘parse_stream’:
> > Expat.xs:358: warning: format not a string literal and no format arguments
> > Expat.xs:388: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘startElement’:
> > Expat.xs:501: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘externalEntityRef’:
> > Expat.xs:1030: warning: format not a string literal and no format arguments
> > Expat.xs:1032: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘unknownEncoding’:
> > Expat.xs:1167: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_ParserCreate’:
> > Expat.xs:1284: warning: format not a string literal and no format arguments
> > Expat.xs:1286: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_GenerateNSName’:
> > Expat.xs:1898: warning: format not a string literal and no format arguments
> > Expat.xs: In function ‘XS_XML__Parser__Expat_LoadEncoding’:
> > Expat.xs:2032: warning: format not a string literal and no format arguments
> > Expat.xs:2043: warning: format not a string literal and no format arguments
> > Expat.xs:2044: warning: format not a string literal and no format arguments
> > Expat.xs:2052: warning: format not a string literal and no format arguments
> > lipo: can't open input file: /var/folders/iJ/iJpCvobqGXG77Vueh0f7rE+++TI/-Tmp-//ccx0WPI0.out (No such file or directory)
> > make[1]: *** [Expat.o] Error 2
> > make: *** [subdirs] Error 2
> > *** Error during phase build of perl-xml-parser: ########## Error running make LD_RUN_PATH= *** [8/13]
> >
> > [1] Rerun phase build
> > [2] Ignore error and continue to install
> > [3] Give up on module
> > [4] Start shell
> > [5] Reload configuration
> > [6] Go to phase "wipe directory and start over"
> >
> >
> >
> >
> > Why is lipo unable to find the intermediary file it needs? I am going to re-do it with
> >
> > setup_sdk(target="10.6", sdk_version="10.6", architectures=["i386"])
> >
> > Sorry I have not followed the list, is ige-mac-integration working with 64bit? And do I have to now Use the GTKApplication now?
> >
> >
> >
>
> Please don't reply to messages when you start a new thread. Mail.app will fill in the address for you with just a few keystrokes.
>
> I've installed XCode4 but haven't tried it out yet. Since Apple replaced a bunch of system tools and libraries I copied /usr off to a safe place before I upgraded just in case something like this might happen. Looks like there's some new typedefs somewhere that aren't getting through.
>
> Lipo couldn't do its thing because the compile failed, duh.
>
> Yes, ige-mac-integration works with x86_64, but you have to use GtkOSXApplication, not ige-mac-menu and friends. GtkApplication is optional, but I haven't tested it with GtkOSXApplication yet so I don't know whether they will work together.
>
> Regards,
> John Ralls
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users






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