From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: emacs fails to build -- XRenderQueryExtension undefined Date: Tue, 12 Jan 2010 08:39:46 +0100 Message-ID: <4B4C2742.5010002@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1263282013 4669 80.91.229.12 (12 Jan 2010 07:40:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 07:40:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 12 08:40:06 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUbME-0000sj-1E for ged-emacs-devel@m.gmane.org; Tue, 12 Jan 2010 08:40:06 +0100 Original-Received: from localhost ([127.0.0.1]:47152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUbME-0006W9-I7 for ged-emacs-devel@m.gmane.org; Tue, 12 Jan 2010 02:40:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUbM6-0006Vr-Ax for emacs-devel@gnu.org; Tue, 12 Jan 2010 02:39:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUbM0-0006VH-Vh for emacs-devel@gnu.org; Tue, 12 Jan 2010 02:39:57 -0500 Original-Received: from [199.232.76.173] (port=50201 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUbM0-0006VE-Qt for emacs-devel@gnu.org; Tue, 12 Jan 2010 02:39:52 -0500 Original-Received: from proxy2.bredband.net ([195.54.101.72]:41853) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUbLy-0005DF-8O; Tue, 12 Jan 2010 02:39:50 -0500 Original-Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC024F9F38; Tue, 12 Jan 2010 08:39:47 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqhFAOO1S0tV4S1uPGdsb2JhbACBRIZukxsBAQEBN7oUhDAE X-IronPort-AV: E=Sophos;i="4.49,261,1262559600"; d="scan'208";a="25906018" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 12 Jan 2010 08:39:47 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id BB0907FA01A; Tue, 12 Jan 2010 08:39:46 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119846 Archived-At: 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)) > >