From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: FAQ Date: Wed, 10 Jul 2013 10:35:49 +0400 Message-ID: <87ppuq2a7u.fsf@karetnikov.org> References: <51D71116.3080403@BlueT.org> <87txk8sqc6.fsf@gnu.org> <51D768DE.90403@BlueT.org> <878v1jstco.fsf@gnu.org> <51D9F8EF.5050806@BlueT.org> <87li5hb71f.fsf@gnu.org> <51DAF2F0.5020100@BlueT.org> <871u78ahzj.fsf@gnu.org> <87ppusu3sv.fsf_-_@karetnikov.org> <87y59g6krw.fsf@gnu.org> <87bo6ba79m.fsf@karetnikov.org> <878v1fijqb.fsf@gnu.org> <87k3kzxyx7.fsf@karetnikov.org> <878v1fgxxl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwnwY-00016S-Dg for guix-devel@gnu.org; Wed, 10 Jul 2013 02:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwnwV-0008Rs-Dd for guix-devel@gnu.org; Wed, 10 Jul 2013 02:32:02 -0400 In-Reply-To: <878v1fgxxl.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 10 Jul 2013 00:39:50 +0200") List-Id: 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > I=E2=80=99d say no, because that could lead =E2=80=9Cnormal users=E2=80= =9D to think they need > Automake & co. to install Guix. OK, can I push this one? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-doc-Add-Building-from-Git-to-HACKING.patch Content-Transfer-Encoding: quoted-printable From=20cb6750a9869fc162d98eeb38ccb78e0846553f64 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Wed, 10 Jul 2013 06:13:59 +0000 Subject: [PATCH] doc: Add "Building from Git" to 'HACKING'. =2D-- HACKING | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/HACKING b/HACKING index 9d8960c..8f6e835 100644 =2D-- a/HACKING +++ b/HACKING @@ -3,12 +3,42 @@ #+TITLE: Hacking GNU Guix and Its Incredible Distro =20 Copyright =C2=A9 2012, 2013 Ludovic Court=C3=A8s +Copyright =C2=A9 2013 Nikita Karetnikov =20 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. =20 =20 +* Building from Git + +The following errors might appear if you are building from Git. Also, +take a look at the [[https://gnu.org/software/guix/manual/guix.html#Instal= lation]["Installation"]] section of the manual and the +[[http://git.savannah.gnu.org/cgit/guix.git/tree/README]["Installing Guix = from Guix"]] section in 'README'. + +** ./configure: line 6755: `PKG_CHECK_MODULES(GUILE, guile-2.0 >=3D 2.0.5)' + +This message means that Autoconf didn't pick up the definition of the +'PKG_CHECK_MODULES' M4 macro. 'pkg.m4' is provided by the 'pkg-config' +package. If you install 'pkg-config', Autoconf should automatically find = it. + +However, if you installed Automake in '/usr/local', it wouldn't look for '= .m4' +files in '/usr/share'. You have to invoke the following command in that c= ase: + + $ export ACLOCAL_PATH=3D/usr/share/aclocal + +** make: *** No rule to make target `nix/libstore/schema.sql', needed by +`nix/libstore/schema.sql.hh'. + +You must run './bootstrap', which invokes 'git submodule update', before +'./configure && make && make check'. + +** /bin/bash: dot: command not found +make[2]: *** [doc/images/bootstrap-graph.png] Error 127 + +You must install Graphviz. (It is not listed as a requirement because the +resulting images will be shipped with a tarball.) + * Running Guix before it is installed =20 Command-line tools can be used even if you have not run "make install". =2D-=20 1.7.9.5 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJR3QDKAAoJEM+IQzI9IQ38eU4P/3UY+6AG6E0+T+mWRbWCExNK CT4av1OU2A7EoJ/dCA/KrLVLVI7RLI4BKYJ1acK2/0lWdCKE1C3il2N7ZtpbMK25 GiZgHMx2AKxTpeJIF2wDxsrkw5H/a0ksA8AHaFXVbddhpug4W25woOR6JOaCKulb 1t0ZRA4MgWw3tgsGhxngeBY/8AXTQ1fe0DWg/pBl1qR2mXLWW++Bpsb/z0bL9JHN /YW4czql+VEO0GIwAuk/S8hJu5v/QO9U6QNpL2ZhFrXiKqXckv9c6b5xHkqU0/cG NxbSPCqwFuLmzTFbJL6cTXtTOgeiusEfHOnJ0NyoR/ypFlkjanqmLLe9+1fNVHop iodBG8U33E4aD8kMpyccOSOEMBZbIzYkKt1daqXhsTEbWlbn8xlmqFDi0VvlfgyG iZmkBzpw/TUhCZQ9fVMy3UoDLScSHUp9V0jz+r7eIvmBzHJS6QwYT0LH9unRElre wLrxtPLrPC6B+NK3P9apwDJgpSRJ78eHUv21FMkP6QgbKlD3ZOKr917k636I1W+c sYAh8dHNl7ugek2PzncKBsw9Wc5HPc6Hc5W3ukIaDGh4FxlpDyQkY+PHBhLwLXoC 8GhnDPy8DHqMT44Gsy1wUKhvJBZCwCUfr/zRBKcKSp8aQhyd0k3By807YKjHRrVz qtbDXjpjvBcjPTb/iABh =ghSL -----END PGP SIGNATURE----- --==-=-=--