[Top][All Lists]

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

Re: config.status has been broken by issue 5780 "Accept GUILE 2 without

From: David Kastrup
Subject: Re: config.status has been broken by issue 5780 "Accept GUILE 2 without extra configure options"
Date: Sun, 08 Mar 2020 21:20:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> Am So., 8. März 2020 um 13:37 Uhr schrieb David Kastrup <address@hidden>:
>> We have a current issue that
>> has already bitten several not-completely-stupid developers
> I'm obviously one of the more stupid ones ;)
> I never understood how to use pkg-config, thus I always make the
> guile-version I need, the system-guile, i.e. sudo make install...
> Right now I've guile-1 system-wide and tried to compile current master with
> $ ../configure GUILE_CONFIG=/home/hermann/guile-2.2/meta/guile-config
> GUILE=/home/hermann/guile-2.2/meta/guile
> Obviously guile-2 was picked:
> checking for guile... /home/hermann/guile-2.2/meta/guile
> checking /home/hermann/guile-2.2/meta/guile version...
> checking for /home/hermann/guile-2.2/meta/guile...
> /home/hermann/guile-2.2/meta/guile
> checking for /home/hermann/guile-2.2/meta/guile...
> /home/hermann/guile-2.2/meta/guile

That's just the executable.

> But I've got guile-1 (after 'make' finishd):
> $ lilypond-git scheme-sandbox
> GNU LilyPond 2.21.0
> Processing
> `/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/'
> Parsing...
> guile> (version)
> "1.8.8"

It just depends on your pkgconfig setup.  If it contains a guile-1.8.pc
file in its search path, it will get taken.

> No warning or else...
> I've no clue what I should give configure instead of GUILE_CONFIG
> As said, I could make guile-2.2 the system-guile, but I would be
> interested how that pkg-stuff is supposed to work.
> Btw, deprecated or not, I see guile-config even in guile-3:
> ~$ /home/hermann/guile-3.0/meta/guile-config --version
> guile-config - Guile version

The "deprecation" comment is inside the guile-config script itself.  The
comment is not yet in the 1.8 guile-config, but there is already a
guile-1.8.pc file in lib/pkgconfig in Guile's installation path.

I have no beef with following the deprecation.  I just want to make sure
that the users of our repository/tarball find it straightforward to
follow along.

David Kastrup

reply via email to

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