have you the latest svn code?
About python, if you have devel package installed, you should have it working.
A minor typo was in the configure script, and it should have been corrected in 
the svn code.
Y
On Oct 13, 2011, at 6:45 PM, Gary Gatten wrote:

> Welcome to nTop!
> 
> Do you have python 2.6+ AND the devel package installed?  Also, maybe check 
> the configure options and see if you can build without GeoIP - or maybe 
> specify the location?  There are several configure (passed to configure 
> through autogen.sh) options one must typically specify, such as rrd location 
> - so check those out and give it another shot.
> 
> G
> 
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Tony Clark
> Sent: Thursday, October 13, 2011 11:32 AM
> To: [email protected]
> Subject: [Ntop] centos 6 install
> 
> Hi all,
> 
> I'm new to this list.  I am attempting to install ntop on Centos 6.  I
> installed GeoIP, but the install fails with GeoIP errors.
> 
> Can someone please advise?
> 
> 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... ok
> 
> -------------------------------------------------------------------
> 
>   **Testing Optional libraries and headers**
> 
> checking for Multithreading... ok
> checking for openSSL... configure: WARNING: error
> 
> *******************************************************************
> *
> * WARNING:  One or more items required for openSSL are missing:
> *           (yes means it was found, no means it was not found)
> *
> *                  openssl/crypto.h...no
> *                  openssl/err.h...no
> *                  openssl/pem.h...no
> *                  openssl/rsa.h...no
> *                  openssl/ssl.h...no
> *                  openssl/x509.h...no
> *                  libssl.so or libssl.a...no
> *
> *>>>    ntop will be built without openSSL
> *
> *???     1. Install the necessary headers and libraries.
> *???    and rerun ./configure
> *
> *******************************************************************
> 
> checking for zlib... ok
> checking for python-config... no
>>>>> Unable to locate python-config: using workaround <<<<
> checking for python... python
> sed: -e expression #1, char 16: unknown option to `s'
> close failed in file object destructor:
> Error in sys.excepthook:
> 
> Original exception was:
> checking Checking python version... Old python installed
> 
> Please install python 2.6 or newer. Python support disabled
> 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...
> checking for GeoIP_record_by_ipnum in -lGeoIP... no
> checking for GeoIP_name_by_ipnum_v6 in -lGeoIP... no
> Please install GeoIP (http://www.maxmind.com/)
> [root@router ntop-4.1.0]# clear
> [root@router ntop-4.1.0]# ./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.2.6b
>        .... ok
>    automake .... 1.11.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'
>        .... 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
>        .... done
> 
> 5. Running autoheader to create config.h.in ...
>        .... done
> 
> 6. Running automake to create Makefile.in ...
> Makefile.am:110: compiling `main.c' with per-target flags requires
> `AM_PROG_CC_C_O' in `configure.in'
>        .... done
> 
> 7. Running autoconf to create configure ...
>        .... 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.
> 
> Welcome to ntop, Version 4.1.0
> Copyright (C) 1998-2011 Luca Deri <[email protected]>
> ################## WARNING ##################
> 
> Running configure and compiling as root might lead
> to compilation issues.
> 
> Please run configure as normal user, not as superuser
> 
> #############################################
> 
> Configuration script version v4.1.0-15-08-2011
> 
> ************************************************************************
> *                                                                      *
> * 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... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-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
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking the maximum length of command line arguments... 1966080
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> 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 for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> 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
> 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) 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 unique options for x86_64-unknown-linux-gnu, gcc...
> *
> * This appears to be LINUX Centos 6.0
> *
> *   Testing for extra configuration options for LINUX Centos 6.0
> *
> *******************************************************************
> 
> Test the compiler and setup CFLAGS...
> 
> checking if compiler accepts -W (warning flags)... yes
> grep: libtool: No such file or directory
> checking for pfring_open in -lpfring... no
> 
> Critical library/include tests...
> 
> checking for pcap_lookupdev in -lpcap... yes
> 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 capi.h usability... no
> checking capi.h presence... no
> checking for capi.h... no
> 
> 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
> 
> 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... no
> checking pcre.h presence... no
> checking for pcre.h... no
> 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... yes
> checking shadow.h presence... yes
> checking for shadow.h... yes
> checking sys/utsname.h usability... yes
> checking sys/utsname.h presence... yes
> checking for sys/utsname.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 main in -lrrd_th... yes
> checking for net/if.h... yes
> checking net/if_dl.h usability... no
> checking net/if_dl.h presence... no
> checking for net/if_dl.h... no
> 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) no
> 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... yes
> checking net/ppp_defs.h presence... yes
> checking for net/ppp_defs.h... yes
> checking for linux/if_pppox.h... no
> checking openssl/rsa.h usability... no
> checking openssl/rsa.h presence... no
> checking for openssl/rsa.h... no
> checking openssl/crypto.h usability... no
> checking openssl/crypto.h presence... no
> checking for openssl/crypto.h... no
> checking openssl/x509.h usability... no
> checking openssl/x509.h presence... no
> checking for openssl/x509.h... no
> checking openssl/pem.h usability... no
> checking openssl/pem.h presence... no
> checking for openssl/pem.h... no
> checking openssl/ssl.h usability... no
> checking openssl/ssl.h presence... no
> checking for openssl/ssl.h... no
> checking openssl/err.h usability... no
> checking openssl/err.h presence... no
> checking for openssl/err.h... no
> checking for SSLeay_version in -lcrypto... no
> checking for SSL_accept in -lssl... no
> checking crypt.h usability... yes
> checking crypt.h presence... yes
> checking for crypt.h... yes
> 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) yes
> 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... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> 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 if r/w locks are supported... 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 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 uint32_t... no
> checking for typedef u_int16_t... yes
> checking for typedef uint16_t... no
> checking for typedef u_int8_t... yes
> checking for typedef uint8_t... no
> 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... no
> checking for crypt in -lcrypt... 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 gcc 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... yes
> 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... 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 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... ok
> 
> -------------------------------------------------------------------
> 
>   **Testing Optional libraries and headers**
> 
> checking for Multithreading... ok
> checking for openSSL... configure: WARNING: error
> 
> *******************************************************************
> *
> * WARNING:  One or more items required for openSSL are missing:
> *           (yes means it was found, no means it was not found)
> *
> *                  openssl/crypto.h...no
> *                  openssl/err.h...no
> *                  openssl/pem.h...no
> *                  openssl/rsa.h...no
> *                  openssl/ssl.h...no
> *                  openssl/x509.h...no
> *                  libssl.so or libssl.a...no
> *
> *>>>    ntop will be built without openSSL
> *
> *???     1. Install the necessary headers and libraries.
> *???    and rerun ./configure
> *
> *******************************************************************
> 
> checking for zlib... ok
> checking for python-config... no
>>>>> Unable to locate python-config: using workaround <<<<
> checking for python... python
> sed: -e expression #1, char 16: unknown option to `s'
> close failed in file object destructor:
> Error in sys.excepthook:
> 
> Original exception was:
> checking Checking python version... Old python installed
> 
> Please install python 2.6 or newer. Python support disabled
> 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...
> checking for GeoIP_record_by_ipnum in -lGeoIP... no
> checking for GeoIP_name_by_ipnum_v6 in -lGeoIP... no
> Please install GeoIP (http://www.maxmind.com/)
> [root@router ntop-4.1.0]#
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
> 
> 
> 
> 
> 
> <font size="1">
> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 
> 0in 1.0pt 0in'>
> </div>
> "This email is intended to be reviewed by only the intended recipient
> and may contain information that is privileged and/or confidential.
> If you are not the intended recipient, you are hereby notified that
> any review, use, dissemination, disclosure or copying of this email
> and its attachments, if any, is strictly prohibited.  If you have
> received this email in error, please immediately notify the sender by
> return email and delete this email from your system."
> </font>
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

###############################################
Yuri Francalacci   -   [email protected]   -   http://www.ntop.org
"Simplicity is the ultimate sophistication" - Leonardo da Vinci
###############################################







_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to