Dear friends, I'm compiling ntop snapshot from 02april2002 in Solaris 5.7 with GNU gcc3.0.3 and binutils 2.11.2 (both as packages from SUNFREEWARE.COM) installed under /usr/local. So, the compiler, linker and assembler are GNU (see order in PATH variable)
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/include:usr/local/lib:/usr/cc s/bin:/usr/include/sys:/usr/sbin:/usr/bin I follow this steps (as told in the README): 1. Get mandatory packages/tools - gdbm http://www.gnu.org/ - libpcap http://www.tcpdump.org/ 2. Build chart libraries - cd gdchart0.94c/ - ./configure - cd gd-1.8.3/libpng-1.0.8 - cp scripts/makefile.[make your choice] Makefile - make - cd ../../zlib-1.1.3/ - ./configure - make - cd .. - make 3. Build ntop - cd ntop - ./configure - make - make install When I "make" ntop, I get this error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/opt/sw_instalable/ntop-current/gdchart0.94c -g -O2 -pipe -Wp,-MD,.deps/sflowPo sflowPlugin.c:194: field `ip_v6' has incomplete type sflowPlugin.c:195: confused by earlier errors, bailing out {standard input}: Assembler messages: {standard input}:895: Warning: end of file in string: inserted '"' {standard input}:1054: Warning: .stabs: Missing comma make[3]: *** [sflowPlugin.lo] Error 1 make[3]: Leaving directory `/opt/sw_instalable/ntop-current/ntop/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/sw_instalable/ntop-current/ntop/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/sw_instalable/ntop-current/ntop' make: *** [all-recursive-am] Error 2 Anyway, I believe I don't really need this PLUGINS section to fully make, do I? So, I go on and "make install". I get the same error. And when I start NTOP I get: ld.so.1: ntop: fatal: libz.so: open failed: No such file or directory Killed Any clues on the plugins error and the libz error (maybe the problem is that I have the zlib 1.1.4 installed in /usr/local and the release included with NTOP snapshot is 1.1.3)? many thanks, DAVID _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
