Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 15:25:47 -0400
From:      Wesley Shields <wxs@atarininja.org>
To:        Jeffrey Goldberg <jeffrey@goldmark.org>
Cc:        ports@freebsd.org
Subject:   Re: ntop build failure (autoconf confusion)
Message-ID:  <20070911192547.GI95540@atarininja.org>
In-Reply-To: <alpine.BSF.0.99.0709111104570.79211@dobby.ewd.goldmark.org>
References:  <alpine.BSF.0.99.0709111104570.79211@dobby.ewd.goldmark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 11, 2007 at 11:14:11AM -0500, Jeffrey Goldberg wrote:
> Below is the result of my attempt to build net/ntop.  The final error 
> message is particularly confusing
> 
>   error: this file was generated for autoconf 2.61. You have another
>   version of autoconf.
> 
> When the configure portion (earlier)  correctly identifies my system as 
> running autoconf 2.61
> 
>  1. Testing gnu tools....
>     libtool ..... 1.5.22
>         .... ok
>     automake .... 1.10
>         .... ok
>     autoconf .... 2.61
>         .... ok
> 

...

As the maintainer I've tried to replicate this but haven't had much
success.  The following patch was sent to me by Edward Sutton privately
but I haven't been able to properly test it.  Would you be willing to
try it out and let me know if it works?  If so I'll send a PR in for it.

[begin quote from Edward]

This was required to make autogen.sh stop detecting autoconf as 1.10
which later interrupted the build process.

--- Makefile~   2007-07-21 18:19:35.000000000 -0700
+++ Makefile    2007-08-10 15:51:47.000000000 -0700
@@ -100,7 +100,7 @@
        @${RM} ${WRKSRC}/configureextra/FREEBSD

 pre-configure:
-       @cd ${WRKSRC} && ${SH} autogen.sh --noconfig
+       @cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} autogen.sh
--noconfig

 post-install:
        @${MKDIR} ${DBDIR}/ntop

[end quote from Edward]

-- WXS



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