unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Hiep Pham via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Daniel Meißner" <daniel.meissner-i4k@rub.de>
Cc: 66537@debbugs.gnu.org
Subject: bug#66537: configure: error: The Guile bindings of GnuTLS are missing
Date: Tue, 17 Oct 2023 10:28:09 +0000	[thread overview]
Message-ID: <6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me> (raw)
In-Reply-To: <87il751v5e.fsf@rub.de>

Hi Daniel,

On 10/17/23 10:59, Daniel Meißner wrote:
> 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

Running `guix shell -C -D guix help2man git strace --pure` in a 
container solved my problem! Thanks.

> 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.

I followed this contributing guide [1] in the manual. It might be 
helpful to update the documentation to run the shell in an isolated 
container.

[1] https://guix.gnu.org/manual/en/guix.html#Building-from-Git

-- 
Hiep






  reply	other threads:[~2023-10-17 13:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-14 12:49 bug#66537: configure: error: The Guile bindings of GnuTLS are missing Hiep Pham via Bug reports for GNU Guix
2023-10-17  8:59 ` Daniel Meißner via Bug reports for GNU Guix
2023-10-17 10:28   ` Hiep Pham via Bug reports for GNU Guix [this message]
2023-11-22 12:05     ` bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’ Ludovic Courtès
2023-11-29 19:33       ` Simon Tournier
2023-12-08 15:50         ` bug#66537: configure: error: The Guile bindings of GnuTLS are missing Simon Tournier
2023-12-19  9:30           ` bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’ Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me \
    --to=bug-guix@gnu.org \
    --cc=66537@debbugs.gnu.org \
    --cc=daniel.meissner-i4k@rub.de \
    --cc=hiepph9@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).