unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* artanis ?
@ 2017-03-01  2:23 Catonano
  2017-03-01 13:17 ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2017-03-01  2:23 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

I installed Artanis in my profile.

Now, at the guile prompt, I can't load the Artanis modules

scheme@(guile-user)> ,use (artanis artanis)
While executing meta-command:
ERROR: no code for module (artanis artanis)

[-- Attachment #2: Type: text/html, Size: 295 bytes --]

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

* Re: artanis ?
  2017-03-01  2:23 artanis ? Catonano
@ 2017-03-01 13:17 ` Adonay Felipe Nogueira
  2017-03-01 17:11   ` Catonano
  2017-03-07  1:18   ` Catonano
  0 siblings, 2 replies; 4+ messages in thread
From: Adonay Felipe Nogueira @ 2017-03-01 13:17 UTC (permalink / raw)
  To: help-guix

I also got the same problem, but I don't know how to solve it yet.

The following issues seem to be related:

- [[http://lists.gnu.org/archive/html/artanis/2016-05/msg00001.html]]
- [[http://lists.gnu.org/archive/html/help-guix/2016-02/msg00025.html]]

However, I don't exactly know how to fix this, both because I'm not a
Scheme programmer, and also because I'm not a programmer at all.

There is one ugly workaround though:

Make sure that the shell variables $GUILE_LOAD_PATH and
$GUILE_LOAD_COMPILED_PATH have the Guile paths from your current Guix
profile included, it should be something like this:

GUILE_LOAD_PATH="$GUIX_PROFILE/share/guile/site:${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"

Try to see if "$GUIX_PROFILE/share/guile/site" exists and has Artanis
inside, if not try the following ones (do not point to Artanis
directly):

- "$GUIX_PROFILE/share/guile/2.0/site"
- "$GUIX_PROFILE/share/guile/site/2.0"

However, as I said earliear, this doesn't seem to be a fix, it's more
like a workaround, since (as far as the previous references point to),
it's the Artanis project's code that has to be fixed.

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

* Re: artanis ?
  2017-03-01 13:17 ` Adonay Felipe Nogueira
@ 2017-03-01 17:11   ` Catonano
  2017-03-07  1:18   ` Catonano
  1 sibling, 0 replies; 4+ messages in thread
From: Catonano @ 2017-03-01 17:11 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

2017-03-01 14:17 GMT+01:00 Adonay Felipe Nogueira <adfeno@openmailbox.org>:

> I also got the same problem, but I don't know how to solve it yet.
>
>
Thank you. That was a nice wrap up.

I'd contribute but I can't deal with the autotools.

[-- Attachment #2: Type: text/html, Size: 594 bytes --]

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

* Re: artanis ?
  2017-03-01 13:17 ` Adonay Felipe Nogueira
  2017-03-01 17:11   ` Catonano
@ 2017-03-07  1:18   ` Catonano
  1 sibling, 0 replies; 4+ messages in thread
From: Catonano @ 2017-03-07  1:18 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

2017-03-01 14:17 GMT+01:00 Adonay Felipe Nogueira <adfeno@openmailbox.org>:

> I also got the same problem, but I don't know how to solve it yet.
>
> The following issues seem to be related:
>
> - [[http://lists.gnu.org/archive/html/artanis/2016-05/msg00001.html]]
> - [[http://lists.gnu.org/archive/html/help-guix/2016-02/msg00025.html]]
>
> However, I don't exactly know how to fix this, both because I'm not a
> Scheme programmer, and also because I'm not a programmer at all.
>
> There is one ugly workaround though:
>
> Make sure that the shell variables $GUILE_LOAD_PATH and
> $GUILE_LOAD_COMPILED_PATH have the Guile paths from your current Guix
> profile included, it should be something like this:
>
> GUILE_LOAD_PATH="$GUIX_PROFILE/share/guile/site:${
> GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
>
> Try to see if "$GUIX_PROFILE/share/guile/site" exists and has Artanis
> inside, if not try the following ones (do not point to Artanis
> directly):
>
> - "$GUIX_PROFILE/share/guile/2.0/site"
> - "$GUIX_PROFILE/share/guile/site/2.0"
>
> However, as I said earliear, this doesn't seem to be a fix, it's more
> like a workaround, since (as far as the previous references point to),
> it's the Artanis project's code that has to be fixed.
>
>
you need to install Guile in your profile, like this

guix package -i guile

At the end of the installation, it will suggest you to set GUILE_LOAD_PATH
and GUILE_COMPILED_PATH (or something) in such a way that they include the
profile of your user (that contains Artanis too)

Otherwise you could do

$ guix environment --ad-hoc guile artanis

The environment so created will have its own profile and such profile will
contain Artanis too (and the env vars will be automagically set)

At the guile prompt:
,use (artanis artanis)

there !

HTH !

[-- Attachment #2: Type: text/html, Size: 2948 bytes --]

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

end of thread, other threads:[~2017-03-07  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01  2:23 artanis ? Catonano
2017-03-01 13:17 ` Adonay Felipe Nogueira
2017-03-01 17:11   ` Catonano
2017-03-07  1:18   ` Catonano

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