Hi all,

I just downloaded and managed to compile ntop 3.3.9.
System is a SUSE 10.1 machine...

However, make install fails as follows:


Making install in .
make[1]: Entering directory `/home/cvo/ntop-3.3.9'
make[2]: Entering directory `/home/cvo/ntop-3.3.9'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'libntop.la' 
'/usr/local/lib/libntop.la'
libtool: install: warning: relinking `libntop.la'
(cd /home/cvo/ntop-3.3.9; /bin/sh ./libtool  --tag=CC --mode=relink gcc -g -O2 
-I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC 
-I/home/cvo/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/ -L/usr/X11R6/lib -L/usr/local/lib 
-L/opt/local/lib -L/home/cvo/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/.libs/ -lGeoIP -o 
libntop.la -rpath /usr/local/lib -release 3.3.9 -export-dynamic 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 -lpthread -lcrypt -lc -lssl -lcrypto 
-lrrd_th -lpcre -lpcap -lgdbm -lz -Wl,-E 
-Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE 
-L/usr/local/lib64 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt 
-lpthread )

*** Warning: Linking the shared library libntop.la against the
*** static library 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a is 
not portable!
gcc -shared  .libs/address.o .libs/argv.o .libs/dataFormat.o .libs/fcUtils.o 
.libs/getopt.o .libs/getopt1.o .libs/globals-core.o .libs/hash.o .libs/iface.o 
.libs/initialize.o .libs/l7.o .libs/leaks.o .libs/ntop.o .libs/pbuf.o 
.libs/database.o .libs/plugin.o .libs/prefs.o .libs/protocols.o 
.libs/sessions.o .libs/term.o .libs/util.o .libs/utildl.o .libs/traffic.o 
.libs/vendor.o .libs/version.o .libs/ntop_darwin.o  -L/usr/X11R6/lib 
-L/usr/local/lib -L/opt/local/lib -lGeoIP -lc -lssl -lcrypto -L/usr/lib64 
-lrrd_th -lpcre -lpcap -lgdbm -lz -L/usr/local/lib64 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt 
-lpthread  -Wl,-E -Wl,-rpath 
-Wl,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -Wl,-soname 
-Wl,libntop-3.3.9.so -o .libs/libntop-3.3.9.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lGeoIP
collect2: ld returned 1 exit status
libtool: install: error: relink `libntop.la' with the above command before 
installing it
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'libntopreport.la' 
'/usr/local/lib/libntopreport.la'
libtool: install: warning: relinking `libntopreport.la'
(cd /home/cvo/ntop-3.3.9; /bin/sh ./libtool  --tag=CC --mode=relink gcc -g -O2 
-I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC 
-I/home/cvo/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/ -L/usr/X11R6/lib -L/usr/local/lib 
-L/opt/local/lib -L/home/cvo/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/.libs/ -lGeoIP -o 
libntopreport.la -rpath /usr/local/lib -release 3.3.9 -export-dynamic 
emitter.lo globals-report.lo graph.lo fcReport.lo http.lo perl.lo report.lo 
reportUtils.lo ssl.lo webInterface.lo map.lo libntop.la -lpthread -lcrypt -lc 
-lssl -lcrypto -lrrd_th -lpcre -lpcap -lgdbm -lz -Wl,-E 
-Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE 
-L/usr/local/lib64 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt 
-lpthread )
libtool: link: warning: 
`/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64//librrd_th.la' seems 
to be moved
libtool: link: warning: 
`/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64//libpcre.la' seems to 
be moved
libtool: link: warning: 
`/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64//libgdbm.la' seems to 
be moved

*** Warning: Linking the shared library libntopreport.la against the
*** static library 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a is 
not portable!
gcc -shared  .libs/emitter.o .libs/globals-report.o .libs/graph.o 
.libs/fcReport.o .libs/http.o .libs/perl.o .libs/report.o .libs/reportUtils.o 
.libs/ssl.o .libs/webInterface.o .libs/map.o  
-L/home/cvo/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/.libs//.libs -L/usr/X11R6/lib 
-L/usr/local/lib -L/opt/local/lib -lGeoIP -lntop 
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/ -L/usr/lib64 
-L/usr/local/lib64 -L/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lc 
-lssl -lcrypto -lrrd_th -lpcre -lpcap -lgdbm -lz 
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-lperl -lm -ldl -lcrypt -lpthread  -Wl,-E -Wl,-rpath 
-Wl,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -Wl,-soname 
-Wl,libntopreport-3.3.9.so -o .libs/libntopreport-3.3.9.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lGeoIP
collect2: ld returned 1 exit status
libtool: install: error: relink `libntopreport.la' with the above command 
before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/cvo/ntop-3.3.9'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/cvo/ntop-3.3.9'
make: *** [install-recursive] Error 1


does anyone have any advice? Otherwise I'm stuck with using NTOP3.1  (avail via 
yast)

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to