> I’d say no, because that could lead “normal users” to think they need
> Automake & co. to install Guix.

OK, can I push this one?

From cb6750a9869fc162d98eeb38ccb78e0846553f64 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nik...@karetnikov.org>
Date: Wed, 10 Jul 2013 06:13:59 +0000
Subject: [PATCH] doc: Add "Building from Git" to 'HACKING'.

---
 HACKING |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/HACKING b/HACKING
index 9d8960c..8f6e835 100644
--- a/HACKING
+++ b/HACKING
@@ -3,12 +3,42 @@
 #+TITLE: Hacking GNU Guix and Its Incredible Distro
 
 Copyright © 2012, 2013 Ludovic Courtès <l...@gnu.org>
+Copyright © 2013 Nikita Karetnikov <nik...@karetnikov.org>
 
   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.
 
 
+* 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#Installation]["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 >= 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 case:
+
+  $ export ACLOCAL_PATH=/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
 
 Command-line tools can be used even if you have not run "make install".
-- 
1.7.9.5

Attachment: pgpDs0pvqHrmG.pgp
Description: PGP signature

Reply via email to