Re: error building git head GTK on OS X ... IM symbols missing etc.
On Oct 26, 2009, at 4:50 PM, Paul Davis wrote: just tried a jhbuild of gtk on OS X (tiger). things went well until it got to the link stage in the input methods code. i got a large number of messages of this form, one for each (every?) IM module: Cannot load module /Users/paul/gtk/source/gtk+/modules/input/im-am-et.la: dlopen(/Users/paul/gtk/source/gtk+/modules/input/.libs/im-am-et.so, 10): Symbol not found: _res_9_init Referenced from: /Users/paul/gtk/inst/lib/libgio-2.0.0.dylib Expected in: flat namespace does anybody have any clues what this might be? the missing symbol is always _res_9_init Found it, after a bit of searching. It's defined in /usr/include/ resolv.h, included from gio/gionetworkingprivate.h It doesn't show up in my SL build from today. I can't see from configure why it would pick it up for your build but not for mine. Search for lresolv in configure and config.log; maybe you can see why it's getting picked up on yours. Regards, John Ralls ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: error building git head GTK on OS X ... IM symbols missing etc.
On Tue, Oct 27, 2009 at 1:50 AM, Paul Davis wrote: > just tried a jhbuild of gtk on OS X (tiger). things went well until it > got to the link stage in the input methods code. i got a large number > of messages of this form, one for each (every?) IM module: > > does anybody have any clues what this might be? the missing symbol is > always _res_9_init See bug 586510. It appears that on Tiger we need to explicitly link against libresolv, this is not needed on Leopard and higher. I also reported this when I ran into it (bug 590482), there seems to be a patch which has not been reviewed yet. Unless the GLib maintainers object I will review and commit a patch for this then :) -kris. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: error building git head GTK on OS X ... IM symbols missing etc.
On clean copy of SL (upgraded) Xcode 3.2: downloaded and ran: prompt> sh gtk-osx-build-setup.shprompt> export PATH=$PATH:/Users/sbakhtiar/.local/binprompt> jhbuild bootstrapprompt> jhbuild build meta-gtk-osx-bootstrapprompt> jhbuild build meta-gtk-osx-core libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/Users/sbakhtiar/gtk/inst/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -g -O2 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fno-common -DPIC -o .libs/gatomic.o /var/folders/8i/8iPY4ZafEpezLgvmjxSKSU+++TY/-Tmp-//ccNq7o6P.s:103:Incorrect register `%rdx' used with `l' suffixmake[4]: *** [gatomic.lo] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all] Error 2make[1]: *** [all-recursive] Error 1make: *** [all] Error 2*** Error during phase build of glib: ## Error running make *** [2/11] Any ideas? EMAILING FOR THE GREATER GOOD Join me > Subject: Re: error building git head GTK on OS X ... IM symbols missing etc. > From: jra...@ceridwen.us > Date: Mon, 26 Oct 2009 22:30:54 -0700 > To: p...@linuxaudiosystems.com > CC: gtk-devel-list@gnome.org > > > On Oct 26, 2009, at 4:50 PM, Paul Davis wrote: > > > just tried a jhbuild of gtk on OS X (tiger). things went well until it > > got to the link stage in the input methods code. i got a large number > > of messages of this form, one for each (every?) IM module: > > > > > > Cannot load module > > /Users/paul/gtk/source/gtk+/modules/input/im-am-et.la: > > dlopen(/Users/paul/gtk/source/gtk+/modules/input/.libs/im-am-et.so, > > 10): Symbol not found: _res_9_init > > Referenced from: /Users/paul/gtk/inst/lib/libgio-2.0.0.dylib > > Expected in: flat namespace > > > > does anybody have any clues what this might be? the missing symbol is > > always _res_9_init > > > Found it, after a bit of searching. It's defined in /usr/include/ > resolv.h, included from gio/gionetworkingprivate.h > > It doesn't show up in my SL build from today. I can't see from > configure why it would pick it up for your build but not for mine. > Search for lresolv in configure and config.log; maybe you can see why > it's getting picked up on yours. > > Regards, > John Ralls > > ___ > gtk-devel-list mailing list > gtk-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-devel-list ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: error building git head GTK on OS X ... IM symbols missing etc.
On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN= \"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED - DGLIB_COMPILATION -DPCRE_STATIC -I/Users/sbakhtiar/gtk/inst/include - DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -g -O2 -Wall -MT gatomic.lo - MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fno-common -DPIC - o .libs/gatomic.o /var/folders/8i/8iPY4ZafEpezLgvmjxSKSU+++TY/-Tmp-//ccNq7o6P.s: 103:Incorrect register `%rdx' used with `l' suffix Ah yes, I think I have stumbled on this as well. This is probably caused because the default jhbuildrc for the Mac forces a build for the 486: # When building on intel, force build to be 486, since glib won't # enable asm atomic operations otherwise. # try: _f = os.popen("uname -p") if _f.read().startswith("i386"): append_autogenargs("glib", "--build=i486-apple-darwin") I changed the last line to: append_autogenargs("glib", "--build=x86_64-apple-darwin") And that fixed it for me. (If you have a Mac with a Core2 processor, the user land will be in 64-bit in Snow Leopard). regards, -kris. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: error building git head GTK on OS X ... IM symbols missing etc.
On Oct 27, 2009, at 2:06 AM, Kristian Rietveld wrote: On Tue, Oct 27, 2009 at 1:50 AM, Paul Davis > wrote: just tried a jhbuild of gtk on OS X (tiger). things went well until it got to the link stage in the input methods code. i got a large number of messages of this form, one for each (every?) IM module: does anybody have any clues what this might be? the missing symbol is always _res_9_init See bug 586510. It appears that on Tiger we need to explicitly link against libresolv, this is not needed on Leopard and higher. I also reported this when I ran into it (bug 590482), there seems to be a patch which has not been reviewed yet. Unless the GLib maintainers object I will review and commit a patch for this then :) For the record, 586150. Looks like Paul and Dan Winship have taken up the matter there. Regards, John Ralls ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: error building git head GTK on OS X ... IM symbols missing etc.
Yep. That fixed it. For some reason I still had to download and install libiconv before I can run phase 2 of the meta-gtk-osx-core, when building glib it complains using header without any libraries present? Also, the script crashes out on the freetype module. gzip complains about a bad file. I downloaded the same version from the website, but now it won't compile with "do not know how to make start". I don't have any more time for this today... but I will keep cranking and reporting here. Thanks for all the help. EMAILING FOR THE GREATER GOOD Join me > Subject: Re: error building git head GTK on OS X ... IM symbols missing etc. > From: k...@gtk.org > Date: Tue, 27 Oct 2009 17:31:03 +0100 > CC: jra...@ceridwen.us; gtk-devel-list@gnome.org > To: shashan...@hotmail.com > > On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN= > > \"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED - > > DGLIB_COMPILATION -DPCRE_STATIC -I/Users/sbakhtiar/gtk/inst/include - > > DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -g -O2 -Wall -MT gatomic.lo - > > MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fno-common -DPIC - > > o .libs/gatomic.o > > /var/folders/8i/8iPY4ZafEpezLgvmjxSKSU+++TY/-Tmp-//ccNq7o6P.s: > > 103:Incorrect register `%rdx' used with `l' suffix > > Ah yes, I think I have stumbled on this as well. This is probably > caused because the default jhbuildrc for the Mac forces a build for > the 486: > > # When building on intel, force build to be 486, since glib won't > # enable asm atomic operations otherwise. > # > try: > _f = os.popen("uname -p") > if _f.read().startswith("i386"): > append_autogenargs("glib", "--build=i486-apple-darwin") > > I changed the last line to: > > append_autogenargs("glib", "--build=x86_64-apple-darwin") > > And that fixed it for me. (If you have a Mac with a Core2 processor, > the user land will be in 64-bit in Snow Leopard). > > > regards, > > -kris. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: error building git head GTK on OS X ... IM symbols missing etc.
rm -rf the freetype-2.3.11 files from both gtk/source/pkgs and /gtk/source re-run jhbuild build meta-gtk-osx-core its working. EMAILING FOR THE GREATER GOOD Join me From: shashan...@hotmail.com To: k...@gtk.org Subject: RE: error building git head GTK on OS X ... IM symbols missing etc. Date: Tue, 27 Oct 2009 13:40:40 -0400 CC: gtk-devel-list@gnome.org Yep. That fixed it. For some reason I still had to download and install libiconv before I can run phase 2 of the meta-gtk-osx-core, when building glib it complains using header without any libraries present? Also, the script crashes out on the freetype module. gzip complains about a bad file. I downloaded the same version from the website, but now it won't compile with "do not know how to make start". I don't have any more time for this today... but I will keep cranking and reporting here. Thanks for all the help. EMAILING FOR THE GREATER GOOD Join me > Subject: Re: error building git head GTK on OS X ... IM symbols missing etc. > From: k...@gtk.org > Date: Tue, 27 Oct 2009 17:31:03 +0100 > CC: jra...@ceridwen.us; gtk-devel-list@gnome.org > To: shashan...@hotmail.com > > On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN= > > \"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED - > > DGLIB_COMPILATION -DPCRE_STATIC -I/Users/sbakhtiar/gtk/inst/include - > > DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -g -O2 -Wall -MT gatomic.lo - > > MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fno-common -DPIC - > > o .libs/gatomic.o > > /var/folders/8i/8iPY4ZafEpezLgvmjxSKSU+++TY/-Tmp-//ccNq7o6P.s: > > 103:Incorrect register `%rdx' used with `l' suffix > > Ah yes, I think I have stumbled on this as well. This is probably > caused because the default jhbuildrc for the Mac forces a build for > the 486: > > # When building on intel, force build to be 486, since glib won't > # enable asm atomic operations otherwise. > # > try: > _f = os.popen("uname -p") > if _f.read().startswith("i386"): > append_autogenargs("glib", "--build=i486-apple-darwin") > > I changed the last line to: > > append_autogenargs("glib", "--build=x86_64-apple-darwin") > > And that fixed it for me. (If you have a Mac with a Core2 processor, > the user land will be in 64-bit in Snow Leopard). > > > regards, > > -kris. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: error building git head GTK on OS X ... IM symbols missing etc.
Success! I had to manually edit the ige-mac-integration's Makefile in the src directory and delete -Werror. I still have to build libglade and mysql before I can build my app and test. EMAILING FOR THE GREATER GOOD Join me From: shashan...@hotmail.com To: k...@gtk.org Subject: RE: error building git head GTK on OS X ... IM symbols missing etc. Date: Tue, 27 Oct 2009 15:52:02 -0400 CC: gtk-devel-list@gnome.org rm -rf the freetype-2.3.11 files from both gtk/source/pkgs and /gtk/source re-run jhbuild build meta-gtk-osx-core its working. EMAILING FOR THE GREATER GOOD Join me From: shashan...@hotmail.com To: k...@gtk.org Subject: RE: error building git head GTK on OS X ... IM symbols missing etc. Date: Tue, 27 Oct 2009 13:40:40 -0400 CC: gtk-devel-list@gnome.org Yep. That fixed it. For some reason I still had to download and install libiconv before I can run phase 2 of the meta-gtk-osx-core, when building glib it complains using header without any libraries present? Also, the script crashes out on the freetype module. gzip complains about a bad file. I downloaded the same version from the website, but now it won't compile with "do not know how to make start". I don't have any more time for this today... but I will keep cranking and reporting here. Thanks for all the help. EMAILING FOR THE GREATER GOOD Join me > Subject: Re: error building git head GTK on OS X ... IM symbols missing etc. > From: k...@gtk.org > Date: Tue, 27 Oct 2009 17:31:03 +0100 > CC: jra...@ceridwen.us; gtk-devel-list@gnome.org > To: shashan...@hotmail.com > > On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN= > > \"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED - > > DGLIB_COMPILATION -DPCRE_STATIC -I/Users/sbakhtiar/gtk/inst/include - > > DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -g -O2 -Wall -MT gatomic.lo - > > MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fno-common -DPIC - > > o .libs/gatomic.o > > /var/folders/8i/8iPY4ZafEpezLgvmjxSKSU+++TY/-Tmp-//ccNq7o6P.s: > > 103:Incorrect register `%rdx' used with `l' suffix > > Ah yes, I think I have stumbled on this as well. This is probably > caused because the default jhbuildrc for the Mac forces a build for > the 486: > > # When building on intel, force build to be 486, since glib won't > # enable asm atomic operations otherwise. > # > try: > _f = os.popen("uname -p") > if _f.read().startswith("i386"): > append_autogenargs("glib", "--build=i486-apple-darwin") > > I changed the last line to: > > append_autogenargs("glib", "--build=x86_64-apple-darwin") > > And that fixed it for me. (If you have a Mac with a Core2 processor, > the user land will be in 64-bit in Snow Leopard). > > > regards, > > -kris. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list