all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix package for gnutls-guile
@ 2016-06-14 15:19 Roel Janssen
  2016-06-14 21:43 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-06-14 15:19 UTC (permalink / raw)
  To: help-guix

Dear list,

Up until now I have been using Guix on Fedora.  Fedora provides a
package 'gnutls-guile' which makes things work in Guix.

I don't see such a package in Guix, so I wonder what I exactly need to
do to get the gnutls guile module so that Guix can use it to download
from HTTPS sources.

Excuse me if this has been asked many times before.

Thanks in advance.

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-14 15:19 Guix package for gnutls-guile Roel Janssen
@ 2016-06-14 21:43 ` Ludovic Courtès
  2016-06-16 22:25   ` Roel Janssen
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-06-14 21:43 UTC (permalink / raw)
  To: Roel Janssen; +Cc: help-guix

Halo!

Roel Janssen <roel@gnu.org> skribis:

> I don't see such a package in Guix, so I wonder what I exactly need to
> do to get the gnutls guile module so that Guix can use it to download
> from HTTPS sources.

The Guile bindings are distributed as part of GnuTLS, so the package
you’re looking for is ‘gnutls’.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-14 21:43 ` Ludovic Courtès
@ 2016-06-16 22:25   ` Roel Janssen
  2016-06-16 22:56     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-06-16 22:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

Hi!

Thanks for your quick response.

Ludovic Courtès writes:

> Halo!
>
> Roel Janssen <roel@gnu.org> skribis:
>
>> I don't see such a package in Guix, so I wonder what I exactly need to
>> do to get the gnutls guile module so that Guix can use it to download
>> from HTTPS sources.
>
> The Guile bindings are distributed as part of GnuTLS, so the package
> you’re looking for is ‘gnutls’.  :-)

That's convenient.

Yet, even with gnutls in my profile, and running:
  `guix package --search-paths`

I still get the following error output:
;;; Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls)
ERROR: In procedure module-lookup: Unbound variable: make-session

What else could cause this error output?

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-16 22:25   ` Roel Janssen
@ 2016-06-16 22:56     ` Tobias Geerinckx-Rice
  2016-06-17  7:57       ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Tobias Geerinckx-Rice @ 2016-06-16 22:56 UTC (permalink / raw)
  To: roel; +Cc: help-guix

Hallo,

On 17/06/16 00:25, Roel Janssen wrote:
> Yet, even with gnutls in my profile, and running:
>   `guix package --search-paths`
> 
> I still get the following error output:
> ;;; Failed to autoload make-session in (gnutls):
> ;;; ERROR: missing interface for module (gnutls)
> ERROR: In procedure module-lookup: Unbound variable: make-session
> 
> What else could cause this error output?

It seems to happen a lot. This thread[1] solved that error for me. YM,
as always, MV...

Kind regards,

T G-R

[1]: https://lists.gnu.org/archive/html/bug-guix/2013-04/msg00158.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-16 22:56     ` Tobias Geerinckx-Rice
@ 2016-06-17  7:57       ` Ludovic Courtès
  2016-06-17  8:30         ` Roel Janssen
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-06-17  7:57 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

Hi!

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> On 17/06/16 00:25, Roel Janssen wrote:
>> Yet, even with gnutls in my profile, and running:
>>   `guix package --search-paths`
>> 
>> I still get the following error output:
>> ;;; Failed to autoload make-session in (gnutls):
>> ;;; ERROR: missing interface for module (gnutls)
>> ERROR: In procedure module-lookup: Unbound variable: make-session
>> 
>> What else could cause this error output?
>
> It seems to happen a lot. This thread[1] solved that error for me. YM,
> as always, MV...

Yeah, it should be a “simple matter” of setting ‘GUILE_LOAD_PATH’.

‘guix package --search-paths’ will not tell you that unless both Guile
and GnuTLS are in your profile.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-17  7:57       ` Ludovic Courtès
@ 2016-06-17  8:30         ` Roel Janssen
  2016-06-17 13:54           ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-06-17  8:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix


Ludovic Courtès writes:

> Hi!
>
> Tobias Geerinckx-Rice <me@tobias.gr> skribis:
>
>> On 17/06/16 00:25, Roel Janssen wrote:
>>> Yet, even with gnutls in my profile, and running:
>>>   `guix package --search-paths`
>>> 
>>> I still get the following error output:
>>> ;;; Failed to autoload make-session in (gnutls):
>>> ;;; ERROR: missing interface for module (gnutls)
>>> ERROR: In procedure module-lookup: Unbound variable: make-session
>>> 
>>> What else could cause this error output?
>>
>> It seems to happen a lot. This thread[1] solved that error for me. YM,
>> as always, MV...
>
> Yeah, it should be a “simple matter” of setting ‘GUILE_LOAD_PATH’.
>
> ‘guix package --search-paths’ will not tell you that unless both Guile
> and GnuTLS are in your profile.

My Guile paths are fine:

[rjanssen2@localhost ~]$ env | grep guile
GUILE_LOAD_PATH="/home/rjanssen2/.guix-profile/share/guile/site/2.0"
GUILE_LOAD_COMPILED_PATH="/home/rjanssen2/.guix-profile/lib/guile/2.0/ccache:/home/rjanssen2/.guix-profile/share/guile/site/2.0"

And I verified that:
  /home/rjanssen2/.guix-profile/share/guile/site/2.0/gnutls.scm
exists.

Is there anything else that can cause this error output?
Doesn't 'make-session' have anything to do with it?

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Guix package for gnutls-guile
  2016-06-17  8:30         ` Roel Janssen
@ 2016-06-17 13:54           ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-06-17 13:54 UTC (permalink / raw)
  To: Roel Janssen; +Cc: help-guix

Roel Janssen <roel@gnu.org> skribis:

[...]

>>>> I still get the following error output:
>>>> ;;; Failed to autoload make-session in (gnutls):
>>>> ;;; ERROR: missing interface for module (gnutls)
>>>> ERROR: In procedure module-lookup: Unbound variable: make-session

[...]

> My Guile paths are fine:
>
> [rjanssen2@localhost ~]$ env | grep guile
> GUILE_LOAD_PATH="/home/rjanssen2/.guix-profile/share/guile/site/2.0"
> GUILE_LOAD_COMPILED_PATH="/home/rjanssen2/.guix-profile/lib/guile/2.0/ccache:/home/rjanssen2/.guix-profile/share/guile/site/2.0"
>
> And I verified that:
>   /home/rjanssen2/.guix-profile/share/guile/site/2.0/gnutls.scm
> exists.
>
> Is there anything else that can cause this error output?

Can you try “guile -c '(use-modules (gnutls))'”?

The GnuTLS bindings are written in C, with guile-gnutls.so being
dlopened when (gnutls) is loaded.  Dlopening may fail if, for instance,
guile-gnutls.so is linked against a different libc than guile.

Thus, you have to use Guile and GnuTLS both from Guix, or both from your
other distro; you cannot mix them.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-17 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14 15:19 Guix package for gnutls-guile Roel Janssen
2016-06-14 21:43 ` Ludovic Courtès
2016-06-16 22:25   ` Roel Janssen
2016-06-16 22:56     ` Tobias Geerinckx-Rice
2016-06-17  7:57       ` Ludovic Courtès
2016-06-17  8:30         ` Roel Janssen
2016-06-17 13:54           ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.