Here is the autogen output if that helps. The configure when fine I think, it just bombs on the database.c and o make
[EMAIL PROTECTED] ntop]# mysql -V mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386) Thanks for any help -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 11:31 AM To: [EMAIL PROTECTED] Subject: Starting ntop automatic configuration system v0.2.1 Please be patient, there is a lot to do... 1. Testing gnu tools.... libtool ..... 1.4.3 .... ok automake .... 1.6.3 .... ok m4 .... .... ok autoconf .... 2.57 .... ok 2. Preparing for libtool .... .... done 3. Create acinclude.m4, local definitions for automake ... .... done 4. Running aclocal to create aclocal.m4 ... .... done 5. Running autoheader to create config.h.in ... .... done 6. Running automake to create Makefile.in ... .... done 7. Running autoconf to create configure ... .... done 8. Running ./configure ... running /bin/sh ./configure --with-rrd-home=/usr/local/rrd --no-create --no-recursion Welcome to ntop, Version 3.2.3 copyright (c) 1998-2005 Luca Deri <[EMAIL PROTECTED]> 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 enable additional, debugging messages during the ./configure execution, do this before running ./configure: $ export NTOPCONFIGDEBUG=yes Configuring ntop according to your request(s): ./configure --with-rrd-home=/usr/local/rrd --no-create --no-recursion checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for 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... 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... 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 ANSI C... (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 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 for a sed that does not truncate output... //bin/sed checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for egrep... grep -E 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 ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC 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.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for aclocal.m4... yes checking for depcomp... 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 C compiler program and features... checking for gcc option to accept ANSI C... none needed ******************************************************************* * * Checking for unique options for i686-pc-linux-gnu, gcc... * * This appears to be LINUX redhat 3 * * Testing for extra configuration options for LINUX redhat 3 * * Executing configureextra/LINUXredhat3 Setting RedHat AS/ES3 specific flag values * ******************************************************************* 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 checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes mysql pcap .h : -I'/usr/include/mysql' mysql pcap library : Usage: /usr/lib/mysql/mysql_config [OPTIONS] Options: --cflags [-I'/usr/include/mysql'] --libs [-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm] --socket [/var/lib/mysql/mysql.sock] --port [3306] --version [3.23.58] 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. 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 Found RRD 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... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes 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 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 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 pthread_create in -lpthread... yes checking for sem_init in -lposix4... no checking for g_date_julian in -lglib... yes checking for xmlCheckVersion in -lxml2... yes checking for gdome_di_saveDocToFile in -lgdome... no 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 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 for mysql_config... mysql_config 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...no * glib.h...no * libglib.so or libglib.a...yes * 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 redhat 3 =================================================================== This is your ntop 3.2.3 configuration: Host System Type : i686-pc-linux-gnu Preprocessor (cppflags) : -I/usr/kerberos/include/ -DLINUX -I/usr/local/include -I/usr/include/mysql -I/usr/local/mysql/include Compiler (cflags) : gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -I/usr/include/mysql -I/usr/local/mysql/include Defines : -DHAVE_CONFIG_H Loader (ldflags) : -L/usr/local/lib -L/usr/lib/mysql -L/usr/local/mysql/lib Include path : -lwrap -I'/usr/include/mysql' System Libs : -lxml2 -lglib -lpthread -lc -lssl -lcrypto -lpcre -lresolv -lpcap -lgdbm -lgd -lpng -lwrap -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm 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 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') * ******************************************************************* .... autogen.sh done just type make to compile ntop _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
