glib on OS X 10.6



I am attempting to build GTK+ on the Mac, and I'm getting the following error while compiling GLIB:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" - DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION - DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -I/usr/local/gtk/ include -msse2 -funroll-loops -fstrict-aliasing -finline-functions - Wall -MT gunicollate.lo -MD -MP -MF .deps/gunicollate.Tpo -c gunicollate.c -fno-common -DPIC -o .libs/gunicollate.o In file included from /System/Library/Frameworks/ CoreFoundation.framework/Headers/CoreFoundation.h:43, from /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ CarbonCore.h:20, from /System/Library/Frameworks/ CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/ CoreServices.framework/Headers/CoreServices.h:21,
                 from gunicollate.c:30:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h: 147: error: format string argument not a string type
make[4]: *** [gunicollate.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The versions I am using are:
glib-2.18.2
libpng-1.2.40
zlib-1.2.3
pkg-config-0.20
gettext-0.17
expat-2.0.1
gcc 4.3.4 20090511 for GNAT GPL 2009
and I'm targeting x86_64

This is all in an attempt to compile GtkAda, which is why I'm targeting this version of GTK.

Any ideas?

Apple Snow Leopard issue?

First time GLIB builder issue?

Something fixed in later versions of GLIB?

Thanks,
Kevin


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