RE: problem in building ethereal on windows
"Bill Florac" <[email protected]>
| Newsgroups | gmane.network.ethereal.devel |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]
[mailto:[email protected]] On Behalf Of Raman Singla
Sent: Monday, May 15, 2006 5:23 PM
To: [email protected]
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
_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev