Has anyone managed to get GTK 2.4 built from source? Glib builds fine, as does ATK (the versions from the 2.4 distribution of GTK at ftp://ftp.gtk.org/pub/gtk/v2.4/) Pango appears to build fine, but the GTK configure script fails because it can't find a sufficiently recent version of Pango (>=1.2). I built 1.2.5 out of the box, but I'd like to upgrade to 1.4.0. The library appears to install itself as version 1.4.0, albeit that it masquerades as 1.0...
/usr/local/lib:
The package configuration data for the library says its version 1.4:
/usr/local/lib/pkgconfig/pango.pc:
Of course, the library configuration data in the above case seems to indicated that a) /usr/local/lib is in the search path for libraries, and b) that the -lpango-1.0 flag that applications should use to link against this lib SHOULD find the above versions of the libraries (note: 1.4 is binary compatible with 1.2, which I am pretty certain is bincomp with 1.0). Yet, GTK fails to configure, complaining:
gtk+-2.4.0/configure:
...
configure: error: Pango 1.2.0 and Xft backend is required for x11 target
It seems to me that the problem is in the gtk configure script. Has anybody encountered this and worked around it?
Matt
/usr/local/lib:
% ls *pango*
libpango-1.0.0.399.1.dylib libpangox-1.0.0.399.1.dylib
libpango-1.0.0.dylib libpangox-1.0.0.dylib
libpango-1.0.dylib libpangox-1.0.dylib
libpango-1.0.la libpangox-1.0.la
pango:
1.4.0
libpango-1.0.0.399.1.dylib libpangox-1.0.0.399.1.dylib
libpango-1.0.0.dylib libpangox-1.0.0.dylib
libpango-1.0.dylib libpangox-1.0.dylib
libpango-1.0.la libpangox-1.0.la
pango:
1.4.0
The package configuration data for the library says its version 1.4:
/usr/local/lib/pkgconfig/pango.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pango_module_version=1.4.0
Name: Pango
Description: Internationalized text handling
Version: 1.4.0
Requires: glib-2.0,gobject-2.0,gmodule-2.0
Libs: -L${libdir} -lpango-1.0
Cflags: -I${includedir}/pango-1.0
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pango_module_version=1.4.0
Name: Pango
Description: Internationalized text handling
Version: 1.4.0
Requires: glib-2.0,gobject-2.0,gmodule-2.0
Libs: -L${libdir} -lpango-1.0
Cflags: -I${includedir}/pango-1.0
Of course, the library configuration data in the above case seems to indicated that a) /usr/local/lib is in the search path for libraries, and b) that the -lpango-1.0 flag that applications should use to link against this lib SHOULD find the above versions of the libraries (note: 1.4 is binary compatible with 1.2, which I am pretty certain is bincomp with 1.0). Yet, GTK fails to configure, complaining:
gtk+-2.4.0/configure:
...
configure: error: Pango 1.2.0 and Xft backend is required for x11 target
It seems to me that the problem is in the gtk configure script. Has anybody encountered this and worked around it?
Matt