From: Manikantan Ramadas (mramadas@cs.ohiou.edu)
Date: 12/05/03
Date: Fri, 5 Dec 2003 23:42:23 -0500 From: Manikantan Ramadas <mramadas@cs.ohiou.edu> Subject: Re: tcptrace-bugs install Message-ID: <20031206044223.GA28997@irg.cs.ohiou.edu>
Hi Conor,
First of, are you sure that you wouldn't be needing pcap? Because, if
you want tcptrace to understand network dumpfiles made with tcpdump
(which is probably the most commonly used network sniffer), you need
pcap. If this were the case, you may need to install libpcap (and also
tcpdump, which could be handy) from www.tcpdump.org before building
tcptrace.
If you are sure that you wont be needing libpcap/tcpdump at all and you
want to build tcptrace (without the capability of analyzing dumpfiles
made with tcpdump) you need to do the following :
o Do make clean in the tcptrace working directory that you have or
start-off with a fresh copy of tcptrace tarball.
o Comment out GROK_TCPDUMP from Makefile.in as you already did
o Run ./configure to generate a new Makefile
o In the Makefile generated :
Edit off ${PCAP_INCS} from the "INCLS =" variable, so it just reads :
INCLS = -I.
Similarly edit off ${PCAP_LDLIBS} from the LDLIBS variable and
${PCAP_LDFLAGS} from the LDFLAGS variable.
o Now say "make" and you should be alright.
If you still have issues, lemme know.
- Mani.
On Thu, Dec 04, 2003 at 05:08:22PM -0600, Conor Casey wrote:
> Hi, I'm wondering if you could offer and advice. This is probably a
> simple problem, but I am trying to install tcptrace on my sun blade with
> solaris 8 on it and at first it gave me issues because i didn't have
> pcap installed. So reading the INSTALL file i noticed :-
>
> " If you don't HAVE this package and don't CARE about it, then comment
> "GROK_TCPDUMP" out of Makefile.in and we'll just skip it in the
> compilation."
>
> So i did this, but still get errors in compliation :-
>
> :
> :
> netm.o output.o plotter.o print.o rexmit.o snoop.o nlanr.o tcpdump.o
> tcptrace.o thruput.o trace.o ipv6.o filt_scanner.o filt_parser.o
> filter.o udp.o ns.o netscout.o version.o pool.o poolaccess.o dstring.o
> mod_http.o mod_traffic.o mod_rttgraph.o mod_tcplib.o mod_collie.o
> mod_slice.o mod_realtime.o dyncounter.o -o tcptrace -lsocket -lnsl -lm
> -lpcap
> ld: fatal: library -lpcap: not found
> ld: fatal: File processing errors. No output written to tcptrace
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `tcptrace'
> root$
>
> Am i doing something wrong, or do i need to remove any trace/entry of
> pcap from all makefiles etc before i do this?
> ps. it is the latest version of tcptrace on your download site that I am
> trying to compile.
>
> Thanks!
> Conor
-- "Happiness is when what you think, what you say, and what you do are in harmony." - Mahatma Gandhi ____________________________________________________________________ * Manikantan Ramadas * IRG, OU * http://irg.cs.ohiou.edu/~mramadas * ____________________________________________________________________
This archive was generated by hypermail 2.1.7 : 12/06/03 EST