From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "James K. Lowden" Newsgroups: gmane.emacs.help Subject: Re: Ubuntu font of wisdom Date: Sat, 17 Dec 2016 00:29:26 -0500 Organization: http://www.NewsDemon.com Message-ID: <20161217002926.2fc5db735711a8d9e10744e5@speakeasy.net> References: <20161215174358.9656c013f10b66d2c7e029ad@speakeasy.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481952632 21385 195.159.176.226 (17 Dec 2016 05:30:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2016 05:30:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 17 06:30:26 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cI7Zh-0004NY-UB for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2016 06:30:26 +0100 Original-Received: from localhost ([::1]:35378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cI7Zm-0002xd-4f for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2016 00:30:30 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post01.iad.highwinds-media.com!fx20.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Sylpheed 3.4.3 (GTK+ 2.24.28; x86_64--netbsd) Original-Lines: 76 Original-X-Complaints-To: abuse@newsdemon.com Original-NNTP-Posting-Date: Sat, 17 Dec 2016 05:29:27 UTC X-Received-Bytes: 3406 X-Received-Body-CRC: 1638412310 Original-Xref: usenet.stanford.edu gnu.emacs.help:219032 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111974 Archived-At: On Fri, 16 Dec 2016 21:41:18 +0000 (UTC) Javier wrote: > > While I'm at it, the new version uses the ugly Motif-gray toolbar, > > while the packaged version uses a much more attractive, colorful > > toolbar (and puts the scrollabar on the right). > > It looks you are using different toolkits on 24 and 25 versions. > Look at the output of M-x display-about-screen Thank you. Yes: GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) > The available toolkits can be seen in the source code > from ./configure --help: Yes, I read INSTALL more carefully today, and surmised I want GTK+. Do you think if I successfully build with GTK+ that my fonts will magically Just Work? That would be nice. At the risk of going off-topic, I believe I've found the root of the trouble, and it appears to be a bug in the configure script. When I practiced on a virtual machine (same Ubuntu, but installed more recently) I got a lovely GTK+ 25.1 build, with no hiccups. Following the same instructions on my somewhat cruftier dev box, I encountered problems: configure complained it can't find libpng. Tedious inspection of the two configure.log files reveals the difference: configure is attempting to use libpng16, despite it being in an odd place. gcc -o conftest \ -g3 \ -O2 \ -pthread \ -I/usr/include/librsvg-2.0 \ -I/usr/include/gdk-pixbuf-2.0 \ -I/usr/include/libpng12 \ -I/usr/include/cairo \ -I/usr/include/glib-2.0 \ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \ -I/usr/include/pixman-1 \ -I/usr/include/freetype2 \ -I/usr/include/libpng12 \ -I/usr/local/anaconda/include/libpng16 \ <-- hello! conftest.c \ -lpng16 \ -lz \ -lm \ -lX11 Apparently, configure traverses /usr/local for include files but not libraries. Anaconda (the Python package manager) uses /usr/loca/anaconda/{include,lib}. configure's test fails because libpng16 is not on the default library search path: $ find /usr/local/ -name '*png16*so' /usr/local/anaconda/lib/libpng16.so I don't see any way to exclude a directory from configure's search path. I'm grateful for the many years between today and the last time I was responsible for a configure.ac. I can report configure is broken: it should either not use anaconda's tree, or it should use both forks. What I will do for the nonce is rename the directory to /usr/local/..anaconda, or move it out of the way, and see if configure can find its way. Other suggestions? --jkl