[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix 0.7 installation
From: |
Ludovic Courtès |
Subject: |
Re: guix 0.7 installation |
Date: |
Sun, 31 Aug 2014 22:22:50 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> $ guix package
> --install={autoconf,automake,bzip2,gcc-toolchain,gettext,guile,libgcrypt,pkg-config,sqlite}
>
> and got the packages installed :-)
> At the end of the process I've been told to define the following
> environment variables:
>
> export PKG_CONFIG_PATH="/home/beffa/.guix-profile/lib/pkgconfig"
> export ACLOCAL_PATH="/home/beffa/.guix-profile/share/aclocal"
>
> On top of those I've defined the PATH as follows:
>
> export PATH=$HOME/.guix-profile/bin:$PATH
>
> The README file mentions all of the following veriables: ACLOCAL_PATH,
> CPATH, LIBRARY_PATH, PKG_CONFIG_PATH. However, only the above ones
> have been mentioned during the installation phase and defined.
Indeed, ‘guix package’ should have told you about LIBRARY_PATH and
CPATH, but there was a bug in the ‘gcc-toolchain’ package, which commit
d474d5d fixes.
Now it would additionally list:
export CPATH="$HOME/.guix-profile/include"
export LIBRARY_PATH="$HOME/.guix-profile/lib"
> configure:3474: checking whether the C compiler works
> configure:3496: gcc conftest.c >&5
> ld: cannot find crt1.o: No such file or directory
> ld: cannot find crti.o: No such file or directory
> collect2: error: ld returned 1 exit status
This is due to the lack of the above LIBRARY_PATH setting.
Could you try setting and report back?
Thanks for the report!
Ludo’.