Ntop no Ubuntu----? Muitos Problemas

Iniciado por mori, 29 de Março de 2006, 11:07

tópico anterior - próximo tópico

mori

E ai galera do Forum, continuando minha saga neste novo mundo

Socorro..........

Nao consigo fazer o Ntop funcionar

tentei >>>
apt-get install ntop

ele instalou mas nao consegue iniciar o servico....

removi, e baixei o .tar do site do ntop... as instruções de instalacao  dizem pra rodar o ./configure

até ai tudo bem .... se nao fosse um milhao de dependecias q nao consigui instalar todas.....

nao tem nenhum codigo secreto pra fazer isso fungar hehehehe,

obrigado...

mori

esse é o log da instalacao


++++++++++++++++++++++++++++++++++++++++++++++++++++++

Welcome to ntop, Version 3.2  SourceForge .tgz
 copyright (c) 1998-2005 Luca Deri <deri@ntop.org>

Configuration script version v3.2-2005-10-20

************************************************************************
*                                                                      *
* 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 developers:

      If you have the Gnu auto* tools (automake, autoconf and libtool)
      installed, you may wish to enable the automatic regeneration of
      the configure scripts.  Do this before running ./configure:

$ export NTOPAUTOREBUILD=yes

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 gawk... gawk
checking whether make sets $(MAKE)... no
checking for gawk... (cached) gawk
checking for style of include used by make... none
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 ANSI C... none needed
checking dependency style of gcc... none
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) no
checking for ranlib... ranlib
checking for libtool...
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
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 for libtool... $(SHELL) $(top_builddir)/libtool
 Checking libtool version...1.5.6
checking for autoheader... no
checking for aclocal... no
checking for automake... no
checking for autoconf... no
checking for aclocal.m4... yes
checking for depcomp... yes

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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none

*******************************************************************
*
* Checking for unique options for x86_64-unknown-linux-gnu, gcc...
*
* This appears to be LINUX Ubuntu 5.10
*
*   Testing for extra configuration options for LINUX Ubuntu 5.10
*
*******************************************************************

Test the compiler and setup CFLAGS...

checking if compiler accepts -W (warning flags)... yes
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 working long double with more range or precision than double... yes
checking whether byte ordering is bigendian... no

Critical library/include tests...

checking for pcap...
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking pcap-bpf.h usability... no
checking pcap-bpf.h presence... no
checking for pcap-bpf.h... no
checking for pcap_open_live in -lpcap... yes
checking for pcap_findalldevs in -lpcap... yes
checking for pcap_open_dead in -lpcap... yes
checking for pcap_lib_version in -lpcap... no
checking for pcap_freecode in -lpcap... yes
checking for pcap_freealldevs in -lpcap... yes
checking for pcap_setnonblock 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 gd...
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImageDestroy in -lgd... yes
checking for libpng...
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for main in -lpng... 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.

ZLIB?
   ...(Default) Requested if available. Disable via ./configure command line option --without-zlib.

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

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

Static plugins?
   ...(Default) Disabled. Request via ./configure command line option --enable-static-plugin.

Internationalization (i18n)?
   ...(Default) Disabled. Request via ./configure command line option --enable-i18n

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

Processing the rest of the ROOT/DIRECTORY entries


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 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 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 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... yes
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... 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... 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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.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... no
checking tcpd.h presence... no
checking for tcpd.h... no
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 glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking glibconfig.h usability... no
checking glibconfig.h presence... no
checking for glibconfig.h... no
checking gdome.h usability... no
checking gdome.h presence... no
checking for gdome.h... no
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... 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 zlibVersion in -lz... yes
checking for sin in -lc... yes
checking for ceil in -lc... yes
checking for main in -lnsl... yes
checking for main in -lxnet... no
checking for main in -lsocket... no
checking for main in -lresolv... yes
checking for pthread_create in -lpthread... yes
checking for sem_init in -lposix4... no
checking for g_date_julian in -lglib... no
checking for xmlCheckVersion in -lxml2... yes
checking for gdome_di_saveDocToFile in -lgdome... yes
checking for unistd.h... (cached) yes
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 for function prototypes... yes
checking whether setvbuf arguments are reversed... no
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 vprintf... yes
checking for _doprnt... no
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 getipnodebyaddr... no
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 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
checking for mallinfo in malloc.h... 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... ok
checking for zlib... ok
checking sctp... no
checking for xmldump...
*******************************************************************
*
* WARNING:  One or more items required for the xmldump plugin are
*           missing:
*
*                  libxml2.so or libxml2.a...yes
*                  gdome.h...no
*                  libgdome.so or libgdome.a...yes
*                  glib.h...no
*                  libglib.so or libglib.a...no
*                  glibconfig.h...no
*
*           (yes means it was found, no means it was not found)
*
*       ntop will run just fine without this plugin.
*
*>>>    If you want to use the xmldump plugin,
*
*???     1. Install the necessary headers and libraries.
*???    and rerun ./configure
*
*******************************************************************

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 LINUX Ubuntu 5.10

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

This is your ntop 3.2 configuration:

Host System Type        : x86_64-unknown-linux-gnu
Preprocessor (cppflags) :  -DLINUX -I/usr/local/include
Compiler (cflags)       : gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fPIC -DPIC
Defines                 : -DHAVE_CONFIG_H
Loader (ldflags)        :  -L/usr/local/lib
Include path            :
System Libs             : -lgdome -lxml2 -lpthread -lresolv -lnsl -lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -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
gd       .h             : standard system headers
gd       library        : standard system libraries
png      .h             : standard system headers
png      library        : standard system libraries
openSSL  .h             : standard system headers
openSSL  library        : standard system libraries

Install directories:

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

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

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

Creating files...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating myrrd/Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

version.c...


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


*******************************************************************
*
* 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')
*
*******************************************************************

e agora???????

joaoco

E ai Mori....conseguiu botar o NTop pra funcionar ??!? tou com o mesmo problema de dependência
"humanidade para todos"

mori

Socoroooooo, alguem tem a receita do bolo?