-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gilles
1. I have added new checks to configure so that I can catch the errors with libpcap you reported. Please check if they can now catch the various pcap configuration issues. 2. note that the CVS version of ntop does not require (as they are used by rrdtool-devel not ntop) some of the libraries you listed below like
        - freetype
        - art
        - gd
        - jpeg
        - png12

This has been quite some work but I've been finally (check if this also works on Debian) able to remove many dependencies that created a lot of noise in the past.

Cheers, Luca


On Apr 25, 2007, at 1:31 AM, Gilles Mocellin wrote:

Today I tried to compile 3.3rc1 on Etch, and failed.
There's a problem between the two development packages of libpcap
(libpcap0.7-dev and libpcap0.8-dev).
In 0.7 there an undefined function, and in 0.8 it lacks an include file.

Tonight I also tried on Sid, and it fails with the same messages.

* With libpcap0.7 / libpcap0.7-dev :
-------------------------------------
gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -g - O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC - o .libs/ntop
ntop-main.o
ntop-admin.o -L/usr/local/lib ./.libs/libntopreport ./.libs/ libntop /usr/lib/libxml2.so -lcrypt -lc -lssl -lcrypto -lresolv - lnsl -lpcap /usr/lib/libgdbm.so /usr/lib/libgd.so -L/usr/lib /usr/ lib/libjpeg.so -lpng12 /usr/lib/librrd_th.so -lpthread /usr/lib/ libfreetype.so -lpng -lz /usr/lib/libart_lgpl_2.so -lm -Wl,--rpath - Wl,/usr/local/lib ./.libs/libntop: undefined reference to `pcap_datalink_val_to_description'
collect2: ld returned 1 exit status

* With libpcap0.8 / libpcap0.8-dev :
-------------------------------------
In file included from address.c:21:
ntop.h:339:23: error: net/bpf.h: No such file or directory
make[2]: *** [address.lo] Erreur 1

I tried settings defines in config.h without success (HAVE_DLT_VAL_TO_DESC).

Next, the CVS version. It compiles !

************************************************************
* Rhaaaa ! I see why it failed with libpcap0.8 !           *
* I MUST run ./configure after installing libpcap0.8-dev ! *
************************************************************

It seems to work better but It's 00:47 here, there is not much traffic now,
let's see tomorrow.

PS:
3.3 looks nice, great improvements on RRD graphs !
I hope there will be a backport for Debian Etch.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGLyPhmMhDxnkh3zQRAjVNAJ9a2fzIe7F0eYvgd3TJ24IvqDHCngCfbQQZ
OQ2fmquwb+ROzkWzJXcwZck=
=sPtH
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to