sniffit

Eric Van Buskirk plug-discuss@lists.PLUG.phoenix.az.us
Sun, 1 Jul 2001 11:45:54 -0800


Well after I make it, I then "make install".

It says "make:***  No rule to make target 'install.' Stop"

Shouldn't that work?


> -----Original Message-----
> From: plug-discuss-admin@lists.PLUG.phoenix.az.us
> [mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Jiva
> DeVoe
> Sent: Sunday, July 01, 2001 10:36 AM
> To: plug-discuss@lists.PLUG.phoenix.az.us
> Subject: Re: sniffit
>
>
> There is no error message there.  Sniffit simply doesn't have a make
> install target.
>
> On Sun, Jul 01, 2001 at 09:29:08AM -0800, Eric Van Buskirk wrote:
> > Hi ALL
> >
> > For epistemic reasons only, I am trying to install sniffit on my RH 7.1.
> > It's not going to well, as you can see from the error log below.  I
> > downloaded the file from
> > <http://reptile.rug.ac.be/~coder/sniffit/sniffit.html>.  I also
> added the
> > associated patch.  I then did "./configure"; then "make".  Upon
> "make", I
> > received error messages.  If anyone could offer some
> suggestions, I would
> > appreciate it.  (PS--My network is a *home* network, so any
> packets I read
> > will be my own.  :-)).
> >
> > I tried to continue after the errors with "make install-sh" and "./make
> > install-sh" but the former returns a message "nothing to be done for
> > install-sh".  Has anyone ever worked with this program?
> >
> > By the way, what is the best way to send error messages to a
> log file when
> > using make?  Thanks a lot!
> >
> >
> > [root@Shitty sniffit.0.3.5]# make
> >
> > gcc -w -O2 -c
> >
> > sn_generation.c -I./libpcap-0.3 -L./libpcap-0.3
> -DHAVE_LIBNCURSES=1 -DHAVE_N
> > CURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1
> -DSIZEOF_UNSIGNED_SHORT_INT=2 -DS
> > IZEOF_UNSIGNED_LONG_INT=4 -DLINUX=1
> > gcc -w -O2 -c
> >
> > sn_interface.c -I./libpcap-0.3 -L./libpcap-0.3
> -DHAVE_LIBNCURSES=1 -DHAVE_NC
> > URSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1
> -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSI
> > ZEOF_UNSIGNED_LONG_INT=4 -DLINUX=1
> > gcc -w -O2 -c
> > sn_cfgfile.c -I./libpcap-0.3 -L./libpcap-0.3
> -DHAVE_LIBNCURSES=1 -DHAVE_NCUR
> > SES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1
> -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZE
> > OF_UNSIGNED_LONG_INT=4 -DLINUX=1
> > gcc -w -O2 -c
> >
> > sn_logfile.c -I./libpcap-0.3 -L./libpcap-0.3
> -DHAVE_LIBNCURSES=1 -DHAVE_NCUR
> > SES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1
> -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZE
> > OF_UNSIGNED_LONG_INT=4 -DLINUX=1
> > cd libpcap-0.3; make; cd ..
> > make[1]: Entering directory `/root/sniffit.0.3.5/libpcap-0.3'
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./pcap-linux.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./pcap.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./inet.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./gencode.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./optimize.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./nametoaddr.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./etherent.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./savefile.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./bpf_filter.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STR ERROR=1  -c ./bpf_image.c
> > flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
> > bison -y -p pcap_ -d grammar.y
> > mv y.tab.c grammar.c
> > mv y.tab.h tokdefs.h
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STRERROR=1  -c ./scanner.c
> > gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1
> -DHAVE_ETHER_HOSTTON=1 -DHAVE
> > _STRERROR=1  -Dyylval=pcap_lval -c grammar.c
> > ar rc libpcap.a pcap-linux.o pcap.o inet.o gencode.o optimize.o
> nametoaddr.o
> > etherent.o savefile.o bpf_filter.o bpf_image.o scanner.o grammar.o
> > ranlib libpcap.a
> > make[1]: Leaving directory `/root/sniffit.0.3.5/libpcap-0.3'
> > gcc -w -O2 -o sniffit sniffit.0.3.5.c sn_packets.o sn_generation.o
> > sn_interface.o sn_cfgfile.o
> > sn_logfile.o -I./libpcap-0.3 -L./libpcap-0.3 -lpcap -lncurses
> -DHAVE_LIBNCU
> > RSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1
> -DSIZEOF_UNSIGNED_
> > SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DLINUX=1
> > strip sniffit
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail
> doesn't post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> --
> Jiva DeVoe
> VP Of Software Development
> Opnix, Inc. - Technology Shall Set You Free.
> GPG Fingerprint: 0A17 DF84 516A 1DC4 B837  FE6D 3128 41CD 97CB 4AA7
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail
> doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>