Configure script fails to find guile-2.2 on Debian 10
~/akku-1.0.0$ which guile guile2 guile-2 guile2.2 guile-2.2
/usr/bin/guile
/usr/bin/guile-2.2
~/akku-1.0.0$ which guild guild2 guild-2 guild2.2 guild-2.2
~/akku-1.0.0$ readlink -f /usr/bin/guile
/usr/lib/x86_64-linux-gnu/guile/2.2/bin/guile
~/akku-1.0.0$ readlink -f /usr/bin/guile-2.2
/usr/lib/x86_64-linux-gnu/guile/2.2/bin/guile
~/akku-1.0.0$ guile --version | head -n 1
guile (GNU Guile) 2.2.4
~/akku-1.0.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for git... /usr/bin/git
checking for curl... no
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: checking for guile 2.2
configure: error:
No Guile development packages were found.
Please verify that you have Guile installed. If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages. If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
~/akku-1.0.0$ uname -srm
Linux 4.19.0-4-amd64 x86_64
~/akku-1.0.0$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster