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

Wireshark-dev: Re: [Wireshark-dev] win32 build issue: "Can't find mt.exe"

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 07 Jun 2011 10:32:10 -0400
On 6/7/2011 2:08 AM, محـســــــــنـــــــــ ایــــــــمانیـــــــــ wrote:
Hi

I've tried to buil wireshark on windows.But it has some problem with
"mt.exe" and "zlib" that I couldn't resolve.

the output of "nmake -f Makefila.nmake setup" command is:

"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
         sed: /usr/bin/sed
         unzip: /usr/bin/unzip
         wget: /usr/bin/wget

Can't find:  mt

ERROR: These application(s) are either not installed or simply can't be
found in
  the current PATH:
/cygdrive/c/PROGRA~1/MICROS~3/Common/msdev98/BIN:/cygdrive/c/
PROGRA~1/MICROS~3/VC98/BIN:/cygdrive/c/PROGRA~1/MICROS~3/Common/TOOLS/WINNT:/cyg
drive/c/PROGRA~1/MICROS~3/Common/TOOLS:/cygdrive/c/WINDOWS/system32:/cygdrive/c/
WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Common
Files
/GTK/2.0/bin:/cygdrive/c/Program Files/Microsoft SQL
Server/90/Tools/binn:/cygdr
ive/c/Program Files/Microsoft Visual
Studio/Common/Tools/WinNT:/cygdrive/c/Progr
am Files/Microsoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program
Files/Mi
crosoft Visual Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft
Visual St
udio/VC98/bin:/usr/bin:/cygdrive/c/wireshark-win32-libs-1.4/gtk2/bin:/cygdrive/c
/bin:/cygdrive/c/wireshark-win32-libs-1.4/zlib123.

For additional help, please visit:
   http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html

NMAKE : fatal error U1077: 'bash' : return code '0x1'
Stop."


What version of Windows and what version of VC are you using ?
What version of Wireshark are you trying to build ? 1.4 ?

It looks like you are using VC6.

If so, that probably (definitely ?) won't work with reasonably current versions of Wireshark (such as Wireshark 1.4).

VC9EE (VC 2008EE) is available for download from Microsoft (free) and is what is currently used to build Wireshark.


See http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html for info.