* Trying to compile CVS, FC_HINT_STYLE undeclared
@ 2009-07-20 14:48 Joseph Garvin
0 siblings, 0 replies; only message in thread
From: Joseph Garvin @ 2009-07-20 14:48 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1513 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-20 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 14:48 Trying to compile CVS, FC_HINT_STYLE undeclared Joseph Garvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).