From 25ed6edb6c17e0c7817cb8b29a549b10c8654eba Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Dec 2013 12:12:41 +0100 Subject: doc: Adjust "Building from Git" instructions. * HACKING (Building from Git): As a follow-up to ff1cbb9, update the error reported when pkg.m4 is missing. Suggested by John Darrington . --- HACKING | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index ef8fb27cbe..0dc2908318 100644 --- a/HACKING +++ b/HACKING @@ -30,9 +30,9 @@ you didn’t run it, you may 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: +If you get an error like this one: - ./configure: line 6755: `PKG_CHECK_MODULES(GUILE, guile-2.0 >= 2.0.5)' + configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES it probably means that Autoconf couldn’t find ‘pkg.m4’, which is provided by pkg-config. Make sure that ‘pkg.m4’ is available. For instance, if you @@ -43,6 +43,8 @@ installed Automake in ‘/usr/local’, it wouldn’t look for ‘.m4’ files i See “info '(automake) Macro Search Path'” for more information. +Then, run ‘./configure’ as usual. + 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 . -- cgit v1.2.3