From owner-freebsd-ports@FreeBSD.ORG Tue Sep 11 16:29:37 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EF1B16A420 for ; Tue, 11 Sep 2007 16:29:37 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from n118.ewd.goldmark.org (n118.ewd.goldmark.org [72.64.118.118]) by mx1.freebsd.org (Postfix) with ESMTP id 77B3713C4B0 for ; Tue, 11 Sep 2007 16:29:37 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: by n118.ewd.goldmark.org (Postfix, from userid 1001) id BEFE92E0032; Tue, 11 Sep 2007 11:14:11 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by n118.ewd.goldmark.org (Postfix) with ESMTP id B33962E002A for ; Tue, 11 Sep 2007 11:14:11 -0500 (CDT) Date: Tue, 11 Sep 2007 11:14:11 -0500 (CDT) From: Jeffrey Goldberg X-X-Sender: jeffrey@dobby.ewd.goldmark.org To: ports@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: Subject: ntop build failure (autoconf confusion) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 16:29:37 -0000 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@dobby /usr/ports/net/ntop]# make clean ===> Cleaning for ntop-3.3 [root@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@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 . There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. [root@dobby /usr/ports/net/ntop]# exit exit Script done on Tue Sep 11 11:03:58 2007