Re: [Gtk-osx-users] libiconv woes





I would suggest NOT using the 64-bit... the last I tried a month or two ago, ooohhhooohhhooooo I did not manage to get it going.


Update .jhbuild-custom file and change the setup to something like this. This will give a the 32 bit portable build, that runs great!! I have as of yet not been able to get a stable version of the 64 bit to run (compile yes, my program run no).

setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])
 
You will still run into the same problem as below, but simply type

jhbuild build libiconv  (NOT IN jhbuild shell)

It worked for me.





i'm EMAILING FOR THE GREATER GOOD
Join me


> From: jralls ceridwen us
> Date: Wed, 28 Apr 2010 07:48:18 -0600
> To: gtk-osx-users lists sourceforge net
> Subject: Re: [Gtk-osx-users] libiconv woes
>
>
> On Apr 28, 2010, at 3:33 AM, David Lowe wrote:
>
> > Thanks for such a great project!
> >
> > I just got started on this a few days ago and am really impressed so far, particularly the way that jhbuild keeps the Terminal title updated as it works.
> >
> > I've run into a problem during the 'jhbuild build meta-gtk-osx-bootstrap' step. During configure of glib i see this:
> >
> >> checking for iconv_open... no
> >> checking for libiconv_open in -liconv... no
> >> checking for iconv_open in -liconv... yes
> >
> > and build ends this way:
> >
> >> gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
> >> make[4]: *** [gconvert.lo] Error 1
> >> make[3]: *** [all-recursive] Error 1
> >> make[2]: *** [all] Error 2
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all] Error 2
> >> *** Error during phase build of glib: ########## Error running make *** [2/10]
> >
> > My system is like this:
> >
> > OS 10.6.3
> > XCode 3.2.2 [with 10.4u and 10.5 SDKs]
> > /usr/lib/libiconv2.dylib [linked to libiconv.dylib and libiconv2.4.0.dylib]
> > /usr/include/iconv.h
>
> That's an Apple bug:
>
> > $ athena:/Users/john> nm -arch x86_64 /usr/lib/libiconv.2.4.0.dylib | grep _open
> > 0000000000014d42 T _iconv_open
> > $ athena:/Users/john> nm -arch i386 /usr/lib/libiconv.2.4.0.dylib | grep _open
> > 00015049 T _iconv_open
> > 00015860 T _libiconv_open
>
> You have to build libiconv for 64-bit. The best way to do that is to put gettext-fw in front of meta-gtk-osx-bootstrap (or build it first if you're just building by hand)... Assuming, of course, that you really want a 64-bit build.
>
> Regards,
> John Ralls
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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]