Re: Compiling glib-2.20.5 on SnowLeopard



I also had to do a similar thing to get glib-2.20.3 building on Nexenta. :(

I don't think USE_LIBICONV_GNU is getting defined properly (I configured with: --with-libiconv=gnu).

Andy.

2009/8/31 Michael Tüxen <Michael Tuexen lurchi franken de>
Dear all,

when trying to compile glib-2.20.5 on a SnowLeopard system,
the compilation of glib/gconvert.c fails, when compiling as
a 64-bot binary.

To fix the problem, one has to replace

#if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
#error GNU libiconv not in use but included iconv.h is from libiconv
#endif

by

#if !(defined(__APPLE__) && defined(__LP64__)) && !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
#error GNU libiconv not in use but included iconv.h is from libiconv
#endif

Any chance to get this into a future release of glib?
Or is there a better fix?

Best regards
Michael

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



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