2000-04-29 08:32:50 +00:00
|
|
|
$Id: README.win32,v 1.9 2000/04/29 08:32:50 guy Exp $
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
Ethereal can be compiled on Win32 platforms. Some libraries are
|
|
|
|
needed, however.
|
|
|
|
|
|
|
|
The glib, gtk, glib-dev, and gtk-dev packages for win32 can be found
|
2000-01-25 02:11:30 +00:00
|
|
|
at
|
|
|
|
http://www.gimp.org/~tml/gimp/win32
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
http://www.iki.fi/tml/gimp/win32/
|
|
|
|
|
|
|
|
(the mirror nearer to you may be faster).
|
|
|
|
|
2000-04-29 08:32:50 +00:00
|
|
|
You will definitely need these. Download them and unpack them. Some
|
|
|
|
problems had been seen with versions of those libraries after the
|
|
|
|
1999-08-28 version but before the 2000-04-16 version, but those problems
|
|
|
|
don't appear to occur with the 2000-04-16 version. If you see problems
|
|
|
|
(e.g., a mangled hex dump window), the 1999-08-28 version can be found
|
|
|
|
at
|
2000-01-25 02:11:30 +00:00
|
|
|
|
|
|
|
http://www.gimp.org/~tml/gimp/win32/index-19990828.html
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
http://www.iki.fi/~tml/gimp/win32/index-19990828.html
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-04-13 09:03:32 +00:00
|
|
|
If you want to be able to capture packets, a Win32 version libpcap is
|
|
|
|
also needed. You'll need the WinPcap developer's pack available from
|
|
|
|
|
|
|
|
http://netgroup-serv.polito.it/winpcap/
|
2000-02-09 19:18:42 +00:00
|
|
|
|
|
|
|
In order to capture with Win32, you need to install the NDIS
|
2000-04-13 09:03:32 +00:00
|
|
|
packet capture driver for your particular Win32 OS; drivers for Windows
|
|
|
|
9x, Windows NT 4.0, and Windows 2000 are included in the WinPcap
|
|
|
|
developer's pack.
|
2000-02-09 19:18:42 +00:00
|
|
|
|
2000-04-13 09:03:32 +00:00
|
|
|
The home page for WinDump (TCPdump for Windows), which uses the Win32
|
|
|
|
libpcap, is at:
|
2000-02-09 19:18:42 +00:00
|
|
|
|
2000-04-13 09:03:32 +00:00
|
|
|
http://netgroup-serv.polito.it/windump/
|
2000-02-09 19:18:42 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
The UCD SNMP library for win32 can be had from
|
2000-04-13 09:03:32 +00:00
|
|
|
|
|
|
|
ftp://ftp.revelstone.com/pub/snmp/
|
|
|
|
|
|
|
|
but it has not been tested with Ethereal.
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
Zlib (or 'libz') is available for Win32 from
|
2000-04-13 09:03:32 +00:00
|
|
|
|
|
|
|
http://www.winimage.com/zLibDll/
|
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
but also has not been made to work successfully with Ethereal.
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
Instructions for MS Visual C
|
|
|
|
----------------------------
|
2000-02-09 00:41:57 +00:00
|
|
|
Modify the config.nmake file in the top directory of the Ethereal
|
|
|
|
source tree to work for your local configuration. You should not
|
|
|
|
have to modify any other Makefile.
|
1999-07-21 17:40:42 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
Be sure that your command-line environment is set up to compile
|
2000-03-03 07:06:13 +00:00
|
|
|
and link with MSVC. When installing MSVC, you can have your
|
2000-01-15 00:23:13 +00:00
|
|
|
system's environment set up to always allow compiling from the
|
|
|
|
command line, or you can invoke the vcvars32.bat script.
|
1999-07-21 17:40:42 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
In the ethereal directory, type "nmake -f makefile.nmake". It will
|
|
|
|
recurse into the subdirectories as appropriate.
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-04-29 08:32:50 +00:00
|
|
|
To do a full build, or if you modify any of the ".y" files, any of the
|
|
|
|
".l" files, or any of the dissector files, you will need Bison, Flex,
|
|
|
|
Bash, and various other UNIX-compatible utilities. However, if you have
|
|
|
|
a Unix system handy, you can first build on Unix to create the source
|
|
|
|
files that these tools make, then run the build on Windows. That will
|
|
|
|
avoid the need for these tools on your Windows computer.
|
|
|
|
|
|
|
|
If you don't have a Unix system handy, those tools are available for
|
|
|
|
Win32 systems as part of the Cygwin package:
|
|
|
|
|
|
|
|
http://sourceware.cygnus.com/cygwin/
|
|
|
|
|
|
|
|
After installing them, you will probably have to modify the config.nmake
|
|
|
|
file to specify where the Cygwin binaries are installed.
|
1999-07-13 02:53:26 +00:00
|
|
|
|
1999-07-21 17:40:42 +00:00
|
|
|
Make sure the glib and gtk DLL's are in your path when you run
|
2000-04-29 08:32:50 +00:00
|
|
|
Ethereal. This includes gtk-*.dll, glib-*.dll, gmodule-*.dll, gdk-*.dll,
|
|
|
|
and gthread-*.dll.
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-04-29 08:32:50 +00:00
|
|
|
Instructions for Cygwin
|
1999-07-13 02:53:26 +00:00
|
|
|
-----------------------
|
2000-04-29 08:32:50 +00:00
|
|
|
No one has ever compiled Ethereal entirely with Cygwin. It should not
|
|
|
|
be difficult, however. This spot is reserverd for your instructions on
|
|
|
|
how to compile Ethereal with Cygwin.
|