[gnutls-devel] GnuTLS | Confusing error when guile-3.0-dev is absent (Ubuntu) (#1261)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 3 19:44:48 CEST 2021

Sjors Provoost created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1261

On Ubuntu 21 with guile-3.0 (3.0.1+1-2), when building 3.6.16 from source, the `./configure --with-guile-site-dir=no --prefix=/usr` step complains Guile is not recent enough:

*** Detecting GNU Guile...

checking whether building Guile bindings... yes
*** Detecting GNU Guile...

checking for guile-snarf... /usr/bin/guile-snarf
checking for guild... /usr/bin/guild
configure: checking for guile 3.0
configure: found guile 3.0
checking for guile-3.0... /usr/bin/guile-3.0
checking for Guile version >= 3.0... 3.0.1
checking for guild-3.0... (cached) /usr/bin/guild
checking for guile-config-3.0... no
checking for Guile site directory... /usr/share/guile/site/3.0
checking for Guile site-ccache directory using pkgconfig... /usr/lib/guile/3.0/site-ccache
checking for Guile extensions directory... /usr/lib/guile/3.0/extensions
checking for GUILE... yes
checking whether GNU Guile is recent enough... no
configure: WARNING: A sufficiently recent GNU Guile not found.  Guile bindings not built.

I suspect that configure should have thrown an error a bit earlier, namely at the lack of `guile-config-3.0`. That would make it more obvious that the user needs to install that (in case of Ubuntu `guile-3.0-dev`).

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1261
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20210803/bc54ebcd/attachment.html>

More information about the Gnutls-devel mailing list