ntop build failure (autoconf confusion)

Jeffrey Goldberg jeffrey at goldmark.org
Tue Sep 11 09:29:37 PDT 2007


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

There are some warnings in between

  4. Running aclocal to create aclocal.m4 ...
  acinclude.m4:221: the serial number must appear before any macro definition
  /usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of
   AM_PATH_LINC
  /usr/local/share/aclocal/linc.m4:1:   run info '(automake)Extending aclocal'
  /usr/local/share/aclocal/linc.m4:1:   or see
   http://sources.redhat.com/automake/automake.html#Extending-aclocal
         .... done

which are probably crucial, but I really don't know what's going on here.

The full transcript is below.

-j

Script started on Tue Sep 11 10:59:47 2007
[root at dobby /usr/ports/net/ntop]# make clean
===>  Cleaning for ntop-3.3
[root at dobby /usr/ports/net/ntop]# make build
===>  Found saved configuration for ntop-3.3
===>  Extracting for ntop-3.3
=> MD5 Checksum OK for ntop-3.3.tar.gz.
=> SHA256 Checksum OK for ntop-3.3.tar.gz.
===>  Patching for ntop-3.3
===>  Applying FreeBSD patches for ntop-3.3
===>   ntop-3.3 depends on executable: rrdtool - found
===>   ntop-3.3 depends on file: /usr/local/lib/libpcap.a - found
===>   ntop-3.3 depends on executable: gmake - found
===>   ntop-3.3 depends on file: /usr/local/bin/automake-1.9 - found
===>   ntop-3.3 depends on file: /usr/local/bin/autoconf-2.59 - found
===>   ntop-3.3 depends on file: /usr/local/bin/libtool - found
===>   ntop-3.3 depends on executable: pkg-config - found
===>   ntop-3.3 depends on shared library: gd.4 - found
===>   ntop-3.3 depends on shared library: gdbm.3 - found
===>   ntop-3.3 depends on shared library: png.5 - found
===>   ntop-3.3 depends on shared library: xml2.5 - found
===>  Configuring for ntop-3.3

Starting ntop automatic configuration system v.0.2.3

   Please be patient, there is a lot to do...

1. Testing gnu tools....
     libtool ..... 1.5.22
         .... ok
     automake .... 1.10
         .... ok
     autoconf .... 2.61
         .... ok

2. Preparing for libtool ....
You should update your `aclocal.m4' by running aclocal.
         .... done

3. Create acinclude.m4, local definitions for automake ...
         .... done

4. Running aclocal to create aclocal.m4 ...
acinclude.m4:221: the serial number must appear before any macro definition
/usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
/usr/local/share/aclocal/linc.m4:1:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/linc.m4:1:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
         .... done

5. Running autoheader to create config.h.in ...
         .... done

6. Running automake to create Makefile.in ...
Makefile.am:119: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
         .... done

7. Running autoconf to create configure ...
         .... done

8. Skipping ./configure
Run ./configure and then make to compile ntop

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.59: /usr/local/bin/gm4 failed with exit status: 63
*** Error code 63

Stop in /usr/ports/net/ntop.
*** Error code 1

Stop in /usr/ports/net/ntop.
[root at dobby /usr/ports/net/ntop]# autoconf -V
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
[root at dobby /usr/ports/net/ntop]# exit
exit

Script done on Tue Sep 11 11:03:58 2007


More information about the freebsd-ports mailing list