From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: configure's dependency on pkg-config Date: Sun, 13 Nov 2011 00:56:58 +0100 Message-ID: <8739dshp2t.fsf@escher.home> References: <87pqgybgx8.fsf@escher.home> <87boshgedt.fsf@escher.home> <937EB031-FDE1-4D05-98FD-9DE01711DB69@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321142229 7971 80.91.229.12 (12 Nov 2011 23:57:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2011 23:57:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?utf-8?Q?Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 13 00:57:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RPNRZ-0000Do-1u for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2011 00:57:05 +0100 Original-Received: from localhost ([::1]:46397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPNRY-0006H3-Iu for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2011 18:57:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPNRW-0006Gk-Dy for emacs-devel@gnu.org; Sat, 12 Nov 2011 18:57:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPNRV-00080N-99 for emacs-devel@gnu.org; Sat, 12 Nov 2011 18:57:02 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:49762) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RPNRU-00080G-Uq for emacs-devel@gnu.org; Sat, 12 Nov 2011 18:57:01 -0500 Original-Received: (qmail invoked by alias); 12 Nov 2011 23:56:59 -0000 Original-Received: from i59F55081.versanet.de (EHLO escher.home) [89.245.80.129] by mail.gmx.net (mp065) with SMTP; 13 Nov 2011 00:56:59 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/sc41bZr7s6wH2+MmZvU1AGpUy2tcxEHEMDLl2DJ KNKaeC4gDtiX3C Original-Received: by escher.home (Postfix, from userid 1000) id B7A7E224D0; Sun, 13 Nov 2011 00:56:58 +0100 (CET) In-Reply-To: <937EB031-FDE1-4D05-98FD-9DE01711DB69@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Sun, 13 Nov 2011 00:12:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146018 Archived-At: On Sun, 13 Nov 2011 00:12:43 +0100 Jan Dj=C3=A4rv wrot= e: > I don't know why you are opposed to installing pkg-config, but it is not = Emacs > choice. libxml2 has made pkg-config the way for users of that library to= find > out compiler and linker flags as well as dependencies on other libraries.= So > of course Emacs uses that. Who are we to argue about the validity of that > descision? Ditto for Gtk, dbus, and others. I'm not opposed to installing pkg-config, I just didn't know I was supposed to to get Emacs to use libxml2, until I looked in configure. If it had been documented in INSTALL, I would have been spared that effort and time. (That libxml2 provides pkg-config data I also didn't know: I just checked, and the only mention of "pkg-config" in the entire libxml2-2.7.8 source tree is in the ChangeLog, which I didn't read before installing libxml2.) > If you wan't another way to use libxml2 without using pkg-config, you sho= uld > take that up with libxml2-developers. If they make another way to compile > with their library, Emacs can use that. But I don't understand why Emacs > should take the trouble to make sure Emacs can use a library WITHOUT usin= g the > official, sanctioned way of using that library. I don't want Emacs or its developers to go to such undue lengths, but just to be clear about what lengths users need to go to. Since I didn't know pkg-config was supposed to be used for libxml2, I just went by the INSTALL guidelines and hence was surprised when they failed for libxml2. Steve Berman