[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: installation problem on NSE



At //www-nrg.ee.lbl.gov/ you could find a network tool called libpcap, the
Packet Capture library. After you decompress it, there is pcap.h in it.

Huiwen

> -----Original Message-----
> From: Jeff Donahoo [mailto:[email protected]]
> Sent: Wednesday, September 15, 1999 4:20 PM
> To: Hyo Jung Song
> Cc: [email protected]
> Subject: RE: installation problem on NSE
> 
> 
> > Hi,
> >
> > I am Hyo Jung Song at UCSD.
> > On linux, i tried to make nse from ns-2.1b5
> > But i got the below  error.
> >
> > I download ns-2.1b6-current also cause i thought that
> > ns-2.1b6-current might help to avoid the following error.
> > But, the same results.
> >
> > I am looking forward to any comments on this.
> > Thank you very much.
> 
> Hi!  The problem is you do not have pcap installed.  This is 
> a library for
> packet capture.  You need to get and compile it for Linux.  (I cannot
> remember where I got pcap.)  I can also tell you that you 
> will run into a
> few other problems compiling NSE for Linux.  I eventually 
> compiled NSE (with
> ns-2.1b5) with some source modification under RH6.0; however, the NSE
> example scripts make FreeBSD-specific system calls so you are 
> not home free
> even after getting it to compile under Linux.  I have not 
> spent the time to
> find the equivalent Linux system calls.  I am not convinced 
> it would work if
> I did.
> 
> If you get it to work on Linux, I would be VERY interested in 
> knowing.  I
> can even send you the modified source code that I have to 
> make it at least
> compile under Linux RH6.0.  I can also tell you that I 
> installed FreeBSD
> 2.2.8 (according to the specs., the emulator was developed 
> under FreeBSD
> 2.2.5), but it still is not working.
> 
> Good Luck.
> 
> > >c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM
> > -DHAVE_LIBTCL
> > CL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H 
> -DHAVE_LIBTK8_0
> > -DHAV
> > E_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1
> > -DHAVE_STRING_H=1 -DHA
> > VE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
> > -DHAVE_OTCL_H=1
> > -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1
> > -DHAVE_GETRUSAGE
> > =1 -DHAVE_SBRK=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1  -I. 
> -I../tclcl-1.0b8
> > -I../o
> > tcl-1.0a4
> > -I/home/hjsong/networkSim/ns/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/g
> > eneric -I../tcl8.0.4/generic  -o emulate/net-pcap.o 
> emulate/net-pcap.cc
> > >emulate/net-pcap.cc:60: pcap.h: No such file or directory
> > >make: *** [emulate/net-pcap.o] Error 1
> >
> >
> >
> >
> > --
> > Hyo Jung Song
> >
> > UCSD/CSE-AP&M, 6414                        Email: 
> [email protected]
> > 9500 Gilman Drive, Dept. 0114              Phone: 858-822-2449
> > La Jolla, CA 92093-0114                    Fax  : 858-534-7029
> > USA
> >
> 
>