From 17a11ca78a4f71174edf57ec01f55934b1761363 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Tue, 9 Jul 2013 18:47:17 +0000 Subject: [PATCH] doc: Add FAQ to 'HACKING'. --- HACKING | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/HACKING b/HACKING index dd59a68..89ea124 100644 --- a/HACKING +++ b/HACKING @@ -3,12 +3,32 @@ #+TITLE: Hacking GNU Guix and Its Incredible Distro Copyright © 2012, 2013 Ludovic Courtès +Copyright © 2013 Nikita Karetnikov 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. +* FAQ + +** ./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 just invokes 'git submodule update', before +'./configure && make && make check'. + * Running Guix before it is installed Command-line tools can be used even if you have not run "make install". -- 1.7.9.5