ntop build failure (autoconf confusion)
Wesley Shields
wxs at atarininja.org
Tue Sep 11 12:23:18 PDT 2007
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
More information about the freebsd-ports
mailing list