From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: ./configure fails when building Guix Date: Tue, 14 May 2019 12:51:03 +0200 Message-ID: References: <9079381.9uMWJnfOWO@aleksandar-ixtreme-m5740> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQV1l-0004zd-D9 for guix-devel@gnu.org; Tue, 14 May 2019 06:51:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQV1j-0008ML-WA for guix-devel@gnu.org; Tue, 14 May 2019 06:51:21 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:51396) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQV1j-0008GT-Mn for guix-devel@gnu.org; Tue, 14 May 2019 06:51:19 -0400 In-Reply-To: <9079381.9uMWJnfOWO@aleksandar-ixtreme-m5740> 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" To: guix-devel@gnu.org, HiPhish Le 14 mai 2019 11:52:40 GMT+02:00, HiPhish a =C3=A9cr= it : >Hello everyone, > >I am trying to set up Guix for proper local development, but it fails >during=20 >the configuration step because the script cannot find the guild binary=2E >Here is=20 >what I did: > >- Check out the Guix repo >- Switch to a local branch >- run `guix environment guix` in order to set up all dependiencies >- run `=2E/bootstrap` >- run `=2E/configure` > >Here is the output of `=2E/bootstrap`: > >guix$ =2E/bootstrap >+ find po/doc -type f -name *=2Epo >+ sed -e s,guix-manual\=2E,, >+ xargs -n 1 -I{} basename {} =2Epo >+ langs=3Dzh_CN >de >ru >es >fr >+ [ ! -e doc/guix=2Ezh_CN=2Etexi ] >+ [ ! -e doc/guix=2Ede=2Etexi ] >+ [ ! -e doc/guix=2Eru=2Etexi ] >+ [ ! -e doc/guix=2Ees=2Etexi ] >+ [ ! -e doc/guix=2Efr=2Etexi ] >+ exec autoreconf -vfi >autoreconf: Entering directory `=2E' >autoreconf: running: autopoint --force >autoreconf: running: aclocal --force -I m4 >autoreconf: configure=2Eac: tracing >autoreconf: configure=2Eac: not using Libtool >autoreconf: running: /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj- >autoconf-2=2E69/bin/autoconf --force >autoreconf: running: /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj- >autoconf-2=2E69/bin/autoheader --force >autoreconf: running: automake --add-missing --copy --force-missing >configure=2Eac:23: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, >and its=20 >use is discouraged=2E >configure=2Eac:23: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' >macro=20 >instead, >configure=2Eac:23: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your >Makefile=2Eam=20 >files=2E >Makefile=2Eam:601: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS >autoreconf: Leaving directory `=2E' > >And here is the output of `=2E/configure`: > >guix$ =2E/configure >checking for a BSD-compatible install=2E=2E=2E /gnu/store/ >020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/install -c >checking whether build environment is sane=2E=2E=2E yes >checking for a thread-safe mkdir -p=2E=2E=2E /gnu/store/ >020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/mkdir -p >checking for gawk=2E=2E=2E gawk >checking whether make sets $(MAKE)=2E=2E=2E yes >checking whether make supports nested variables=2E=2E=2E yes >checking whether make supports nested variables=2E=2E=2E (cached) yes >checking whether make supports the include directive=2E=2E=2E yes (GNU st= yle) >checking for gcc=2E=2E=2E gcc >checking whether the C compiler works=2E=2E=2E yes >checking for C compiler default output file name=2E=2E=2E a=2Eout >checking for suffix of executables=2E=2E=2E >checking whether we are cross compiling=2E=2E=2E no >checking for suffix of object files=2E=2E=2E o >checking whether we are using the GNU C compiler=2E=2E=2E yes >checking whether gcc accepts -g=2E=2E=2E yes >checking for gcc option to accept ISO C89=2E=2E=2E none needed >checking whether gcc understands -c and -o together=2E=2E=2E yes >checking dependency style of gcc=2E=2E=2E gcc3 >checking how to run the C preprocessor=2E=2E=2E gcc -E >checking for grep that handles long lines and -e=2E=2E=2E /gnu/store/ >020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/grep >checking for egrep=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/ >grep -E >checking for ANSI C header files=2E=2E=2E yes >checking for sys/types=2Eh=2E=2E=2E yes >checking for sys/stat=2Eh=2E=2E=2E yes >checking for stdlib=2Eh=2E=2E=2E yes >checking for string=2Eh=2E=2E=2E yes >checking for memory=2Eh=2E=2E=2E yes >checking for strings=2Eh=2E=2E=2E yes >checking for inttypes=2Eh=2E=2E=2E yes >checking for stdint=2Eh=2E=2E=2E yes >checking for unistd=2Eh=2E=2E=2E yes >checking minix/config=2Eh usability=2E=2E=2E no >checking minix/config=2Eh presence=2E=2E=2E no >checking for minix/config=2Eh=2E=2E=2E no >checking whether it is safe to define __EXTENSIONS__=2E=2E=2E yes >checking whether NLS is requested=2E=2E=2E yes >checking for msgfmt=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/ >msgfmt >checking for gmsgfmt=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/ >bin/msgfmt >checking for xgettext=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/ >bin/xgettext >checking for msgmerge=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/ >bin/msgmerge >checking build system type=2E=2E=2E x86_64-pc-linux-gnu >checking host system type=2E=2E=2E x86_64-pc-linux-gnu >checking for ld used by GCC=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz- >profile/bin/ld >checking if the linker >(/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/ >bin/ld) is GNU ld=2E=2E=2E yes >checking for shared library run path origin=2E=2E=2E done >checking for CFPreferencesCopyAppValue=2E=2E=2E no >checking for CFLocaleCopyCurrent=2E=2E=2E no >checking for GNU gettext in libc=2E=2E=2E yes >checking whether to use NLS=2E=2E=2E yes >checking where the gettext function comes from=2E=2E=2E libc >checking for sed=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/sed >checking for the Guix system type=2E=2E=2E x86_64-linux >checking for the store directory=2E=2E=2E /gnu/store >checking the length of the installed socket file name=2E=2E=2E 40 >checking for unit test root directory=2E=2E=2E >/home/aleksandar/Developer/guix/test- >tmp >checking the length of the socket file name used in tests=2E=2E=2E 72 >checking the length of a typical hash bang line=2E=2E=2E 73 >checking the length of a hash bang line used in tests=2E=2E=2E 109 >checking for pkg-config=2E=2E=2E >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/ >bin/pkg-config >checking pkg-config is at least version 0=2E9=2E0=2E=2E=2E yes >configure: checking for guile 2=2E2 >configure: found guile 2=2E2 >checking for guile-2=2E2=2E=2E=2E /usr/bin/guile-2=2E2 >checking for Guile version >=3D 2=2E2=2E=2E=2E 2=2E2=2E4 >checking for guild-2=2E2=2E=2E=2E no >checking for guile-config-2=2E2=2E=2E=2E no >checking for guile-tools-2=2E2=2E=2E=2E no >configure: error: 'guild' binary not found; please check your guile-2=2Ex > >installation=2E > >The guild binary is available, the output of `which guild` is > >guix$ which guild >/gnu/store/020aw068yfsq84h6scmnvfrjacmznsgz-profile/bin/guild > >I am running Guix on a foreign distro (Kubuntu 18=2E10) if that matters= =2E I get that too on foreign distros=2E Here configure finds your distso's gu= ile (in /usr/bin)=2E Try to run configure inside a pure guix environment: guix environment guix --pure -- =2E/configure