Le 28 janvier 2020 03:31:39 GMT-05:00, Efraim Flashner <efraim@flashner.co.il> a écrit :
Toggle quote (27 lines)
>On Tue, Jan 28, 2020 at 09:17:44AM +0100, Damien Cassou wrote:
>> Julien Lepiller <julien@lepiller.eu> writes:
>> > $ guix environment guix --pure
>> > ^C if your terminal asks you to install whatever
>> > [env]$ ./bootstrap
>> > [env]$ ./configure --localstatedir=/var # this should now work
>> > [env]$ exit # to exit the pure environment
>> > $ guix environment guix # no need for pure anymore, so now we can
>use things outside of the environment too
>> > [env]$ make
>>
>> This did the trick, thank you. I got a lot of error messages though:
>>
>> $ guix environment guix
>> guile: warning: failed to install locale
>> substitute:
>/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
>warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
>>
>>
>> perl: warning: Please check that your locale settings:
>> LANGUAGE = (unset),
>> LC_ALL = (unset),
>> LANG = "en_US.UTF-8"
>> are supported and installed on your system.
>>
Also try guix install glibc-utf8-locales (and maybe the same for root, I'm not sure).
Toggle quote (13 lines)
>
>In the daemon service file you can change the Environment field to
>change LC_ALL=en_US.utf8 to en_US.UTF-8.
>
>>
>> bash: gpg-connect-agent: command not found...
>> Similar command is: 'gpg-connect-agent'
>> bash: gpgconf: command not found...
>> Install package 'gnupg2' to provide command 'gpgconf'? [N/y] y
>>
>> Failed to install packages: gnupg2-2.2.18-2.fc31.x86_64 is already
>installed
This message is from fedora, not guix. Apparently it tries to run gpg-agent, but it can't because you're in a pure environment (the $PATH does not contain /usr/bin or /bin). However, the package is already installed, so dnf can't do anything :)
At this question, just kill it with a ^C, because if you say no, it will ask the same for other packages.
Toggle quote (4 lines)
>
>gpg-connect-agent and gpg-connect-agent look similar to me too ...
>
>not sure about gpgconf. Could it have something to do with SElinux?