Nicolas it looks to me that your gnu tools have some issues. I am not familiar with your distribution but I believe you should fix these issues first and ntop will compile
Luca On Feb 2, 2013, at 5:27 PM, Nicolas Korten <[email protected]> wrote: > Hi, > Fist let me introduce myself, i am Nicolas Korten, im studying Information > and Communication technologies in Germany. > > i'm having some problems trying to install ntop on my NAS: > Ive installed ntop from the official (ArchLinux) repos and i can't access the > "info about hosts" page, so i decided to compile ntop from source. > > i have following dependencies installed: > > libtool 2.4.2 > automake 1.11.6 > autoconf 2.68 > m4 1.4.16-2.1 > > when i run autogen.sh i get this output: > > ////////////////////// OUTPUT > > [root@NAS ntop]# ./autogen.sh > > Starting ntop automatic configuration system v.0.2.3 > > Please be patient, there is a lot to do... > > 1. Testing gnu tools.... > libtool ..... 2.4.2 > .... ok > automake .... 1.11.6 > .... ok > autoconf .... 2.68 > .... ok > > 2. Preparing for libtool .... > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > Finding libtool.m4.in > .... found /usr/share/aclocal/libtool.m4 > .... done > > 3. Create acinclude.m4, local definitions for automake ... > .... done > > 4. Running aclocal to create aclocal.m4 ... > main::scan_file() called too early to check prototype at > /usr/local/bin/aclocal line 643. > acinclude.m4:238: the serial number must appear before any macro definition > aclocal: couldn't open directory '/usr/local/share/aclocal': No such file or > directory > .... done > > 5. Running autoheader to create config.h.in ... > configure.in:1024: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected > in body > ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... > ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... > ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... > configure.in:1024: the top level > autoheader: error: AC_CONFIG_HEADERS not found in configure.in > .... done > > 6. Running automake to create Makefile.in ... > configure.in:1024: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected > in body > ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... > ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... > ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... > configure.in:1024: the top level > configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. > configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, > configure.in: that aclocal.m4 is present in the top-level directory, > configure.in: and that aclocal.m4 was recently regenerated (using aclocal). > configure.in:119: installing `./config.guess' > plugins/Makefile.am:49: Libtool library used but `LIBTOOL' is undefined > plugins/Makefile.am:49: The usual way to define `LIBTOOL' is to add > `LT_INIT' > plugins/Makefile.am:49: to `configure.in' and run `aclocal' and `autoconf' > again. > plugins/Makefile.am:49: If `LT_INIT' is in `configure.in', make sure > plugins/Makefile.am:49: its definition is in aclocal's search path. > /usr/local/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/local/share/automake-1.11/am/depend2.am: The usual way to define > `am__fastdepCC' is to add `AC_PROG_CC' > /usr/local/share/automake-1.11/am/depend2.am: to `configure.in' and run > `aclocal' and `autoconf' again. > /usr/local/share/automake-1.11/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL > /usr/local/share/automake-1.11/am/depend2.am: The usual way to define > `AMDEP' is to add one of the compiler tests > /usr/local/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/local/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC > /usr/local/share/automake-1.11/am/depend2.am: to `configure.in' and run > `aclocal' and `autoconf' again. > Makefile.am:121: Libtool library used but `LIBTOOL' is undefined > Makefile.am:121: The usual way to define `LIBTOOL' is to add `LT_INIT' > Makefile.am:121: to `configure.in' and run `aclocal' and `autoconf' again. > Makefile.am:121: If `LT_INIT' is in `configure.in', make sure > Makefile.am:121: its definition is in aclocal's search path. > Makefile.am:112: compiling `main.c' with per-target flags requires > `AM_PROG_CC_C_O' in `configure.in' > .... done > > 7. Running autoconf to create configure ... > configure.in:1024: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected > in body > ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... > ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... > ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... > configure.in:1024: the top level > configure.in:59: error: possibly undefined macro: AM_CONFIG_HEADER > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.in:127: error: possibly undefined macro: AM_INIT_AUTOMAKE > configure.in:161: error: possibly undefined macro: AM_ENABLE_SHARED > configure.in:162: error: possibly undefined macro: AM_PROG_LIBTOOL > configure.in:327: error: possibly undefined macro: AM_PROG_CC_STDC > configure.in:1070: error: possibly undefined macro: AC_CHECK_TYPEDEF > .... done > > mkdir: cannot create directory ‘m4’: File exists > 8. Running ./configure ... > I am going to run ./configure with no arguments > if you wish to pass any to it, please specify them on the ./autogen.sh > command line. > ./configure: line 2327: syntax error near unexpected token `config.h' > ./configure: line 2327: `AM_CONFIG_HEADER(config.h)' > > ////////////////////////////// END OUTPUT > > i have tried to run the script as a different user, but it didn't work too. > > it's the newest source direct from SVN, tried 5.0.1 from download site too, > same results. > > does anyone had the same problems? what am i doing wrong? > > Thank You, have a nice Weekend, > > Nicolas Korten > > > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
