Hi Gilles and Luca If it do not concern the bug you do not need to copy to the bug. However if there are still problems (that exist in the Debian packaged version) maybe a new bug should be created. :)
Regards, // Ola On Wed, Apr 25, 2007 at 11:56:28PM +0200, Gilles Mocellin wrote: > Luca > > I don't think all of this concerns anymore the debian bug. Should we continue > to copy to [EMAIL PROTECTED] ? > > 1. configure reports no errors when I have libpcap0.7-dev installed. But make > fails with : > In file included from address.c:21: > ntop.h:344:5: error: #error Neither net/bpf.h nor pcap-bpf.h found > > Here, if I install libpcap0.8-dev and launch make without having re-launched > configure, I have the same error (not like yesterday). > If I launch configure it works, but has previously. > > I think you should simply depend on libpcap >= 0.8. > > 2. I don't see theses libraries in the compile log, and it seems to compile > AND work. So you've made a good cleanup ! > > I see a lot of these : > **WARNING** packet truncated (8634->8232) > > It does not seems to hurt, but perhaps... > > Cheers, Gilles > > Le Wednesday 25 April 2007 11:48:17 Luca Deri, vous avez écrit : > > 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. > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://opalsys.net/ UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]