help-gnu-emacs
[Top][All Lists]
Advanced

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

Trying to compile CVS, FC_HINT_STYLE undeclared


From: Joseph Garvin
Subject: Trying to compile CVS, FC_HINT_STYLE undeclared
Date: Mon, 20 Jul 2009 09:48:04 -0500

I get this error when trying to compile CVS with XFT and GTK:

xftfont.c: In function 'xftfont_open':
xftfont.c:259: error: 'FC_HINT_STYLE' undeclared (first use in this function)
xftfont.c:259: error: (Each undeclared identifier is reported only once
xftfont.c:259: error: for each function it appears in.)

I have manually installed a newer freetype (2.3) and libxft (2.1.7) to try and fix the error, but the configure script still seems to only pick up the old freetype:

checking GTK_CFLAGS... -I/opt/app/nonc++/atk-1.9/include/atk-1.0 -I/opt/app/nonc++/pango-1.8/include/pango-1.0 -I/opt/app/nonc++/fontconfig-2.2/include -I/opt/app/nonc++/xft-2.1/include -I/opt/app/nonc++/freetype-2.1/include/freetype2 -I/opt/app/nonc++/freetype-2.1/include -I/opt/app/nonc++/xrender-0.8/include -I/opt/app/nonc++/render-0.8/include -I/usr/openwin/include -I/opt/app/nonc++/glib-2.12/include/glib-2.0 -I/opt/app/nonc++/glib-2.12/lib/glib-2.0/include -I/opt/app/nonc++/gtk+-2.6/include/gtk-2.0 -I/opt/app/nonc++/gtk+-2.6/lib/gtk-2.0/include

I've put the locations of the newer freetype pkgconfig, include, and lib subfolders in my PKG_CONFIG_PATH, C_INCLUDE_PATH, and LD_LIBRARY_PATH respectively but this hasn't helped. I suspect that GTK_CFLAGS always returns the version of freetype GTK itself was compiled with -- I'd prefer not to have to upgrade my existing GTK install. Is this possible? Is there a way to override GTK_CFLAGS?

Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]