From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: [PATCH] HACKING Date: Fri, 6 Dec 2013 09:37:46 +0100 Message-ID: <20131206083745.GA12004@jocasta.intra> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="R3G7APHDIzY6R/pk" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoqvA-0002TO-Rj for guix-devel@gnu.org; Fri, 06 Dec 2013 03:38:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Voqv6-00065n-Kh for guix-devel@gnu.org; Fri, 06 Dec 2013 03:38:00 -0500 Received: from de.cellform.com ([88.217.224.109]:40801 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Voqv6-00063G-7Y for guix-devel@gnu.org; Fri, 06 Dec 2013 03:37:56 -0500 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id rB68bkRJ012092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 6 Dec 2013 09:37:46 +0100 Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id rB68bkHF012091 for guix-devel@gnu.org; Fri, 6 Dec 2013 09:37:46 +0100 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." 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: guix-devel@gnu.org --R3G7APHDIzY6R/pk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Patch for your consideration. -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --R3G7APHDIzY6R/pk Content-Type: text/x-diff; charset=unknown-8bit Content-Disposition: attachment; filename="hckg.patch" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by jocasta.intra id rB68bkRJ012092 commit feae92498356789d19883424cc078e8e8827626b Author: John Darrington Date: Sun Dec 1 08:28:54 2013 +0100 HACKING: Updated advice about possible errors in ./bootstrap process. =20 Commit ff1cbb95383b25cf1d6b533c8a046329ee53d1db made errors due to missing pkg.m4 appear earlier rather than later. This commit updates the HACKING file to reflect that. diff --git a/HACKING b/HACKING index ef8fb27..4037b10 100644 --- a/HACKING +++ b/HACKING @@ -30,9 +30,12 @@ you didn=E2=80=99t run it, you may get the following e= rror: make: *** No rule to make target `nix/libstore/schema.sql', needed by `nix/libstore/schema.sql.hh' =20 -Then, as always, run =E2=80=98./configure=E2=80=99. If you get an error= like this one: +If you get an error like this one: + +configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES + If this token and others are legitimate, please use m4_pattern_all= ow. + See the Autoconf documentation. =20 - ./configure: line 6755: `PKG_CHECK_MODULES(GUILE, guile-2.0 >=3D 2.0.5= )' =20 it probably means that Autoconf couldn=E2=80=99t find =E2=80=98pkg.m4=E2= =80=99, which is provided by pkg-config. Make sure that =E2=80=98pkg.m4=E2=80=99 is available. For = instance, if you @@ -43,6 +46,8 @@ installed Automake in =E2=80=98/usr/local=E2=80=99, it = wouldn=E2=80=99t look for =E2=80=98.m4=E2=80=99 files i =20 See =E2=80=9Cinfo '(automake) Macro Search Path'=E2=80=9D for more infor= mation. =20 +Then, as always, run `./. configure'. + Finally, you have to invoke =E2=80=98make check=E2=80=99 to run tests. = If anything fails, take a look at =E2=80=9Cinfo '(guix) Installation'=E2=80=9D or send a me= ssage to . --R3G7APHDIzY6R/pk--