|
From: | Jan Djärv |
Subject: | Re: emacs fails to build -- XRenderQueryExtension undefined |
Date: | Tue, 12 Jan 2010 08:39:46 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Miles Bader skrev:
I worked around it with the following patch, though it's probably not exactly the right fix...
What system are you on? How did you configure Emacs?If Xft requires Xrender at link time it should say so in the pkg-config output. Normally on GNU/Linux, -Xrender is a private dependency, meaning it is needed to compile Xft, but linking is done implicitly by the rune time linker (do ldd /usr/lib/libXft.so and you can see that there is a dependecy there already).
Jan D.
-Miles diff --git a/configure.in b/configure.in index c36c6b2..0b53c77 100644 --- a/configure.in +++ b/configure.in @@ -1990,6 +1990,7 @@ if test "${HAVE_X11}" = "yes"; then OLD_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" CFLAGS="$CFLAGS $XFT_CFLAGS" + XFT_LIBS="$XFT_LIBS -lXrender" LIBS="$XFT_LIBS $LIBS" AC_CHECK_HEADER(X11/Xft/Xft.h, AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS))
[Prev in Thread] | Current Thread | [Next in Thread] |