[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 14.1 Building from Git
From: |
mikadoZero |
Subject: |
Re: 14.1 Building from Git |
Date: |
Tue, 19 Mar 2019 11:34:18 -0400 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ricardo Wurmus writes:
> ...
>> ACLOCAL_PATH=/root/.guix-profile/share/aclocal:/run/current-system/profile/share/acl
>> ocal:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/share/aclocal
>
> Why are /root/.guix-profile directories first? Are setting these
> variables in some shell initialization files?
>
>> GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2:/gnu/store/kjmqpchk
>> fy8rvv19jvd14q40shm9fk2p-profile/share/guile/site/2.2
>
> Same here.
I am using zsh. I only have .zprofile and .zshrc as zsh configuration
files. I have already commented out all the export of environment
variables from .zshrc to get `./bootstrap` to finish.
I did copy the suggested exports that were output when I ran `guix
package --manifest=manifest.scm` into .zprofile and they were:
export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"
export CPATH="/root/.guix-profile/include${CPATH:+:}$CPATH"
export LIBRARY_PATH="/root/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH"
export
GHC_PACKAGE_PATH="/root/.guix-profile/lib/ghc-8.4.3/package.conf.d${GHC_PACKAGE_PATH:+:}$GHC_PACKAGE_PATH"
export ASPELL_DICT_DIR="/root/.guix-profile/lib/aspell"
export GIT_SSL_CAINFO="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export GIT_EXEC_PATH="/root/.guix-profile/libexec/git-core"
export SSL_CERT_DIR="/root/.guix-profile/etc/ssl/certs"
export SSL_CERT_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export
ACLOCAL_PATH="/root/.guix-profile/share/aclocal${ACLOCAL_PATH:+:}$ACLOCAL_PATH"
export CURL_CA_BUNDLE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt"
I commented out all of the above export of environment variables in
.zprofile and ran `guix environment --pure guix` then ran `printenv` but
that has not changed the order. /root/.guix-profile directories are
still first.
Then if I continue with:
`./bootstrap`
`./configure --localstatdir=/var`
I still get the same error message.
I had been using the root user. I tried with a non root user and got
the same error message after running:
`guix environment --pure guix`
`./bootstrap`
`./configure --localstatdir=/var`
With that non root user `printenv` outputs:
TERM=eterm-color
HOME=/home/guix
USER=guix
LOGNAME=guix
PKG_CONFIG_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/pkgconfig
ACLOCAL_PATH=/home/guix/.guix-profile/share/aclocal:/gnu/store/kjmqpchkfy8rvv19jvd14
q40shm9fk2p-profile/share/aclocal
INFOPATH=/home/guix/.config/guix/current/share/info:/home/guix/.guix-profile/share/i
nfo:/run/current-system/profile/share/info:/home/guix/.guix-profile/share/info:/run/
current-system/profile/share/info
C_INCLUDE_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/include
CPLUS_INCLUDE_PATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/include
LIBRARY_PATH=/home/guix/.guix-profile/lib:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2
p-profile/lib
GUIX_LOCPATH=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/locale
GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2:/gnu/store/kjmqpchk
fy8rvv19jvd14q40shm9fk2p-profile/share/guile/site/2.2
GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/gnu/
store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/lib/guile/2.2/site-ccache
GUIX_ENVIRONMENT=/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile
SHLVL=1
PWD=/home/guix/u/guix/guix
OLDPWD=/home/guix/u/guix/guix
MANPATH=/run/current-system/profile/share/man:/home/guix/.guix-profile/share/man:/ru
n/current-system/profile/share/man
XDG_DATA_DIRS=/home/guix/.guix-profile/share:/run/current-system/profile/share
XDG_CONFIG_DIRS=/home/guix/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
XCURSOR_PATH=/home/guix/.icons:/home/guix/.guix-profile/share/icons:/run/current-sys
tem/profile/share/icons
PATH=/run/setuid-programs:/home/guix/.config/guix/current/bin:/home/guix/.guix-profi
le/bin:/home/guix/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-sy
stem/profile/sbin
BASH_LOADABLES_PATH=/run/current-system/profile/lib/bash
CPATH=/home/guix/.guix-profile/include
GHC_PACKAGE_PATH=/home/guix/.guix-profile/lib/ghc-8.4.3/package.conf.d
ASPELL_DICT_DIR=/home/guix/.guix-profile/lib/aspell
GIT_SSL_CAINFO=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
GIT_EXEC_PATH=/home/guix/.guix-profile/libexec/git-core
SSL_CERT_DIR=/home/guix/.guix-profile/etc/ssl/certs
SSL_CERT_FILE=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
CURL_CA_BUNDLE=/home/guix/.guix-profile/etc/ssl/certs/ca-certificates.crt
DICPATH=/home/guix/.guix-profile/share/hunspell:/run/current-system/profile/share/hu
nspell
GST_PLUGIN_PATH=/home/guix/.guix-profile/lib/gstreamer-1.0
_=/run/current-system/profile/bin/printenv