Gilles

Gilles Mocellin wrote:
> Luca
>
> I don't think all of this concerns anymore the debian bug. Should we continue 
> to copy to [EMAIL PROTECTED] ?
>   
No idea.
> 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.
>   

Please refresh from CVS and try again
> 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)
>   

How did you start ntop? From the loopback interface?
In any case it's a warning so it will not create any problem.

> It does not seems to hurt, but perhaps...
>
> Cheers, Gilles
>   

Cheers, Luca

> 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.
>>>       
>
>
>   


-- 
Luca Deri <[EMAIL PROTECTED]>   http://luca.ntop.org/
                                skype://lucaderi/
Don't be encumbered by past history. Go off and do
something wonderful - Robert Noyce

Reply via email to