From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile-config deprecated or not? Date: Mon, 21 Feb 2011 22:27:00 +0100 Message-ID: References: <201102191505.22181.bruno@clisp.org> <201102210000.33044.bruno@clisp.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298323323 8338 80.91.229.12 (21 Feb 2011 21:22:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 21:22:03 +0000 (UTC) Cc: bug-guile@gnu.org To: Bruno Haible Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Feb 21 22:21:59 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PrdCg-0000fv-O6 for guile-bugs@m.gmane.org; Mon, 21 Feb 2011 22:21:59 +0100 Original-Received: from localhost ([127.0.0.1]:54735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrdCg-0004T4-2B for guile-bugs@m.gmane.org; Mon, 21 Feb 2011 16:21:58 -0500 Original-Received: from [140.186.70.92] (port=55801 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrdCW-0004R8-U3 for bug-guile@gnu.org; Mon, 21 Feb 2011 16:21:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrdCW-0006WC-31 for bug-guile@gnu.org; Mon, 21 Feb 2011 16:21:49 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:39273 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrdCW-0006W7-0P for bug-guile@gnu.org; Mon, 21 Feb 2011 16:21:48 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 566194EFA; Mon, 21 Feb 2011 16:22:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=0Y+IXHiPb08HX7XqaoRjOnkQ4BU=; b=uS1UD3 JurhUTILXsoU3JPkGKl1a4sYK1OzK/GLtWXUcNXDsPr/Tou016ZeoUlaofCB7Mcq u0Pw6pAaf2/DJZ9DrtxxU2qaReSLRVkP/vXM66sws8QKMzYG+cj+UxO2tUCKgc6u aOc3GjLgK70wKCGCNoJ+ZL0F0Z3ZzNfhRh3IM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=VAmTCRvNcFDhSHd/BpZEG2HHg7Gbfu3I nCrzKDZzB/iUVp/HSJPvEDYGOoShngvyPa1Sjv1JzXNd0PFCDmL1AmoL33QvwnSy p3QZzLCXpYsZNCIwCqA54q0rrmtDnRkryqJZY/nhugIPllEV1DJD9BSWErBnP2eR PIq76rBcRAQ= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 4430B4EF8; Mon, 21 Feb 2011 16:22:57 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6959E4EF7; Mon, 21 Feb 2011 16:22:55 -0500 (EST) In-Reply-To: <201102210000.33044.bruno@clisp.org> (Bruno Haible's message of "Mon, 21 Feb 2011 00:00:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: C08AD564-3E00-11E0-B2E6-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5219 Archived-At: Hi Bruno, On Mon 21 Feb 2011 00:00, Bruno Haible writes: > Andy Wingo wrote: >> > So, is guile-config deprecated or not? >> >> It is deprecated, yes. I have fixed the examples to use pkg-config. I >> did not fix guile.m4 though, as the current system does have the >> characteristic of selecting for whatever version of Guile you have >> installed > > This is a good property: It uses the installed guile that matches the > 'guile-config' program that is found in PATH. > >> though not allowing you to choose. > > Huh? The user can influence which guile installation is chosen by > modifying PATH. > > Without guile-config, the user would have to manipulate PKG_CONFIG_PATH in > order to get the "right" guile used (from his perspective). I would vote > for undeprecating guile-config for this reason. This is a misunderstanding. Guile is parallel-installable with regards to different "effective versions". So Guile 2.2 will be parallel installable, in the same prefix and path, as Guile 2.0. Our binaries currently collide, but the headers, libraries, scheme files, and compiled scheme files do not. So one might select pkg-config --libs guile-2.0.pc, or guile-2.2.pc. I do agree that it makes sense to ask "give me the latest Guile", but one may do that in other ways (pkg-config --list-all | grep guile-.-., explicit version list, guile -c '(display (effective-version))', etc.). >> Ideally we can figure out a way to merge in your -rpath code into >> pkg.m4. > > Please keep me in the loop when you start working on this. Heh, understood. I don't have much energy for this right now though. Regards, Andy -- http://wingolog.org/