From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix 0.7 installation Date: Sun, 31 Aug 2014 22:22:50 +0200 Message-ID: <87tx4s1k9x.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOBeM-0007IC-81 for guix-devel@gnu.org; Sun, 31 Aug 2014 16:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOBeG-0001qk-QP for guix-devel@gnu.org; Sun, 31 Aug 2014 16:22:58 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:53028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOBeG-0001qG-JB for guix-devel@gnu.org; Sun, 31 Aug 2014 16:22:52 -0400 In-Reply-To: (Federico Beffa's message of "Sat, 30 Aug 2014 23:53:57 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: guix-devel@gnu.org Federico Beffa skribis: > $ guix package --install=3D{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=3D"/home/beffa/.guix-profile/lib/pkgconfig" > export ACLOCAL_PATH=3D"/home/beffa/.guix-profile/share/aclocal" > > On top of those I've defined the PATH as follows: > > export PATH=3D$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, =E2=80=98guix package=E2=80=99 should have told you about LIBRARY_P= ATH and CPATH, but there was a bug in the =E2=80=98gcc-toolchain=E2=80=99 package, = which commit d474d5d fixes. Now it would additionally list: export CPATH=3D"$HOME/.guix-profile/include" export LIBRARY_PATH=3D"$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=E2=80=99.