From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Compile guix from git? Date: Thu, 25 Jun 2015 11:25:25 +0200 Message-ID: <87si9gm96i.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]:51009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z83PY-0004Ve-D4 for guix-devel@gnu.org; Thu, 25 Jun 2015 05:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z83PU-00074U-0b for guix-devel@gnu.org; Thu, 25 Jun 2015 05:25:32 -0400 In-Reply-To: ("Claes Wallin \=\?utf-8\?B\?KOmfi+WYieiqoCkiJ3M\=\?\= message of "Wed, 24 Jun 2015 22:48:49 +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: =?utf-8?B?Q2xhZXMgV2FsbGluICjpn4vlmInoqqAp?= Cc: guix-devel "Claes Wallin (=E9=9F=8B=E5=98=89=E8=AA=A0)" skribis: > How do people compile guix directly from git source? I've been > searching around in HACKING and manual.html#Contributing and other > places, the internet in general, and haven't been able to find any > instructions. > > It ought to be: > > 1. Get dependencies manually or with 'guix environment guix'. > 2. aclocal > 3. automake, maybe automake -a > 4. autoconf > 5. configure --sharedstatedir=3D/var --with-libgcrypt-prefix=3Dwherever > 6. make Replace #2, #3, and #4 with just =E2=80=9Cautoreconf -vfi=E2=80=9D. For #5, you probably mean --localstatedir, not --sharedstatedir. > But #3 fails. nix/config.h.in is missing, maybe other things too but > that's where it halts. Don=E2=80=99t worry, =E2=80=98autoreconf=E2=80=99 will do the right thing. = :-) Alternately, you can also do: guix build guix --with-source=3D/path/to/guix where the last component of /path/to/guix is literally =E2=80=98guix=E2=80= =99, and where /path/to/guix contains a possibly pristine checkout. But of course, that command builds from scratch, which may not be what you want. HTH! Ludo=E2=80=99.