I downloaded  the source from sourceforge.net, the version is ntop-3.3.10.

Thanks! 
Eddie
--------------------

Where did you get the source?
________________________________

From: ntop-bounces at unipi.it 
To: ntop at unipi.it 
Sent: Wed Jun 24 05:22:29 2009
Subject: Re: [Ntop] Re? ntop 3.3.10 compilation error 


Hi,
My autogen.sh is below, Thanks!
======================================
Starting ntop automatic configuration system v.0.2.3
  Please be patient, there is a lot to do...
1. Testing gnu tools....
    libtool ..... 2.2.4
        .... ok
    automake .... 1.10.1
        .... ok
    autoconf .... 2.63
        .... 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'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
        .... done
3. Create acinclude.m4, local definitions for automake ...
        .... done
4. Running aclocal to create aclocal.m4 ...
acinclude.m4:236: the serial number must appear before any macro definition
configure.in:169: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTVERSION_VERSION is m4_require'd but not
m4_defun'd
configure.in:169: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done
5. Running autoheader to create config.h.in ...
configure.in:169: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done
6. Running automake to create Makefile.in ...
configure.in:169: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is
expanded from...
configure.in:169: the top level
configure.in:169: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure.in:105: installing `./config.guess'
configure.in:105: installing `./config.sub'
Makefile.am:121: 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:169: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:169: warning: LTVERSION_VERSION is
m4_require'd but not m4_defun'd
configure.in:169: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:5229: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:8103: error: possibly undefined macro: _LT_SET_OPTIONS
configure:8103: error: possibly undefined macro: LT_INIT
        .... done
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.
Welcome to ntop, Version 3.3.10
  copyright (c) 1998-2009 Luca Deri <deri at ntop.org>
Configuration script version
v3.3.10-06-01-2009
************************************************************************
*                                                                      *
* NOTICE:  I know you're used to ignoring output from ./configure     
*
*                                                                      *
*          ntop has a lot of complexity and interdependences.         
*
*                                                                      *
*          Please, please AT LEAST read the stuff in these boxes!     
*
*                                                                      *
*>>> The ACTION taken by ./configure is shown prefixed with '>>>'      *
*                                                                     
*
*    If that ACTION is unacceptable,                                   *
*??? Steps to take to fix the problem are shown, prefixed with '???'   *
*                                                                      *
************************************************************************
NOTE:
       To enable additional, debugging messages during the
./configure
       execution, do this before running ./configure:
$ export NTOPCONFIGDEBUG=yes

Configuring ntop according to your request(s):
   ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files...
o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
./configure: line 5147: LTOPTIONS_VERSION: command not found
./configure: line 5148: LTSUGAR_VERSION: command not found
./configure: line 5149: LTVERSION_VERSION: command not found
./configure: line 5150: LTOBSOLETE_VERSION: command not found
checking for a
sed that does not truncate output... /bin/sed
./configure: line 5227: syntax error near unexpected token `lt_decl_varnames,'
./configure: line 5227: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'


Could you post the whole autogen.sh output?
Yuri

On 06/24/2009 10:01 AM, Chor Keung Li wrote:
>Hi all,
>  
>Anyone have idea on the error, I'm still struggling on it.
>Thanks!
>
>------------------------------------------------------------------------
>*寄件人﹕* Chor Keung Li <ckat512 at yahoo.com.hk 
><http://listgateway.unipi.it/mailman/listinfo/ntop> >
>*收件人* ntop at unipi.it <http://listgateway.unipi.it/mailman/listinfo/ntop> 
>*傳送日期﹕* 2009 年 6月 23 日 星期二 上午 11:33:36
>*主題:* ntop 3.3.10 compilation error
>
>Dear list,
>  
>The problem is when I compiled the ntop 3.3.10, I got the following
>error while running the autogen.sh. I have spent over 1 week to figure
>out what was happened, but no answer. Appreciated if you could give me
>some hints on it.
>
>  
>
>./configure: line 5147: LTOPTIONS_VERSION: command not found
>
>./configure: line 5148: LTSUGAR_VERSION: command not found
>
>./configure: line 5149: LTVERSION_VERSION: command not found
>
>./configure: line 5150: LTOBSOLETE_VERSION: command not found
>
>checking for a sed that does not truncate output... /bin/sed
>
>./configure: line 5227: syntax error near unexpected token
>`lt_decl_varnames,'
>
>./configure: line 5227: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'
>
>  
>
>  
>
>Regards,
>
>  
>
>Eddie Li


      Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to