bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-config deprecated or not?


From: Andy Wingo
Subject: Re: guile-config deprecated or not?
Date: Mon, 21 Feb 2011 22:27:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Bruno,

On Mon 21 Feb 2011 00:00, Bruno Haible <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]