[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nyacc and guile-nearly-3.0 (progress report)
From: |
tomas |
Subject: |
Re: Nyacc and guile-nearly-3.0 (progress report) |
Date: |
Mon, 2 Dec 2019 22:45:23 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote:
> Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README.
Hm. Same confusion. Adding 3.0 to GUILE_PKG, like so:
GUILE_PKG([3.0 2.2 2.0])
yields, at configure time:
tomas@trotzki:~/src/guile/nyacc$ ./configure
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 3.0
configure: found guile 3.0
checking for guile... /usr/local/bin/guile
checking for Guile version >= 3.0... configure: error: Guile 3.0 required,
but 2.9.5 found
Inserting 2.9.5 in configure.ac's GUILE_PKG, like so:
GUILE_PKG([2.9.5 2.2 2.0])
yields, again at configure time:
tomas@trotzki:~/src/guile/nyacc$ ./configure
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 3.0
configure: found guile 3.0
checking for guile... /usr/local/bin/guile
checking for Guile version >= 3.0... configure: error: Guile 3.0 required,
but 2.9.5 found
tomas@trotzki:~/src/guile/nyacc$ ( cd etc && autoconf -o ../configure )
tomas@trotzki:~/src/guile/nyacc$ ./configure
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.9.5
configure: found guile 2.9.5
checking for guile... /usr/local/bin/guile
configure: error: found development files for Guile 2.9.5, but
/usr/local/bin/guile has effective version 3.0
It seems I've got a schizophrenic Guile. It somehow reports
an "effective version" 3.0 (the pkg config file in /usr/local/lib
is a guile-3.0.pc, actually), but if you ask guile itself, it
reports 2.9.5.
I don't exactly know where configure has this "effective version"
from, but I dimly remember Andy mumbling about setting Guile's
effective version to 3.0, since 2.9.5 is already a pre-3.
Hmmm. I'll try to poke at it some more tomorrow...
Cheers & thanks
-- tomás
signature.asc
Description: Digital signature
Re: Nyacc and guile-nearly-3.0, Amirouche Boubekki, 2019/12/04