From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: FAQ Date: Sat, 13 Jul 2013 00:50:27 +0400 Message-ID: <87r4f35wq4.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> <87ppuq2a7u.fsf@karetnikov.org> <87vc4icznn.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]:36644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxkEi-000103-7T for guix-devel@gnu.org; Fri, 12 Jul 2013 16:46:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxkEe-0003mi-55 for guix-devel@gnu.org; Fri, 12 Jul 2013 16:46:40 -0400 In-Reply-To: <87vc4icznn.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 10 Jul 2013 15:28:28 +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 > Sorry if I wasn=E2=80=99t clear. What I meant is: instead of presenting = it as a > trial-and-error approach, I would rather present it as a sequence of > instructions to build from Git. OK, what do you think about this patch? > For the link to README, just use [[./README][README]] (info "(org) > Hyperlinks"). I decided not to refer to 'README' because it's mentioned in the "Installation" section of the manual. > It may look like I=E2=80=99m being picky, and indeed that=E2=80=99s what = I am ;-), but I > think it=E2=80=99s important to agree on how to present information. No, you are absolutely right. Do you have any other comments? --=-=-= 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=2064f56139dc2b3d92cf9b580414df609fdd951bf0 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Fri, 12 Jul 2013 20:31:28 +0000 Subject: [PATCH] doc: Add "Building from Git" to 'HACKING'. =2D-- HACKING | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/HACKING b/HACKING index 9d8960c..c711521 100644 =2D-- a/HACKING +++ b/HACKING @@ -3,12 +3,47 @@ #+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 + +First, make sure that 'autoconf' (>=3D 2.69), 'automake', and 'pkg-config'= are +installed. Run './bootstrap' that, among other things, invokes 'git submo= dule +update', or you might get the following error + + make: *** No rule to make target `nix/libstore/schema.sql', needed by + `nix/libstore/schema.sql.hh' + +Then, as always, run './configure'. If you get an error like this one + + ./configure: line 6755: `PKG_CHECK_MODULES(GUILE, guile-2.0 >=3D 2.0.5)' + +it probably means that 'autoconf' couldn't find 'pkg.m4', which is provide= d by +'pkg-config'. Make sure that 'pkg.m4' is available. For instance, if you +installed 'automake' in '/usr/local', it wouldn't look for '.m4' files in +'/usr/share'. So you have to invoke the following command in that case + + $ export ACLOCAL_PATH=3D/usr/share/aclocal + +See "info '(automake) Macro Search Path'" for more information. + +After that you should proceed with 'make'. You might also get this error + + /bin/bash: dot: command not found + make[2]: *** [doc/images/bootstrap-graph.png] Error 127 + +This one is easy to handle; just install 'graphviz'. It is not listed as a +requirement because the resulting images should come with a tarball. + +Finally, you have to invoke 'make check' to run tests. If anything fails, +take a look at "info '(guix) Installation'" or send a message to +. + * 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) iQIcBAEBAgAGBQJR4GwWAAoJEM+IQzI9IQ38zrYP/AtwBUOnXcINIr/9OXwd7jh6 GSdS30QG7qcXVXJgRrxkGoR4msj21N1i31VoX2zCdJ0lxDzdpQ3rJOP3knrNOvu9 TWEA+sNJGtDpQ1O2rM75nngPl0vY9nr7Et3pqo6vClHmxsRxpbX7n2DxoWBeKEtO jdmhAuKl1ooXOsf4JFrI83IC61mZOJ8XHVtQVUenLX9zZ5NwYrrtUJhZM0yDmk8y nwf90ijgbdQ3aITwUxUU3pOQe6nqO+6RGEtuQ84BzSzyyIBGzQPN41j1P/c7xMUT v44VSj8cvxztJjIYPZvjbHYDl0K68odMXzbeeZBu/JniSNhU+fGCnqL50aoym3ds W4Rh5JayeiMVSakORnZcWrFu2y8sPt7gvgIxYalcY9iIb4i1/DzAAkr/L+S9/Yld lqnLLfGTXTRZDPwrZHt03a81ZzciHceZDIGvXDsELb2uE6AcB82Vo/Gk460VDCer IStD2CeKKEacw2JXfq6+488tLkk2J4y5g0S9wu17oh2O49lK7pot4Q2dEos5dVlS lwzMNhJPmcCxMTqjLMGxdo4kEAxzt4N3hiUBkQlR0HR7A8VKVcaLpZtrijGMP3re +1rEdb3hn9KmZD43HLFo0uhnwDEZPsafmNpBYAcYVQ6sc4JL0KYTjnp28ywQsape Qs7fx1JieCv03PgIqvaW =93xF -----END PGP SIGNATURE----- --==-=-=--