Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2008 12:16:16 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Tim Kellers <timothyk@wallnet.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: sshguard upgrade error
Message-ID:  <20080927171616.GG86326@dan.emsphone.com>
In-Reply-To: <48DE6426.1010007@wallnet.com>
References:  <48DE6426.1010007@wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080927171616.GG86326>