Hello ntop folks -
trying to compile ntop for OpenSolaris
1.# uname -a
SunOS luna 5.11 snv_81 i86pc i386 i86pc
2. Most of the sub-packages were already there; just needed these from
Sunfreeware.com:
libpcap-0.9.8-sol10-x86-local
gdbm-1.8.3-sol10-intel-local
tcpdump-3.9.8-sol10-x86-local
libart_lgpl-2.3.19-sol10-x86-local
rrdtool-1.2.19-sol10-x86-local
3. now autogen.sh completed without errors for me
4. gmake only ran for a second:
<luna:root>:/data/data01/app/ntop/ gmake
cd . && /bin/sh ./missing --run echo
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
gmake all-recursive
gmake[1]: Entering directory `/data/data01/app/ntop'
Making all in .
gmake[2]: Entering directory `/data/data01/app/ntop'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I/usr/local/include -g -Dsolaris2 -I. -I/usr/sfw/include
-I/usr/local/rrdtool-1.2.19/include -DSOLARIS -I/usr/local/include
-I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DPIC -MT address.lo -MD -MP -MF
.deps/address.Tpo -c -o address.lo address.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -Dsolaris2 -I.
-I/usr/sfw/include -I/usr/local/rrdtool-1.2.19/include -DSOLARIS
-I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include
-I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT address.lo -MD
-MP -MF .deps/address.Tpo -c address.c -fPIC -DPIC -o .libs/address.o
In file included from address.c:21:
ntop.h:458:18: pcre.h: No such file or directory
gmake[2]: *** [address.lo] Error 1
gmake[2]: Leaving directory `/data/data01/app/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data/data01/app/ntop'
gmake: *** [all] Error 2
<luna:root>:/data/data01/app/ntop/
3. HACK: s,pcre.h,/usr/include/pcre/pcre.h, in ntop.h or symlink to
/usr/local/include, your choice
4. now it runs for a long time, but finally barfs here:
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2
-I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC
-DPIC -release 3.3.5 -export-dynamic -L/usr/local/lib
-L/opt/local/lib -o libntop.la -rpath /usr/local/lib address.lo argv.lo
dataFormat.lo fcUtils.lo getopt.lo getopt1.lo globals-core.lo hash.lo
iface.lo initialize.lo l7.lo leaks.lo ntop.lo pbuf.lo database.lo
plugin.lo prefs.lo protocols.lo sessions.lo term.lo util.lo utildl.lo
traffic.lo vendor.lo version.lo ntop_darwin.lo -lposix4 -lpthread -lc
-lssl -lcrypto -lpcre -lxnet -lgdbm -lz -L/usr/sfw/lib -lnetsnmp -lgen
-lkstat -lelf -lm -ldl -lnsl -lsocket -ladm -L/usr/local/lib -lpcap
-L/usr/local/rrdtool-1.2.19/lib -lrrd_th
libtool: link: `/usr/local/lib/libpng.la' is not a valid libtool
archive
gmake[2]: *** [libntop.la] Error 1
gmake[2]: Leaving directory `/data/data01/app/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data/data01/app/ntop'
gmake: *** [all] Error 2
<luna:root>:/data/data01/app/ntop/
searched the list archives here, no hits on libpng.la ever.
googled for it, its not a very current issue (issues back in Solaris
7)... most people look like they symlink libpng.la to
/usr/lib/libpng12.so for problems in the past, but that doesn't work
for me.
May I have the Next Big Hint for HOWTO compile ntop for Solaris?
svrocket
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop