Hi,
Having followed all the steps outlined in the "BUILD-NTOP.txt" file the make
command fails immediately with the following error:
bcsun02# make
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /tmp/sniffer/ntop-current/ntop
Output from the previous configure command is shown below. Any ideas why ???
bcsun02# ./configure
Welcome to ntop, Version 2.0.0
Copyright (c) 1998-2001 Luca Deri <[EMAIL PROTECTED]>
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
Step 1. Looking for required development tools....
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... ./install-sh -c
checking for compiler option -pipe... (cached) yes
checking for compilation debug mode... disabled
checking for compilation optimization mode... disabled
Step 2. Processing user options....
Step 3. Checking for special support for platform/compiler....
Step 4. Looking for both required and optional system headers....
checking for ANSI C header files... (cached) yes
checking for pwd.h... (cached) yes
checking for stdio.h... (cached) yes
checking for errno.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for signal.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/ioctl... (cached) no
checking for sys/un.h... (cached) yes
checking for gdbm.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/ldr.h... (cached) no
checking for sys/sockio.h... (cached) yes
checking for dl.h... (cached) no
checking for dirent.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for security/pam_appl.h... (cached) yes
checking for shadow.h... (cached) yes
checking for crypt.h... (cached) yes
checking for curses.h... yes
checking for alloca.h... (cached) yes
checking for sched.h... (cached) yes
checking for sys/sched.h... (cached) no
checking for semaphore.h... (cached) yes
checking for pthread.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for net/if.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for netinet/ip.h... (cached) yes
checking for netinet/ip_icmp.h... (cached) yes
checking for netinet/udp.h... (cached) yes
checking for netinet/tcp.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for net/ethernet.h... (cached) no
checking for ethertype.h... (cached) no
checking for if.h... (cached) no
checking for net/bpf.h... (cached) yes
checking if ether_header uses ether_addr structs... (cached) yes
checking for ucd-snmp/ucd-snmp-agent-includes.h... (cached) no
checking for typedef u_int32_t... (cached) no
checking for typedef u_int16_t... (cached) no
checking for typedef u_int8_t... (cached) no
checking for typedef int32_t... (cached) yes
checking for typedef int16_t... (cached) yes
checking for typedef int8_t... (cached) yes
checking for strtok_r... (cached) yes
checking for localtime_r... (cached) yes
checking for ctime_r... (cached) yes
checking for snprintf... (cached) yes
checking for strsep... (cached) no
Step 5. Looking for required system libraries....
checking for dlopen in -ldl... (cached) yes
checking for crypt... (cached) yes
checking for kstat_lookup in -lkstat... (cached) yes
checking for sin in -lm... (cached) yes
checking for gethostname in -lnsl... (cached) yes
checking for accept in -lsocket... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for initscr in -lncurses... (cached) no
checking for initscr in -lcurses... (cached) yes
checking for pthread_create in -lpthread... (cached) yes
checking for sem_init in -lposix4... (cached) yes
checking for readline/readline.h... (cached) no
checking for readline in -lreadline... (cached) no
Step 6. Looking for required GPLed libraries....
checking for LBL Packet Capture Library (required package)... found in
/usr/local
checking for gdbm_open in -lgdbm... (cached) yes
Step 7. Looking for optional GPLed libraries....
checking for GDchart (optional package)... found in
/tmp/sniffer/ntop-current/gdchart0.94c
checking for OpenSSL Library by Open SLL Project (optional package)... found
in /usr/local/ssl
checking for register_mib in -lucdagent... (cached) no
Step 8. Creating various ntop develpment tools....
configure: warning: compilation of ntop's plugins disabled via command line
option!
Step 9. Semi-Automatic files generation....
creating ./config.status
creating Makefile
creating intop/Makefile
creating plugins/Makefile
creating plugins/pep/Makefile
creating ntop-config
creating config.h
config.h is unchanged
creating version.c
This is your ntop 2.0.0 configuration:
Host System Type : sparc-sun-solaris2.6
Compiler (cflags) : gcc -g -O2 -pipe -DHAVE_CONFIG_H
Include path : -I/usr/local/include
-I/tmp/sniffer/ntop-current/gdchart0.94c -I/usr/local/ssl/include
System Libs : -lposix4 -lpthread -lresolv -lsocket -lnsl -lkstat -ldl
Core Libs : -L/usr/local/lib -lpcap -lgdbm
Additional Libs : -lm -L/tmp/sniffer/ntop-current/gdchart0.94c -lgdchart
-L/tmp/sniffer/ntop-current/gdchart0.94c/gd-1.8.3 -lgd
-L/tmp/sniffer/ntop-current/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng
-L/tmp/sniffer/ntop-current/gdchart0.94c/zlib-1.1.3 -lz -L/usr/local/ssl/lib
-lssl -lcrypto
LBL pcap in : /usr/local
GNU gdbm in :
MultiThread mode : yes
Install path : /usr/local
Now type 'make' or 'gmake' (on *BSD systems) to build ntop 2.0.0
-------------------------------------------------
If you like ntop, please do not forget to support
its development. See SUPPORT_NTOP.txt for more
information. Thanks for supporting ntop!
-------------------------------------------------
Thanks,
Sean
Sean Broderick
Dublin Server Farm
EDS-Xerox Ireland
Tel: +353 (0)1 608 6298
Fax: +353 (0)1 608 6024
Email: [EMAIL PROTECTED]