Wireshark-dev: [Wireshark-dev] Windows 2K build problem(s)
From: "Michael Allport" <mallport@xxxxxxxxxx>
Date: Thu, 6 Sep 2007 15:41:36 -0700

I apologize if this is not the correct forum, but I’ve got a question …

 

 

I am using Microsoft Visual Studio 2005 Standard Edition on a Windows 2000 (5.00.2195 Service Pack 4) laptop PC.

 

When I run through the build process, some make files can find items like perl, sed, and xcopy …. then they cannot.

 

Even more frustrating is I can run the commands manually that ‘just failed’ in the build process.

 

For example, the following snippet of make output shows perl being not found, then I can run the command my self.

 

The interesting thing is, I have no problem building on a Windows XP Home Edition environment (running through the same commands and using the same software).

 

Please help.

 

 

---------- snippet begin ------------

 

 

… the build process steps into the dissectors and cannot find perl, but I can run manuall…

 

 

 

 

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

'dfilter.lib' is up-to-date

        cd ..

        cd wslua

        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /                   -f Makefile.nmake

 

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

'wslua.lib' is up-to-date

        cd ..

        cd dissectors

        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /                   -f Makefile.nmake

 

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

        perl process-x11-fields.pl <x11-fields

'perl' is not recognized as an internal or external command,

operable program or batch file.

NMAKE : fatal error U1077: 'perl' : return code '0x1'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'

Stop.

 

C:\wireshark>

 

 

****** I can manually run the command that failed .. .

 

C:\wireshark\epan\dissectors>

C:\wireshark\epan\dissectors>perl process-x11-fields.pl <x11-fields

 

C:\wireshark\epan\dissectors>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /                   -f Makefile.nmake

 

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I.. /I../.. /IC:\wireshark-win32-libs\glib\include\glib-2.0  /IC:\

wireshark-win32-libs\glib\lib\glib-2.0\include  /IC:\wireshark-win32-libs\net-snmp-5.4\include /IC:\wireshark-win32-libs\net-snmp-5.

4\win32 /IC:\wireshark-win32-libs\zlib123\include  /IC:\wireshark-win32-libs\pcre-6.4\include /IC:\wireshark-win32-libs\gnutls-1.6.1

-1\include /DNOCRYPT   /IC:\wireshark-win32-libs\kfw-2.5\inc   /IC:\wireshark-win32-libs\WPdpack\include -D_U_="" /Zi /W3 /MD /D_CRT

_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -Zd -Fd.\ -c packet-rrc.c

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86

Copyright (C) Microsoft Corporation.  All rights reserved.

 

cl : Command line warning D9002 : ignoring unknown option '-Zd'

packet-rrc.c

NMAKE : fatal error U1058: terminated by user

Stop.

 

C:\wireshark\epan\dissectors>

 

 

----------- snippet end -------------

 

Thanks,

  Mike

 

 

 

 

 

 

-----------------------------------------------------------------------------------

This email message and any information attached to it are for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, copy, disclosure or distribution of this message is strictly prohibited. If you are not the intended recipient of this message please contact the sender immediately by reply email and destroy all copies of the original message.