Ethereal-dev: RE: [Ethereal-dev] problem in building ethereal on windows

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

From: "Bill Florac" <bill.florac@xxxxxxxxxxxxxx>
Date: Mon, 15 May 2006 22:41:14 -0500
Title: Message
I'm guessing someone can answer this better but I'll give it a try.
 
As far as I know everything is base on the path. Your compiler needs to be in your path and it needs to be the first compiler in the path.  This is true for many of the tools.  If you have not done so, you need to run:
 
nmake -f makefile.nmake verify_tools
 
This is run from the ethereal directory.
 
Of course to get this to work, you need to have nmake to work. There is a script provided by microsoft called VCVARS32.BAT that should set the environment correct variables. 
 
The above command should resolve like this:
 
C:\My Documents\Visual Studio Projects\Ethereal>nmake -f makefile.nmake verify_tools
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
Checking for required applications:
        cl: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/cl
        link: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/link
        nmake: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/nmake
        bash: /usr/bin/bash
        bison: /usr/bin/bison
        flex: /usr/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        perl: /usr/bin/perl
        env: /usr/bin/env
        python: /usr/bin/python
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget
 
C:\My Documents\Visual Studio Projects\Ethereal>
 
As you see, if you have done so you will need to install CYGWIN
 
Once above passes, things should work just fine!  Be warned taht you must use the grep as shown above. Other grep utilities do not work the same.  I usually complie via a batch script that calls VCVARS32.BAT, compiles and then, if successful, copies the updated DLL to the correct directory (I usually compile just the plug-in I'm working on).
 
Bill
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Raman Singla
Sent: Monday, May 15, 2006 5:23 PM
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] problem in building ethereal on windows

hi,
 
I m trying to build ethereal on Windows XP, using VC++. I don't have Visual Studio rather i am using VC++ 6 Service Pack 3.
 
The problem is that VC++ is automatically gets installed into Apps_32 folder whereas Ethereal expects it in Program Files folder.
 
I m unable to change path in windows script file. Kindly help me out in this problem.
 
regards,
raman
 
Raman
Ext - 1667