Subject: bug#66537: configure: error: The Guile bindings of GnuTLS are missing

From: Daniel Meißner <[email-masked]>
Date: Tue, 17 Oct 2023 10:59:57 +0200

Hi Hiep,

> Hi,
>
> I'm on Fedora and started a shell with:
>
> ```
> guix shell -D guix help2man git strace --pure
> ```
>
> And then:
>
> ```
> ./bootstrap
> ./configure --localstatedir=/var
> ```
>
> And it showed me this error:
>
> ```
> [snip]
> checking for guile-3.0 >= 3.0.3... yes
> checking for guile-3.0... yes
> checking if (gnutls) is available... no
> configure: error: The Guile bindings of GnuTLS are missing; please 
> install them.
> ```

Have you installed Guile 3.0 via Fedora’s package manager also?  Then
maybe configure finds Fedora’s Guile where Guile-GnuTLS is not
installed.  You could try using a container to confirm:

guix shell -C -D guix help2man git strace

Then try again:

./bootstrap
./configure --localstatedir=/var

When this works configure is probably finding the wrong Guile binary.
Alternatively look into the file config.status which is generated by
configure for a line like

S["GUILE"]="/path/to/guile"

This shows which Guile binary is found.

-- 
Best,
Daniel