From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: emacs fails to build -- XRenderQueryExtension undefined Date: Tue, 12 Jan 2010 18:22:59 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <4B4C2742.5010002@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1263288612 24317 80.91.229.12 (12 Jan 2010 09:30:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 09:30:12 +0000 (UTC) Cc: Jan =?ISO-8859-1?Q?Dj=E4rv?= , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 12 10:30:04 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 1NUd4c-00034V-H9 for ged-emacs-devel@m.gmane.org; Tue, 12 Jan 2010 10:30:03 +0100 Original-Received: from localhost ([127.0.0.1]:45539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUd4c-0000A8-Qk for ged-emacs-devel@m.gmane.org; Tue, 12 Jan 2010 04:30:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUcy5-0004ds-BA for emacs-devel@gnu.org; Tue, 12 Jan 2010 04:23:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUcy0-0004at-AG for emacs-devel@gnu.org; Tue, 12 Jan 2010 04:23:16 -0500 Original-Received: from [199.232.76.173] (port=44958 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUcxz-0004ab-Tt for emacs-devel@gnu.org; Tue, 12 Jan 2010 04:23:12 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:57896) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUcxw-0007q6-T7; Tue, 12 Jan 2010 04:23:09 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUcxs-0007ry-3C; Tue, 12 Jan 2010 04:23:04 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D5D64C0557; Tue, 12 Jan 2010 18:22:59 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by mx20.gnu.org: NetBSD 3.0 (DF) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:119855 Archived-At: >>>>> On Tue, 12 Jan 2010 16:54:21 +0900, Miles Bader said: >> 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, > It only says so in the pkg-config output if you specify --static > (otherwise, I think that since it's a "private" dependency of libxft.so, > it uses libxft.so's dependencies to load the library at runtime, but the > linker won't see it): > $ pkg-config --libs xft > -lXft > $ pkg-config --libs --static xft > -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lX11 -lpthread -lxcb -lXau -lXdmcp The results on Ubuntu 9.10 are similar, and there is no -lXrender in src/Makefile in my build dir. But the linker does not complain, and ldd shows libXrender.so.1 for me. $ ldd /usr/lib/libXft.so linux-gate.so.1 => (0x00320000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0076b000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00d5c000) libz.so.1 => /lib/libz.so.1 (0x00cc9000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00a82000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00124000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x008aa000) libexpat.so.1 => /lib/libexpat.so.1 (0x0033f000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00253000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00fc2000) /lib/ld-linux.so.2 (0x00ee7000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x003da000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00ead000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00af5000) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp