Opened 12 years ago

Closed 12 years ago

#19675 closed defect (fixed)

ntop fails to install

Reported by: richardosborn@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: ntop

Description

I am on a MBP running 10.5.6

sudo port -v install ntop
--->  Fetching ntop
--->  ntop-3.3.9.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/ntop
--->  Attempting to fetch ntop-3.3.9.tar.gz from http://downloads.sourceforge.net/ntop
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4839k  100 4839k    0     0   351k      0  0:00:13  0:00:13 --:--:--  371k
--->  Verifying checksum(s) for ntop
--->  Checksumming ntop-3.3.9.tar.gz
--->  Extracting ntop
--->  Extracting ntop-3.3.9.tar.gz
--->  Applying patches to ntop
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ntop/files/patch-external-geoip.diff
patching file configure.in
Hunk #1 succeeded at 1887 (offset 4 lines).
Hunk #2 succeeded at 2052 (offset 4 lines).
patching file initialize.c
patching file Makefile.am
--->  Configuring ntop

Starting ntop automatic configuration system v.0.2.3

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

....Adding fix for OSX
1. Testing gnu tools....
    libtool ..... 2.2.6
        .... ok
    automake .... 1.10.2
        .... ok
    autoconf .... 2.63
        .... ok

2. Preparing for libtool ....
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: You should add the contents of the following files to `aclocal.m4':
glibtoolize:   `/opt/local/share/aclocal/libtool.m4'
glibtoolize:   `/opt/local/share/aclocal/ltoptions.m4'
glibtoolize:   `/opt/local/share/aclocal/ltversion.m4'
glibtoolize:   `/opt/local/share/aclocal/ltsugar.m4'
glibtoolize:   `/opt/local/share/aclocal/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    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 ...
acinclude.m4:206: the serial number must appear before any macro definition
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:811: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5011: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2847: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2846: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6511: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:856: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:2928: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2927: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:1983: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4095: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4094: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4197: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4196: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
        .... done

5. Running autoheader to create config.h.in ...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:811: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5011: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2847: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2846: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6511: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:856: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:2928: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2927: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:1983: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4095: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4094: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4197: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4196: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
        .... done

6. Running automake to create Makefile.in ...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:811: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5011: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2847: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2846: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6511: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:856: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:2928: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2927: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:1983: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4095: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4094: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4197: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4196: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:105: installing `./config.guess'
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 ...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:811: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5011: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2847: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2846: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6511: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:856: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:2928: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2927: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:1983: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4095: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4094: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4197: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4196: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
        .... done

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

configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:811: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5011: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2847: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2846: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6511: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:856: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:2928: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2927: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:1983: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4095: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4094: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:4197: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4196: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
configure: WARNING: unrecognized options: --with-localedir

Welcome to ntop, Version 3.3.9 
  copyright (c) 1998-2008 Luca Deri <deri@ntop.org>

Configuration script version v3.3.9-06-11-2008

************************************************************************
*                                                                      *
* 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 --prefix=/opt/local --mandir=/opt/local/share/man --with-localedir=/opt/local/share/locale --with-rrd-home=/opt/local

checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc-4.0
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 /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for gcc... (cached) /usr/bin/gcc-4.0
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc-4.0... (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
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.0 accepts -g... yes
checking dependency style of /usr/bin/g++-4.0... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for aclocal.m4... yes
checking for depcomp... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required

Checking C compiler program and features...

checking for gcc... (cached) /usr/bin/gcc-4.0
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3

*******************************************************************
*
* Checking for unique options for i386-apple-darwin9.6.0, /usr/bin/gcc-4.0...
*
* This appears to be DARWIN (MacOSX)
*
*   Testing for extra configuration options for DARWIN  
*
*    Executing configureextra/DARWIN
        Setting Darwin (Mac OS X) specific flag values
*
*******************************************************************

Test the compiler and setup CFLAGS...

checking if compiler accepts -g (debugging information)... yes
checking if compiler accepts -W (warning flags)... yes

Critical library/include tests...

found in standard OSX installation
checking for pcap_next_ex in -lpcap... yes
checking for gdbm... 
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking for pcre_refcount in -lpcre... yes

-------------------------------------------------------------------

   **Handling your --enable and --disable requests**


SSL?
    ...(Default) Requested if available. Disable via ./configure command line option --without-ssl.
  sslv3?
    ...(Default) Disabled. Request via ./configure command line option --enable-sslv3
  ssl watchdog?
    ...(Default) Disabled. Request via ./configure command line option  --enable-sslwatchdog
                                    or ntop run time option --ssl-watchdog.

TCP Wrappers?
    ...(Default) Disabled. Request via ./configure command line option --with-tcpwrap.

Plugins?
    ...(Default) Requested. Disable via ./configure command line option --disable-plugins.

Jumbo (9k) Ethernet Frames?
    ...(Default) Disabled. Request via ./configure command line option --enable-jumbo-frames.

Processing the rest of the ROOT/DIRECTORY entries


*******************************************************************
*
* WARNING:  You specified a non-existent directory for locale files
*                  --with-localedir=/usr/lib/locale
*
*>>> Since we just pass this through to the run-time, we're only
*>>> going to warn you here, but ntop might or might not function
*>>> as expected.
*
*???     1. Correct the --with-localedir option and rerun
*???        ./configure
*
*******************************************************************

checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for inline... inline
checking whether char is unsigned... no
checking for long double with more range or precision than double... yes
checking whether byte ordering is bigendian... no

Testing headers and functions...

checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for unistd.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking for zlibVersion in -lz... yes
checking for RRD home... yes
checking for rrdtool... yes
checking for net/if.h... yes
checking net/if_dl.h usability... yes
checking net/if_dl.h presence... yes
checking for net/if_dl.h... yes
checking for netinet/if_ether.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_icmp.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for netinet/udp.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for net/if_dl.h... (cached) yes
checking for sys/sysctl.h... yes
checking for net/route.h... yes
checking ethertype.h usability... no
checking ethertype.h presence... no
checking for ethertype.h... no
checking net/ppp_defs.h usability... no
checking net/ppp_defs.h presence... no
checking for net/ppp_defs.h... no
checking for linux/if_pppox.h... no
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for SSLeay_version in -lcrypto... yes
checking for SSL_accept in -lssl... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking for shadow.h... (cached) no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for dlfcn.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking if.h usability... no
checking if.h presence... no
checking for if.h... no
checking for inttypes.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/ldr.h usability... no
checking sys/ldr.h presence... no
checking for sys/ldr.h... no
checking for sys/param.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for sys/stat.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/wait.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/sched.h usability... no
checking sys/sched.h presence... no
checking for sys/sched.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking ip6.h usability... no
checking ip6.h presence... no
checking for ip6.h... no
checking icmp6.h usability... no
checking icmp6.h presence... no
checking for icmp6.h... no
checking for netinet/ip6.h... yes
checking for netinet/icmp6.h... yes
checking for sysctl... yes
checking for finite... yes
checking for isinf... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for typedef u_int64_t... yes
checking for typedef uint64_t... no
checking for typedef u_int32_t... yes
checking for typedef u_int16_t... yes
checking for typedef u_int8_t... yes
checking for typedef int64_t... yes
checking for typedef int32_t... yes
checking for typedef int16_t... yes
checking for typedef int8_t... yes
checking trivial compile... ok
checking for backtrace in -lc... yes
checking for crypt in -lc... yes
checking for crypt_get_format_get_format in -lc... no
checking for crypt_get_format in -lcrypt... no
checking for getopt_long in -lc... yes
checking for dlopen in -lc... yes
checking for dladdr (GNU extension)... yes
checking for sin in -lc... yes
checking for ceil in -lc... yes
checking for pthread_create in -lpthread... yes
checking for sem_init in -lposix4... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether /usr/bin/gcc-4.0 needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for alarm... yes
checking for endpwent... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gethostbyaddr_r... no
checking for getipnodebyaddr... yes
checking for getpass... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memset... yes
checking for putenv... yes
checking for sched_yield... yes
checking for select... yes
checking for socket... yes
checking for snprintf... yes
checking for sqrtf... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcasestr... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strsignal... yes
checking for strspn... yes
checking for strstr... yes
checking for strtoul... yes
checking for uname... yes
checking for strtok_r... yes

Now, let's check for problems with what we've found...

   Testing Required libraries and headers**

checking for required C headers... ok
checking for crypt... ok
checking for dynamic load module... skipping - ntop emulates function in ntop_darwin.c

-------------------------------------------------------------------

   **Testing Optional libraries and headers**

checking for Multithreading... ok
checking for openSSL... ok
checking for zlib... ok
checking for perl... perl
checking whether perl development environment is present... yes
checking sctp... no
checking pthread_atfork... yes

Miscelaneous settings...

checking for gcc backtrace... found - automatic SIGSEGV backtrace enabled via -K
checking for gcc getopt_long... found - long command line options are enabled
checking for facilitynames - define SYSLOG_NAMES option... available
checking if ether_header uses ether_addr structs... no
checking if in6_addr is defined for sFlowPlugin... yes

-------------------------------------------------------------------

Removing dups and misplaced entries from LIBS and INCS...

Testing for special final configuration options for DARWIN  

===================================================================

This is your ntop 3.3.9 configuration:

Host System Type        : i386-apple-darwin9.6.0
Preprocessor (cppflags) : -I/opt/local/include -DDARWIN -I/usr/local/include -I/opt/local/include
Compiler (cflags)       : /usr/bin/gcc-4.0 -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fno-common -DPIC
Defines                 : -DHAVE_CONFIG_H
Loader (ldflags)        : -L/opt/local/lib -L/usr/local/lib -L/opt/local/lib -lGeoIP
Include path            : 
System Libs             : -lpthread -lc -lssl -lcrypto -lpcre -lgdbm -lz 
Locale                  : /usr/lib/locale

External packages:

LBL pcap .h             : standard system headers
LBL pcap library        : standard system libraries
GNU gdbm .h             : standard system headers
GNU gdbm library        : standard system libraries
zlib     .h             : standard system headers
zlib     library        : standard system libraries
openSSL  .h             : standard system headers
openSSL  library        : standard system libraries

Install directories:

    Default prefix: /usr/local
    Install into:   /opt/local (default or via --prefix request)

    Data files are in     /opt/local/share/ntop
    Config files are in   /opt/local/etc/ntop
    Run directory is      /opt/local/var/ntop
    Plugin files are in   /opt/local/lib/ntop/plugins
    Database files are in /opt/local/var/ntop

-------------------------------------------------------------------

Creating files...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-localedir

version.c...


Copying patched versions of some configure-related files for Mac OS X


===================================================================


*******************************************************************
*
* NOTE: ./configure is now complete!
*
*       All of the obviously FATAL errors would cause you to
*       abort before this point, so while you SHOULD scroll
*       back and check for error/warning/note messages,
*       you probably will not...
*
++
++    If you like ntop, please do not forget to support its
++    development. See SUPPORT_NTOP.txt for more information.
++
++              Thanks for supporting ntop!
++
*
* NEXT STEP(S):
*
*>>>>  A WARNING message was generated - please review the
*>>>>  output before continuing to make ntop!
*
*    Building ntop requires GNU Make, so to build ntop, type
*    'make' (or on *BSD and Solaris systems, 'gmake')
*
*******************************************************************

--->  Building ntop
gnumake  all-recursive
Making all in .
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include  -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE  -I/opt/local/include  -I/opt/local/include -DDARWIN -I/usr/local/include -I/opt/local/include  -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo address.c
mkdir .libs
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -I/opt/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -I/opt/local/include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c address.c  -fno-common -DPIC -o .libs/address.o
In file included from address.c:21:
ntop.h:413:19: error: GeoIP.h: No such file or directory
ntop.h:414:23: error: GeoIPCity.h: No such file or directory
In file included from ntop.h:503,
                 from address.c:21:
globals-structtypes.h:851: error: syntax error before 'GeoIPRecord'
globals-structtypes.h:851: warning: no semicolon at end of struct or union
globals-structtypes.h:921: error: syntax error before '}' token
globals-structtypes.h:921: warning: data definition has no type or storage class
globals-structtypes.h:926: error: syntax error before 'HostTraffic'
globals-structtypes.h:926: warning: no semicolon at end of struct or union
globals-structtypes.h:934: error: syntax error before '}' token
globals-structtypes.h:934: warning: data definition has no type or storage class
globals-structtypes.h:971: error: syntax error before 'HostTraffic'
globals-structtypes.h:971: warning: no semicolon at end of struct or union
globals-structtypes.h:974: error: syntax error before '*' token
globals-structtypes.h:974: warning: data definition has no type or storage class
globals-structtypes.h:980: error: conflicting types for 'pktSent'
globals-structtypes.h:862: error: previous declaration of 'pktSent' was here
globals-structtypes.h:980: error: conflicting types for 'pktRcvd'
globals-structtypes.h:862: error: previous declaration of 'pktRcvd' was here
globals-structtypes.h:1009: error: conflicting types for 'next'
globals-structtypes.h:920: error: previous declaration of 'next' was here
globals-structtypes.h:1010: error: syntax error before '}' token
globals-structtypes.h:1010: warning: data definition has no type or storage class
globals-structtypes.h:1018: error: syntax error before 'HostTraffic'
globals-structtypes.h:1018: warning: no semicolon at end of struct or union
globals-structtypes.h:1020: error: syntax error before '*' token
globals-structtypes.h:1020: warning: data definition has no type or storage class
globals-structtypes.h:1023: error: conflicting types for 'firstSeen'
globals-structtypes.h:978: error: previous declaration of 'firstSeen' was here
globals-structtypes.h:1024: error: conflicting types for 'lastSeen'
globals-structtypes.h:979: error: previous declaration of 'lastSeen' was here
globals-structtypes.h:1025: error: conflicting types for 'pktSent'
globals-structtypes.h:862: error: previous declaration of 'pktSent' was here
globals-structtypes.h:1025: error: conflicting types for 'pktRcvd'
globals-structtypes.h:862: error: previous declaration of 'pktRcvd' was here
globals-structtypes.h:1048: error: conflicting types for 'next'
globals-structtypes.h:920: error: previous declaration of 'next' was here
globals-structtypes.h:1049: error: syntax error before '}' token
globals-structtypes.h:1049: warning: data definition has no type or storage class
globals-structtypes.h:1052: error: syntax error before 'HostTraffic'
globals-structtypes.h:1052: warning: no semicolon at end of struct or union
globals-structtypes.h:1055: error: syntax error before '}' token
globals-structtypes.h:1055: warning: data definition has no type or storage class
globals-structtypes.h:1348: error: syntax error before 'HostTraffic'
globals-structtypes.h:1348: warning: no semicolon at end of struct or union
globals-structtypes.h:1363: error: syntax error before '}' token
globals-structtypes.h:1363: warning: data definition has no type or storage class
globals-structtypes.h:1449: error: syntax error before 'HostTraffic'
globals-structtypes.h:1449: warning: no semicolon at end of struct or union
globals-structtypes.h:1458: error: syntax error before '}' token
globals-structtypes.h:1458: warning: data definition has no type or storage class
globals-structtypes.h:1628: error: syntax error before 'IPSession'
globals-structtypes.h:1628: warning: no semicolon at end of struct or union
globals-structtypes.h:1641: error: syntax error before '*' token
globals-structtypes.h:1641: warning: data definition has no type or storage class
globals-structtypes.h:1642: error: syntax error before '*' token
globals-structtypes.h:1642: warning: data definition has no type or storage class
globals-structtypes.h:1648: error: syntax error before 'networkHost'
globals-structtypes.h:1648: warning: data definition has no type or storage class
globals-structtypes.h:1649: error: syntax error before '}' token
globals-structtypes.h:1649: warning: data definition has no type or storage class
globals-structtypes.h:1768: error: syntax error before '*' token
globals-structtypes.h:2194: error: syntax error before 'NtopInterface'
globals-structtypes.h:2194: warning: no semicolon at end of struct or union
globals-structtypes.h:2200: error: syntax error before '*' token
globals-structtypes.h:2200: warning: data definition has no type or storage class
globals-structtypes.h:2203: error: syntax error before '*' token
globals-structtypes.h:2203: warning: data definition has no type or storage class
globals-structtypes.h:2367: error: conflicting types for 'ipProtosList'
globals-structtypes.h:910: error: previous declaration of 'ipProtosList' was here
globals-structtypes.h:2432: error: syntax error before '*' token
globals-structtypes.h:2432: warning: data definition has no type or storage class
globals-structtypes.h:2499: error: syntax error before '*' token
globals-structtypes.h:2499: warning: data definition has no type or storage class
globals-structtypes.h:2501: error: syntax error before '}' token
globals-structtypes.h:2501: warning: data definition has no type or storage class
In file included from ntop.h:511,
                 from address.c:21:
globals-core.h:30: error: syntax error before 'myGlobals'
globals-core.h:30: warning: data definition has no type or storage class
globals-core.h:99: error: syntax error before '*' token
globals-core.h:154: error: syntax error before '*' token
globals-core.h:158: error: syntax error before '*' token
globals-core.h:160: warning: declaration of 'known_subnet_id' shadows a global declaration
globals-structtypes.h:928: warning: shadowed declaration is here
globals-core.h:161: error: syntax error before '*' token
globals-core.h:162: error: syntax error before '*' token
globals-core.h:163: error: syntax error before '*' token
globals-core.h:184: warning: declaration of 'sessionState' shadows a global declaration
globals-structtypes.h:1046: warning: shadowed declaration is here
globals-core.h:196: error: syntax error before '*' token
globals-core.h:196: error: syntax error before '*' token
globals-core.h:196: warning: data definition has no type or storage class
globals-core.h:200: error: syntax error before 'HostTraffic'
globals-core.h:202: error: syntax error before 'HostTraffic'
globals-core.h:203: error: syntax error before '*' token
globals-core.h:205: error: syntax error before 'HostTraffic'
globals-core.h:207: error: syntax error before '*' token
globals-core.h:208: error: syntax error before '*' token
globals-core.h:211: warning: data definition has no type or storage class
globals-core.h:213: error: syntax error before '*' token
globals-core.h:214: warning: data definition has no type or storage class
globals-core.h:227: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:250: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:382: error: syntax error before '*' token
globals-core.h:383: error: syntax error before 'HostTraffic'
globals-core.h:391: error: syntax error before '*' token
globals-core.h:392: warning: declaration of 'sport' shadows a global declaration
globals-structtypes.h:973: warning: shadowed declaration is here
globals-core.h:392: warning: declaration of 'dport' shadows a global declaration
globals-structtypes.h:977: warning: shadowed declaration is here
globals-core.h:393: error: syntax error before '*' token
globals-core.h:395: error: syntax error before '*' token
globals-core.h:400: error: syntax error before '*' token
globals-core.h:402: error: syntax error before '*' token
globals-core.h:416: error: syntax error before '*' token
globals-core.h:419: error: syntax error before '*' token
globals-core.h:422: error: syntax error before '*' token
globals-core.h:433: error: syntax error before '*' token
globals-core.h:457: error: syntax error before '*' token
globals-core.h:458: error: syntax error before '*' token
globals-core.h:459: error: syntax error before '*' token
globals-core.h:466: error: syntax error before '*' token
globals-core.h:494: error: syntax error before '*' token
globals-core.h:494: warning: data definition has no type or storage class
globals-core.h:496: error: syntax error before '*' token
globals-core.h:496: error: syntax error before 'HostTraffic'
globals-core.h:496: warning: data definition has no type or storage class
globals-core.h:501: error: syntax error before '*' token
globals-core.h:501: warning: data definition has no type or storage class
globals-core.h:502: error: syntax error before '*' token
globals-core.h:502: warning: data definition has no type or storage class
globals-core.h:503: error: syntax error before '*' token
globals-core.h:503: warning: data definition has no type or storage class
globals-core.h:504: error: syntax error before '*' token
globals-core.h:504: warning: data definition has no type or storage class
globals-core.h:520: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:526: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:529: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:536: warning: declaration of 'sport' shadows a global declaration
globals-structtypes.h:973: warning: shadowed declaration is here
globals-core.h:536: warning: declaration of 'dport' shadows a global declaration
globals-structtypes.h:977: warning: shadowed declaration is here
globals-core.h:537: warning: declaration of 'sport' shadows a global declaration
globals-structtypes.h:973: warning: shadowed declaration is here
globals-core.h:537: warning: declaration of 'dport' shadows a global declaration
globals-structtypes.h:977: warning: shadowed declaration is here
globals-core.h:545: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:551: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:557: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:590: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:601: error: syntax error before '*' token
globals-core.h:629: error: syntax error before '*' token
globals-core.h:631: error: syntax error before '*' token
globals-core.h:634: error: syntax error before '*' token
globals-core.h:636: error: syntax error before '*' token
globals-core.h:652: error: syntax error before '*' token
globals-core.h:663: error: syntax error before '*' token
globals-core.h:671: error: syntax error before '*' token
globals-core.h:672: error: syntax error before '*' token
globals-core.h:673: error: syntax error before '*' token
globals-core.h:673: warning: data definition has no type or storage class
globals-core.h:704: error: syntax error before '*' token
globals-core.h:707: error: syntax error before 'HostTraffic'
globals-core.h:711: error: syntax error before '*' token
globals-core.h:723: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:725: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:726: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:727: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
globals-core.h:740: warning: declaration of 'sport' shadows a global declaration
globals-structtypes.h:973: warning: shadowed declaration is here
globals-core.h:740: warning: declaration of 'dport' shadows a global declaration
globals-structtypes.h:977: warning: shadowed declaration is here
globals-core.h:742: warning: declaration of 'sport' shadows a global declaration
globals-structtypes.h:973: warning: shadowed declaration is here
globals-core.h:742: warning: declaration of 'dport' shadows a global declaration
globals-structtypes.h:977: warning: shadowed declaration is here
globals-core.h:744: error: syntax error before '*' token
globals-core.h:748: error: syntax error before '*' token
globals-core.h:804: error: syntax error before '*' token
globals-core.h:805: error: syntax error before '*' token
globals-core.h:816: error: syntax error before '*' token
globals-core.h:821: error: syntax error before '*' token
globals-core.h:828: error: syntax error before '*' token
globals-core.h:830: error: syntax error before '*' token
globals-core.h:833: error: syntax error before '*' token
globals-core.h:835: error: syntax error before '*' token
globals-core.h:836: error: syntax error before '*' token
globals-core.h:838: error: syntax error before 'HostTraffic'
globals-core.h:844: warning: data definition has no type or storage class
globals-core.h:845: error: syntax error before 'HostTraffic'
globals-core.h:846: error: syntax error before '*' token
globals-core.h:847: error: syntax error before '*' token
globals-core.h:854: error: syntax error before '*' token
globals-core.h:855: error: syntax error before '*' token
globals-core.h:857: error: syntax error before 'HostTraffic'
globals-core.h:861: warning: data definition has no type or storage class
globals-core.h:865: error: syntax error before 'HostTraffic'
globals-core.h:869: error: syntax error before 'HostTraffic'
globals-core.h:885: error: syntax error before '*' token
In file included from ntop.h:573,
                 from address.c:21:
iface.h:447: warning: declaration of 'deviceId' shadows a global declaration
globals-structtypes.h:1022: warning: shadowed declaration is here
address.c: In function 'updateDeviceHostNameInfo':
address.c:46: error: 'el' undeclared (first use in this function)
address.c:46: error: (Each undeclared identifier is reported only once
address.c:46: error: for each function it appears in.)
address.c:48: error: request for member 'ntopRunState' in something not a structure or union
address.c: In function 'updateHostNameInfo':
address.c:80: error: request for member 'numDevices' in something not a structure or union
address.c:81: error: request for member 'device' in something not a structure or union
address.c: In function 'resolveAddress':
address.c:129: error: request for member 'ntopRunState' in something not a structure or union
address.c:131: error: request for member 'numResolveAddressCalls' in something not a structure or union
address.c:144: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:148: error: request for member 'numResolveNoCacheDB' in something not a structure or union
address.c:152: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:154: error: request for member 'numResolveCacheDBLookups' in something not a structure or union
address.c:158: error: request for member 'actTime' in something not a structure or union
address.c:180: error: request for member 'numResolvedFromCache' in something not a structure or union
address.c:205: error: request for member 'ntopRunState' in something not a structure or union
address.c:280: error: request for member 'numAttemptingResolutionWithDNS' in something not a structure or union
address.c:356: error: request for member 'runningPref' in something not a structure or union
address.c:357: error: request for member 'runningPref' in something not a structure or union
address.c:359: error: request for member 'runningPref' in something not a structure or union
address.c:373: error: request for member 'numResolvedWithDNSAddresses' in something not a structure or union
address.c:376: error: request for member 'numKeptNumericAddresses' in something not a structure or union
address.c:400: error: request for member 'numDNSErrorHostNotFound' in something not a structure or union
address.c:403: error: request for member 'numDNSErrorHostNotFound' in something not a structure or union
address.c:406: error: request for member 'numDNSErrorNoData' in something not a structure or union
address.c:409: error: request for member 'numDNSErrorNoRecovery' in something not a structure or union
address.c:412: error: request for member 'numDNSErrorTryAgain' in something not a structure or union
address.c:416: error: request for member 'numDNSErrorOther' in something not a structure or union
address.c:435: error: request for member 'numKeptNumericAddresses' in something not a structure or union
address.c:467: error: request for member 'actTime' in something not a structure or union
address.c:485: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:492: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:501: error: request for member 'dnsCacheStoredLookup' in something not a structure or union
address.c: In function 'queueAddress':
address.c:525: error: request for member 'runningPref' in something not a structure or union
address.c:533: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:533: error: request for member 'numDevices' in something not a structure or union
address.c:571: error: request for member 'addressQueueFile' in something not a structure or union
address.c:574: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:575: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:575: error: request for member 'addressQueuedCount' in something not a structure or union
address.c:576: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:576: error: request for member 'addressQueuedMax' in something not a structure or union
address.c:577: error: request for member 'addressQueuedMax' in something not a structure or union
address.c:577: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:578: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:594: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:595: error: request for member 'addressQueuedMax' in something not a structure or union
address.c:598: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:599: error: request for member 'addressQueuedDup' in something not a structure or union
address.c:600: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:608: error: request for member 'queueAddressCondvar' in something not a structure or union
address.c: In function 'purgeQueuedV4HostAddress':
address.c:636: error: request for member 'addressQueueFile' in something not a structure or union
address.c:637: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:638: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:638: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:639: error: request for member 'queueAddressMutex' in something not a structure or union
address.c: In function 'dequeueAddress':
address.c:655: error: request for member 'ntopRunState' in something not a structure or union
address.c:660: error: request for member 'queueAddressCondvar' in something not a structure or union
address.c:662: error: request for member 'ntopRunState' in something not a structure or union
address.c:668: error: request for member 'addressQueueFile' in something not a structure or union
address.c:673: error: request for member 'ntopRunState' in something not a structure or union
address.c:700: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:701: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:701: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:702: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:704: error: request for member 'addressQueueFile' in something not a structure or union
address.c:706: error: request for member 'addressQueueFile' in something not a structure or union
address.c:711: error: request for member 'dequeueAddressThreadId' in something not a structure or union
address.c: In function 'fetchAddressFromCache':
address.c:853: error: request for member 'numFetchAddressFromCacheCalls' in something not a structure or union
address.c:864: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:866: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:881: error: request for member 'actTime' in something not a structure or union
address.c:882: error: request for member 'numFetchAddressFromCacheCallsOK' in something not a structure or union
address.c:885: error: request for member 'numFetchAddressFromCacheCallsSTALE' in something not a structure or union
address.c:891: error: request for member 'numFetchAddressFromCacheCallsFAIL' in something not a structure or union
address.c: In function 'ipaddr2str':
address.c:924: error: request for member 'numipaddr2strCalls' in something not a structure or union
address.c: At top level:
address.c:1415: error: syntax error before '*' token
address.c: In function 'setHostName':
address.c:1416: error: 'name' undeclared (first use in this function)
address.c:1417: error: 'srcHost' undeclared (first use in this function)
address.c: At top level:
address.c:1425: error: syntax error before '*' token
address.c: In function 'handleMdnsName':
address.c:1427: error: 'mdns_name' undeclared (first use in this function)
address.c:1461: error: 'srcHost' undeclared (first use in this function)
address.c: At top level:
address.c:1490: error: syntax error before '*' token
address.c:1495: warning: no previous prototype for 'handleDNSpacket'
address.c: In function 'handleDNSpacket':
address.c:1516: warning: declaration of 'flags' shadows a global declaration
globals-structtypes.h:861: warning: shadowed declaration is here
address.c:1519: error: 'ipPtr' undeclared (first use in this function)
address.c:1533: error: 'length' undeclared (first use in this function)
address.c:1539: error: 'isRequest' undeclared (first use in this function)
address.c:1540: error: 'positiveReply' undeclared (first use in this function)
address.c:1575: error: 'hostPtr' undeclared (first use in this function)
address.c:1652: error: 'srcHost' undeclared (first use in this function)
address.c: At top level:
address.c:1820: error: syntax error before '*' token
address.c:1820: warning: no previous prototype for 'checkSpoofing'
address.c: In function 'checkSpoofing':
address.c:1821: error: 'el' undeclared (first use in this function)
address.c:1823: error: 'actualDeviceId' undeclared (first use in this function)
address.c:1826: error: 'hostToCheck' undeclared (first use in this function)
address.c:1833: error: request for member 'runningPref' in something not a structure or union
address.c: At top level:
address.c:1847: warning: declaration of 'known_subnet_id' shadows a global declaration
globals-structtypes.h:928: warning: shadowed declaration is here
address.c: In function 'subnetId2networkName':
address.c:1853: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1856: error: request for member 'subnetStats' in something not a structure or union
address.c:1860: error: request for member 'subnetStats' in something not a structure or union
address.c: At top level:
address.c:1868: error: syntax error before '*' token
address.c:1868: warning: no previous prototype for 'host2networkName'
address.c: In function 'host2networkName':
address.c:1869: error: 'buf' undeclared (first use in this function)
address.c:1871: error: 'el' undeclared (first use in this function)
address.c:1873: error: 'buf_len' undeclared (first use in this function)
address.c: At top level:
address.c:1891: error: syntax error before '*' token
address.c:1891: warning: no previous prototype for 'addDeviceNetworkToKnownSubnetList'
address.c: In function 'addDeviceNetworkToKnownSubnetList':
address.c:1894: error: 'device' undeclared (first use in this function)
address.c:1896: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1897: error: request for member 'subnetStats' in something not a structure or union
address.c:1898: error: request for member 'subnetStats' in something not a structure or union
address.c:1903: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1905: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1908: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1909: error: request for member 'subnetStats' in something not a structure or union
address.c:1910: error: request for member 'subnetStats' in something not a structure or union
address.c:1911: error: request for member 'subnetStats' in something not a structure or union
address.c:1912: error: request for member 'subnetStats' in something not a structure or union
address.c:1913: error: request for member 'numKnownSubnets' in something not a structure or union
address.c: At top level:
address.c:1919: error: syntax error before '*' token
address.c:1919: warning: no previous prototype for 'updateHostKnownSubnet'
address.c: In function 'updateHostKnownSubnet':
address.c:1922: error: 'el' undeclared (first use in this function)
address.c:1924: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1925: error: request for member 'subnetStats' in something not a structure or union
address.c:1926: error: request for member 'subnetStats' in something not a structure or union
gnumake[2]: *** [address.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/work/ntop-3.3.9" && gnumake all " returned error 2
Command output: address.c:1869: error: 'buf' undeclared (first use in this function)
address.c:1871: error: 'el' undeclared (first use in this function)
address.c:1873: error: 'buf_len' undeclared (first use in this function)
address.c: At top level:
address.c:1891: error: syntax error before '*' token
address.c:1891: warning: no previous prototype for 'addDeviceNetworkToKnownSubnetList'
address.c: In function 'addDeviceNetworkToKnownSubnetList':
address.c:1894: error: 'device' undeclared (first use in this function)
address.c:1896: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1897: error: request for member 'subnetStats' in something not a structure or union
address.c:1898: error: request for member 'subnetStats' in something not a structure or union
address.c:1903: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1905: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1908: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1909: error: request for member 'subnetStats' in something not a structure or union
address.c:1910: error: request for member 'subnetStats' in something not a structure or union
address.c:1911: error: request for member 'subnetStats' in something not a structure or union
address.c:1912: error: request for member 'subnetStats' in something not a structure or union
address.c:1913: error: request for member 'numKnownSubnets' in something not a structure or union
address.c: At top level:
address.c:1919: error: syntax error before '*' token
address.c:1919: warning: no previous prototype for 'updateHostKnownSubnet'
address.c: In function 'updateHostKnownSubnet':
address.c:1922: error: 'el' undeclared (first use in this function)
address.c:1924: error: request for member 'numKnownSubnets' in something not a structure or union
address.c:1925: error: request for member 'subnetStats' in something not a structure or union
address.c:1926: error: request for member 'subnetStats' in something not a structure or union
gnumake[2]: *** [address.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Warning: the following items did not execute (for ntop): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 12 years ago by richardosborn@…

Cc: richardosborn@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: richardosborn@… removed
Owner: changed from macports-tickets@… to markd@…

comment:3 Changed 12 years ago by blb@…

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -I/opt/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -I/opt/local/include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c address.c  -fno-common -DPIC -o .libs/address.o
In file included from address.c:21:
ntop.h:413:19: error: GeoIP.h: No such file or directory
ntop.h:414:23: error: GeoIPCity.h: No such file or directory

Wasn't this fixed in r50993 (ticket #19578)? Use

sudo port clean --work ntop
sudo port selfupdate

to make sure things are clean and up to date, then try installing ntop again. Or did that fix cause ntop to need the libgeoip port?

comment:4 Changed 12 years ago by richardosborn@…

I installed the libgeoip port and ntop successfully installed. Whatever changes were made caused a dependence on libgeoip.

comment:5 Changed 12 years ago by markd@…

Resolution: fixed
Status: newclosed

The libgeoip dependency was accidentally left out of the last update. Fixed in #51719.

Note: See TracTickets for help on using tickets.