Wireshark-dev: [Wireshark-dev] newbie build problem with python
From: Shelly Cadora <scadora@xxxxxxxxx>
Date: Sat, 16 Sep 2006 16:57:09 -0700 (PDT)
Hi,
 
Trying to build wireshark for the first time here but I'm getting this fatal error:

Making register.c (using python)
/usr/bin/env: python: No such file or directory
NMAKE : fatal error U1077: 'c:\cygwin\bin\env.exe' : return code '0x7f'
Stop.
 
If I change config.nmake from
PYTHON=env python
 
to
 
PYTHON="C:/Python23/python.exe"
PATH=c:\python23;$(PATH)
 
then the error changes to this:
Making register.c (using python)
C:/Python23/python.exe: can't open file '..'
NMAKE : fatal error U1077: 'C:/Python23/python.exe' : return code '0x2'
Stop.
 
Any ideas what could cause this to fail?  I've been following the Wireshark Wiki for MSVC 7 since I don't have access to the non-free versions.
 
Here's the output from verify_tools -- python is where it should be as far as I can tell.
 
C:\wireshark>nmake -f Makefile.nmake verify_tools
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.
Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/
cl
        link: /cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bi
n/link
        nmake: /cygdrive/c/Program Files/Microsoft.NET/SDK/v1.1/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:\wireshark>
 
Thanks,
Shelly


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.