[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 2.2 packages
From: |
Ludovic Courtès |
Subject: |
Re: Guile 2.2 packages |
Date: |
Fri, 09 Sep 2016 11:27:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> On Wed, 07 Sep 2016 22:49:12 +0200
> address@hidden (Ludovic Courtès) wrote:
>> I don’t know.
>
>>What you describe sounds a lot like a search path issue.
>
> It is a search path issue.
>
> Does package-for-guile-2.2 take it into account?
>
> Your E-mail contains:
>
> The following environment variable definitions may be needed:
> export PATH="foo/bin${PATH:+:}$PATH"
> export
> GUILE_LOAD_PATH="foo/share/guile/site/2.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
> export
> GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.0/ccache:foo/share/guile/site/2.0${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
> export
> GUILE_LOAD_PATH="foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
> export
> GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/ccache:foo/share/guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
>
> This is setting the same environment variables twice, overwriting them.
Yes, but that’s fine. However, the example I gave is ridiculous in that
you can’t have address@hidden and guile-next in the same profile since you
can’t have two ‘guile’ programs in the same profile. What you can do,
though, is have both guile-json and guile2.2-json in the same profile.
> I get (for a long time already, so it's not breakage introduced by your
> commit here):
>
> $ emacs
> ...
> open("/home/dannym/.guix-profile/lib/guile/2.0/ccache/ice-9/eval.go",
> O_RDONLY|O_CLOEXEC) = 6
This one was fixed by Alex Kost in
ca408580946d5a8be872f3da755112f5559a054d (in core-updates), and I pushed
a similar fix for 2.2 in master.
Hopefully that’ll solve this and similar issues.
Ludo’.