From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Compiling emacs 22 on ubuntu 7.0.4 Date: Wed, 13 Jun 2007 04:07:34 -0400 Message-ID: References: <701fce30706102144k17151433rc78902a60e136884@mail.gmail.com> <466CE537.4030906@swipnet.se> <466D8D0F.2090706@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1181722327 32763 80.91.229.12 (13 Jun 2007 08:12:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 08:12:07 +0000 (UTC) Cc: silverburgh.meryl@gmail.com, emacs-devel@gnu.org To: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 10:12:04 2007 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 1HyNxP-0000zt-Bp for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 10:11:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyNxO-0006Bv-QM for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 04:11:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyNtA-0003qj-Tp for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:07:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyNt9-0003qI-51 for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:07:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyNt8-0003qC-Tb for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:07:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyNt8-0005eF-IH for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:07:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HyNt8-0006FF-5H; Wed, 13 Jun 2007 04:07:34 -0400 In-reply-to: <466D8D0F.2090706@swipnet.se> (message from =?ISO-8859-15?Q?Jan_Dj=E4rv?= on Mon, 11 Jun 2007 19:57:35 +0200) X-detected-kernel: 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:72749 Archived-At: It would require us to check for the run time shared library, and that would fail anyway if the user is crosscompiling. Not to mention we don't know what version to check for. One simple solution is that configure should not check for them, but instead assume they are present. Then building Emacs will always try to link with them, and if they are missing, it will get an error. This is not ideal, since it won't give the user explicit clear advice. But it seems better than what happens now, which is to build an Emacs that is missing a normal feature, and make it seem this is normal. But if libXpm is not found, I guess we could print out a warning saying that icons and images will be in black and white and installation of libxpm-dev(el) or similar would fix this. If we know enough to give a specific message with specific advice, that is better than an error from ld. But it should be a fatal error, not a mere warning. It should make the user fix things and try again. Perhaps this should be done only on GNU/Linux. If on other systems it really is normal for those libraries to be missing, maybe configure should check for the libraries (as it does now) on those systems.