Fis Trivial <ybbs.da...@hotmail.com> skribis:

> * Do as the menu said
> So I ran the following command in sequence:
> $ guix environment guix --ad-hoc help2man git strace
> $ ./bootstrap
> $ ./configure --localstatedir=/var
>
> The last configure command resulted in error, here is the last part from 
> output:
>
> configure: checking for guile 2.2
> configure: found guile 2.2
> checking for guile-2.2... no
> checking for guile2.2... no
> checking for guile-2... no
> checking for guile2... /usr/bin/guile2
> configure: error: found development files for Guile 2.2, but /usr/bin/guile2 
> has effective version 2.0

Most likely your .bashrc, .bash_profile, or similar is overriding PATH
and other environment variables defined by ‘guix environment’, which is
why /usr/bin/guile2 takes precedence.

See the footnote at
<https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-environment.html#FOOT15>.

HTH,
Ludo’.

Reply via email to