bring a little bit more uptodate
This commit is contained in:
parent
e5db17becd
commit
c972305a1f
32
INSTALL
32
INSTALL
|
@ -1,13 +1,12 @@
|
|||
@(#) $Header: /tcpdump/master/libpcap/Attic/INSTALL,v 1.43 2000-06-11 16:46:21 mcr Exp $ (LBL)
|
||||
@(#) $Header: /tcpdump/master/libpcap/Attic/INSTALL,v 1.44 2000-07-30 06:01:22 assar Exp $ (LBL)
|
||||
|
||||
To build libpcap, first customize any paths in Makefile.in, then run
|
||||
"./configure" (a shell script). The configure script will determine
|
||||
your system attributes and generate an appropriate Makefile from
|
||||
Makefile.in. Next run "make". If everything goes well you can su to
|
||||
root and run "make install", "make install-incl" and "make
|
||||
install-man". However, you need not install libpcap if you just want to
|
||||
build tcpdump; just make sure the tcpdump and libpcap directory trees
|
||||
have the same parent directory.
|
||||
To build libpcap, run "./configure" (a shell script). The configure
|
||||
script will determine your system attributes and generate an
|
||||
appropriate Makefile from Makefile.in. Next run "make". If everything
|
||||
goes well you can su to root and run "make install". However, you need
|
||||
not install libpcap if you just want to build tcpdump; just make sure
|
||||
the tcpdump and libpcap directory trees have the same parent
|
||||
directory.
|
||||
|
||||
If configure says:
|
||||
|
||||
|
@ -34,18 +33,7 @@ You will need an ANSI C compiler to build libpcap. The configure script
|
|||
will abort if your compiler is not ANSI compliant. If this happens, use
|
||||
the GNU C compiler, available via anonymous ftp:
|
||||
|
||||
ftp://prep.ai.mit.edu/pub/gnu/gcc-*.tar.gz
|
||||
|
||||
Note well: If you use gcc, you may need to run its "fixincludes"
|
||||
script. Running fixincludes is not required with later versions of gcc
|
||||
and in some cases (e.g. Solaris 2.5) causes problems when run. The
|
||||
configure script will abort with:
|
||||
|
||||
checking for ANSI ioctl definitions... yes
|
||||
configure: error: see the INSTALL for more info
|
||||
|
||||
if it detects if the fixincludes needs to be run. If the fixincludes
|
||||
test in configure passes, you're probably ok.
|
||||
ftp://ftp.gnu.org/pub/gnu/gcc/
|
||||
|
||||
If you use flex, you must use version 2.4.6 or higher. The configure
|
||||
script automatically detects the version of flex and will not use it
|
||||
|
@ -236,7 +224,7 @@ a Sun4, your version of bison is broken. In any case version 1.16 or
|
|||
higher is recommended (1.14 is known to cause problems 1.16 is known to
|
||||
work). Either pick up a current version from:
|
||||
|
||||
ftp://prep.ai.mit.edu/pub/gnu/bison.tar.gz
|
||||
ftp://ftp.gnu.org/pub/gnu/bison
|
||||
|
||||
or hack around it by inserting the lines:
|
||||
|
||||
|
|
Reference in New Issue