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

next in thread | previous in thread | raw e-mail | index | archive | help


Dan Nelson wrote:
> 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
>
>   
Thanks Dan,

That:

USE_AUTOTOOLS= aclocal:110 autoheader:262

Did the trick

will you send-pr it? 


Tim



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