Mike, I just installed a fresh install of Suse 8.0. I build ntop the way see the attachment. The funny is that I need to do a "make install" after make of libpng.1.2.1 ( otherwise error libpng.so.3 not found when runing ntop, this I needed to do also on Solaris Intel 8 and Solaris Sparc 8 build... Luca!!) Also I tried running autogen.sh -1 , which gave me the same problems you have. I got ntop properly build after tar'ed again the snapshot file and build it exactly as described in the attached file.
rgds Jac -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Klinkert Sent: Thursday, May 09, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: [Ntop] Compilation problem with autoconf (m4_popdef: undefined macro: AC_Dest) Hi all, I'm having trouble of compiling recent snapshots. I assumed it was due to the upgrade of my workstation from SuSE 7.3 to SuSE 8.0, but it turns out that's not the case. SuSE 8.0 uses automake-1.5 whereas SuSE 7.3 uses automake-1.4p5 by default. Building ntop with automake-1.5 gives me problems with "depcomp" (I know the solution), but also with the "DIST_COMMON" problem (mentioned in another message). So I decided to downgrade automake to automake-1.4p5 (I also tried automake-1.6, to no affect). Here's the problem. Running "./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --mandir=/usr/share/man" works fine (see attached output). The troubles begin when "make" is run (or more precise "autoconf" from the Makefile): # make cd . && aclocal cd . && automake --gnu Makefile cd . && autoconf configure.in:1146: error: m4_popdef: undefined macro: AC_Dest acgeneral.m4:3404: AC_CONFIG_FILES is expanded from... configure.in:1146: the top level make: *** [configure] Error 1 # Because of problems with the different automakes, I decided to run "autogen.sh -1", but that also fails: # ./autogen.sh -1 Generating configuration files for ntop, please wait.... You should update your `aclocal.m4' by running aclocal. 1. acinclude.m4 .... done 2. aclocal.m4 ...... done configure.in:1146: error: m4_popdef: undefined macro: AC_Dest acgeneral.m4:3404: AC_CONFIG_FILES is expanded from... configure.in:1146: the top level autoconf: tracing failed 3. config.h.in ..... done 4. Makefile.in ..... done configure.in:1146: error: m4_popdef: undefined macro: AC_Dest acgeneral.m4:3404: AC_CONFIG_FILES is expanded from... configure.in:1146: the top level 5. configure ....... done # First I thought that it had something to do with the upgrade of SuSE, but when I try to build a recent snapshot on a machine with SuSE 7.3 installed, it *also* fails with precisely the same error. On that machine (the 7.3) the compilation of the 03Apr2002 snapshot does *not* have this problem. BTW, autoconf is identical on both SuSE 7.3 and SuSE 8.0 (version as well as the individual files, I checked both). Does anyone know what's wrong? BTW: why does the Makefile needs to run aclocal, automake, autoconf, et al. anyway? Isn't that the job of autogen.sh? It seems a bit silly that the generated (by configure) Makefile generates configure, or am I missing something here? -- Mike. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
