Wireshark-dev: Re: [Wireshark-dev] Issues with Installing Libraries (Win32)

From: "Ramesh Sankaranarayanan" <jdolly@xxxxxxxxx>
Date: Thu, 16 Oct 2008 14:56:03 -0600
Anders

Thanks for pointing me to the problem.  The MSVC_VARIANT in config.nmake was incorrectly referring to MSVC2008 instead of MSVC6. 

After making that change, I did not have the mt.exe issue.

The build appeared to run its course( all the packet dissector files were compiled) and ended up finally with this error:


Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        perl perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
        cd doc
        copy /B wireshark.pod + ..\AUTHORS-SHORT-FORMAT wireshark-tmp.pod
wireshark.pod
..\AUTHORS-SHORT-FORMAT
        1 file(s) copied.
        copy ..\docbook\ws.css .
        1 file(s) copied.
        bash -o igncr pod2html                     --title="The Wireshark Network Analyzer 1.1.2-DVB-SIM"  --css=ws.css  --noind
              wireshark-tmp.pod > wireshark.html
Can't execute /usr/bin/pod2html.
NMAKE : fatal error U1077: 'bash' : return code '0x1d'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return code '0x2'
Stop.

I do see the pod2html file in "c:\cygwin\bin". Any idea as to why it would fail at this point?

Thanks again.

Sunny

On Thu, Oct 16, 2008 at 12:03 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
Hi,
Did you change the Visual studio setting in config.nmake?

# "Microsoft Visual Studio 6.0"

# Visual C++ 6.0, _MSC_VER 1200, msvcrt.dll (version 6)

#MSVC_VARIANT=MSVC6

:

# "Microsoft Visual Studio 2008"

# Visual C++ 9.0, _MSC_VER 1500, msvcr90.dll

MSVC_VARIANT=MSVC2008

Regards

Anders



From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Graham Bloice
Sent: den 16 oktober 2008 19:22

To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Issues with Installing Libraries (Win32)

Ramesh Sankaranarayanan wrote:
Thanks to all of you for your feedback.

Setting the PATH environment variable to pick the unzip from cygwin instead of Oracle 9i - resolved the installation of the Libraries.

After doing distclean (Step 2.2.9 - "nmake -f Makefile.nmake distclean"), I tried to build Wireshark (Step 2.2.10 - "nmake -f Makefile.nmake make all").

During the build process, I get the following error:

/***/

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'zlib1.dll' is up-to-date
        if not exist C:\wireshark-win32-libs\zlib123 mkdir C:\wireshark-win32-libs\zlib123
        if not exist C:\wireshark-win32-libs\zlib123\lib mkdir C:\wireshark-win32-libs\zlib123\lib
        if not exist C:\wireshark-win32-libs\zlib123\include mkdir C:\wireshark-win32-libs\zlib123\include
        mt.exe -nologo -manifest "zlib1.dll.manifest" -outputresource:zlib1.dll;2
'mt.exe' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'mt.exe' : return code '0x1'
Stop.
/***/

When I do a search on the Manifest Tool (mt.exe), I dont see it anywhere on my C Drive.  I am running Visual Studio 6 . Is this exe part of Platform SDK?  Should I expect to see it under "C:\Program Files\Microsoft Visual Studio\VC98\Bin"?

FYI , I have run VCVARS32.bat from "C:\Program Files\Microsoft Visual Studio\VC98\Bin" as per the instructions.

IIRC it's part of the SDK.  I think you need to run vcvars from the SDK to get all the SDK dirs onto the path.  Is their any particular reason you are using VC6 rather than the newer (and free as in beer) VS 2008 Express?

-- 
Regards,

Graham Bloice

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev