Wireshark-dev: Re: [Wireshark-dev] Help:A problem when I try to compile wireshark

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Mon, 21 Jun 2010 08:24:53 -0400
Leon Liu wrote:
Hi,

I followed the instructions for developer to compile the wireshark, but fatal error happened.
The error is NMAKE : fatal error U1045: spawn failed : No error.

I don't know how to solve it, so hope your guys give me some tips.
Below is the steps I executed:

C:\wireshark>nmake -f Makefile.nmake verify_tools

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/cl
        link: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/link

        nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/nmak
e
        mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin/mt
        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: /cygdrive/c/Perl/bin/perl
        C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget





        cd ..
        rm -f svnversion.h
        perl make-version.pl
NMAKE : fatal error U1045: spawn failed : No error
Stop.



Perl problem ??

"perl: /cygdrive/c/Perl/bin/perl" above suggests you are using a non-cygwin version of Perl.

What happens if you do a perl -v from the command line ?


I don't remember if using a non-Cygwin perl is OK....