Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: Re: [Ethereal-users] Help me to COMPILE ethereal !!

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Mon, 20 Dec 2004 21:45:36 +0100
[Note: this should be directed to ethereal-dev as it's about developing Ethereal, not using Ethereal.]

Hello Konstantin,

You need to download the Ethereal source code. You can do so from the Ethereal web site, or if yu prefer (and are acquainted with SVN), use the anonymous SVN repository which you can check out locally on your development machine.

(1) The main Ethereal source directory is the directory containing the README.win32 file (among other files), and contains the Ethereal source files and their hierarchy (e.g., the subdirectories epan, asn1, doc, gtk, plugins, wiretap).

(2) The config.nmake file resides in the Ethereal main source directory (1).

(3) Almost every directory in the Ethereal distribution contains a Makefile.nmake file. Unless you want to add a protocol dissector, you shouldn't need to edit those files.

Before trying to run "nmake -f Makefile.nmake" in the top Ethereal directory, make sure that:
1. you have downloaded and unpacked the Ethereal source files
2. you have the correct MSVC compiler and you have copied its VCVARS.BAT (or VCVARS32.BAT) file to the Ethereal main source directory for convenience. 3. you have created a directory named "c:\ethereal-win32-libs" (it will contain the helper linraries you were trying to build) 4. Open a command window (on NT/2k/XP/2003, hit <WindowsKey>+R (or Start -> Run), type "cmd" and hit enter. 5. Change to the Ethereal main source directory, and invoke VCVARS.BAT (or VCVARS32.BAT) 6. Follow the instructions from README.win32 (don't forget editing config.nmake so it fits your wishes, and don't forget an initial nmake -f Makefile.nmake setup)

Hope this helps!

Best regards,

Olivier


----- Original Message ----- From: Zertsekel, Kostantin

Hi,
below is copied README from http://anonsvn.ethereal.com/ethereal-win32-libs/trunk/README
That's absolutely unclear for me:
   (1) what is "the main Ethereal source directory"
   (2) where can i find config.nmake file
   (3) where can i find Makefile.nmake file

Can you please explain it? Thank you in advance.
Konstantin.

*************************************************************************************
*** Windows Development Files for Ethereal
***
*** This repository contains the libraries necessary to compile Ethereal
*** under Windows.  You can download and unpack them by hand, but it's much
*** easier to run
***
*** nmake -f Makefile.nmake setup
***
*** from the main Ethereal source directory. This automatically downloads the
*** files to c:\ethereal-win32-libs and unpacks them.  This directory can be
*** changed by modifying the "ETHEREAL_LIBS" variable in config.nmake.
*************************************************************************************







-----Original Message-----
From: Olivier Biot [mailto:ethereal@xxxxxxxxxx]
Sent: Sunday, December 19, 2004 8:36 PM
To: Zertsekel, Kostantin (Kostantin)
Cc: Ethereal user support
Subject: ARe: [Ethereal-users] Help me to COMPILE ethereal !!


Hi,

You don't have to build those packages, you can download them with the
Ethereal makefiles. Read the README.win32 file, it provides a good start.
Don't forget to copy the VCVARS.bat (or VCVARS32.bat) to your Ethereal
environment, so you have it at hand when building. You also need some tools
from cygwin (http://www.cygwin.com/) like perl, python, sed etc (they get
tested with the "setup" target).

Best regards,

Olivier

----- Original Message ----- From: Zertsekel, Kostantin

I really want to understand Ethereal and to contribute, but this time I
can't even to compile this.

this is the output of build.bat:

c:\ethereal-win32-libs\net-snmp-5.1.2\win32>build


Net-SNMP build and install options
==================================

1. OpenSSL support:      disabled
2. Platform SDK support: disabled

3. Install path:         c:/usr
4. Install after build:  enabled

5. Perl modules:         disabled
6. Install perl modules: disabled

7. Quiet build (logged): enabled
8. Debug mode:           disabled
9. IPv6 transports:      disabled

F. Finished - start build
Q. Quit - abort build

Select option to set / toggle: 2


Net-SNMP build and install options
==================================

1. OpenSSL support:      disabled
2. Platform SDK support: enabled

3. Install path:         c:/usr
4. Install after build:  enabled

5. Perl modules:         disabled
6. Install perl modules: disabled

7. Quiet build (logged): enabled
8. Debug mode:           disabled
9. IPv6 transports:      disabled

F. Finished - start build
Q. Quit - abort build

Select option to set / toggle: f

Building...

Creating *.out log files.

Deleting old log files...
Running Configure...
Cleaning...
Building main package...
Build error (see make.out) at build.pl line 179, <> line 2.
c:\ethereal-win32-libs\net-snmp-5.1.2\win32>