Dear Yashpal,

The ksnuffle distribution seems to be broken. Here is what I had to do on a
RedHat 7.1 system, to get ksnuffle-2.2 working:

Edit the following two the files under
/where_ever_you_unpack/ksnuffle-2.2ksnuffle/:

knd_pcap.h
pktinfo.h

In both of these, locate the following line

#include <sys/time.h>

and ADD the following line after the previous line:

#include <time.h>

So the edited files should now contain a section like:

#include <sys/time.h>
#include <time.h>

That gets them compiled and ready to go!

You would of-course need to make sure the KDE development libraries are
present.

Haven't investigated the source of these problems, but this seems to get it
working just fine...

Regards,
-Varun
----- Original Message -----
From: "Yashpal Nagar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 4:22 PM
Subject: [ilugd]: KSnuffle Installation problem


> Hi All,
>     I am installing ksnuffle  which is a  network packet sniffer for KDE.
> I have downloaded both binary & even source from the site
> http://www.quaking.demon.co.uk/ksnuffle.html
> None of one is compiling nor installing on Redhat 7.1
> rpm package looks for following libs
>
> error: failed dependencies:
>         libkdefakes.so.0 is needed by ksnuffle-2.2-1
>         libz.so.1 is needed by ksnuffle-2.2-1
> although both file are in /usr/lib only i create sym link for libkdefakes
i.e
> ln -s /usr/lib/libkdefakes.so.0 /usr/lib/libkdefakes.so.3.0.0
> But now luck.
>
> While compling from source gives this prob..,
> knd_pcapmon.cpp:251: `localtime' undeclared (first use this function)
> knd_pcapmon.cpp:251: (Each undeclared identifier is reported only once
> for each function it appears in.)
> knd_pcapmon.cpp:251: `strftime' undeclared (first use this function)
> make[2]: *** [knd_pcapmon.o] Error 1
> make[2]: Leaving directory `/root/ksnuffle-2.1/ksnuffle'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/root/ksnuffle-2.1/ksnuffle'
> make: *** [install-recursive] Error 1
>
> every distribution 2.0,2.1,2.2 of ksnuffle ,i tried ALL but no one is
> successful.
>
> Is there anyone who has successfully installed ksnuffle or tell something
> other than that packet sniffer.
> Please help,
>
> Regards
> -Yash
>
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in
subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in
subject header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================
>


          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to