From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 17:16:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 556AE1065692 for ; Sat, 27 Sep 2008 17:16:19 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 187E68FC0A for ; Sat, 27 Sep 2008 17:16:18 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m8RHGIqX098871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 27 Sep 2008 12:16:18 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m8RHGHJl098870; Sat, 27 Sep 2008 12:16:17 -0500 (CDT) (envelope-from dan) Date: Sat, 27 Sep 2008 12:16:16 -0500 From: Dan Nelson To: Tim Kellers Message-ID: <20080927171616.GG86326@dan.emsphone.com> References: <48DE6426.1010007@wallnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48DE6426.1010007@wallnet.com> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd general questions Subject: Re: sshguard upgrade error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 17:16:19 -0000 In the last episode (Sep 27), Tim Kellers said: > I have autoconf 2.62 installed. Is there a workaround? > > > ===> Building for sshguard-1.2 > > Making all in src > > cd .. && /bin/sh > > /usr/ports/security/sshguard/work/sshguard-1.2/missing --run autoheader > > aclocal.m4:14: error: this file was generated for autoconf 2.61. > > You have another version of autoconf. If you want to use that, > > you should regenerate the build system entirely. > > aclocal.m4:14: the top level > > autom4te-2.62: /usr/local/bin/gm4 failed with exit status: 63 > > autoheader-2.62: '/usr/local/bin/autom4te-2.62' failed with exit > > status: 63 > > *** Error code 1 It looks like the original author didn't prepare their source tree correctly before creating the tarball (end-users should never need to run autoheader), and the port maintainer didn't specify any autotools dependencies to compensate. Try this patch: diff -u -r1.10 Makefile --- Makefile 23 Sep 2008 18:58:35 -0000 1.10 +++ Makefile 27 Sep 2008 17:13:38 -0000 @@ -21,6 +21,7 @@ MANCOMPRESSED= no USE_BZIP2= yes MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" +USE_AUTOTOOLS= aclocal:110 autoheader:262 HAS_CONFIGURE= yes # sublist will be set afterward -- Dan Nelson dnelson@allantgroup.com