Wireshark-dev: Re: [Wireshark-dev] Build error: NMAKE : fatal error U1077: 'sed'

Date: Mon, 22 Oct 2007 15:33:42 -0500
 
 
Make sure you have setup your build environment per the developers guide.


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Diaconou, Alex
Sent: Monday, October 22, 2007 12:37 PM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Build error: NMAKE : fatal error U1077: 'sed'

Hi,

 

I am trying to build on windows XP and I am getting this error:

 

 

D:\Wirehark\wireshark-0.99.6>nmake -f Makefile.nmake all

 

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

        sed -e s/@VERSION@/0.99.6/  -e "s/@HAVE_GNU_ADNS@/#define HAVE_GNU_ADNS 1/"  -e "s/@HAVE_PCRE@/#define HAVE_LIBPCRE 1/"  -e "s/@HAVE

_KFW@/#define HAVE_MIT_KERBEROS 1/"  -e "s/@HAVE_NETTLE@//"  -e "s/@HAVE_LIBZ@/#define HAVE_LIBZ 1/"  -e "s/@HAVE_LIBPCAP@/#define HAVE_LIBP

CAP 1/"  -e "s/@HAVE_PCAP_FINDALLDEVS@/#define HAVE_PCAP_FINDALLDEVS 1/"  -e "s/@HAVE_PCAP_DATALINK_NAME_TO_VAL@/#define HAVE_PCAP_DATALINK_

NAME_TO_VAL 1/"  -e "s/@HAVE_PCAP_DATALINK_VAL_TO_NAME@/#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1/"  -e "s/@HAVE_PCAP_BREAKLOOP@//"  -e "s/@H

AVE_LIBWIRESHARKDLL@/#define HAVE_LIBWIRESHARKDLL 1/"  -e "s/@WPCAP_CONSTIFIED@/#define WPCAP_CONSTIFIED 1/"  -e "s/@HAVE_LIBGNUTLS@/#define

 HAVE_LIBGNUTLS 1/"  -e "s/@HAVE_LIBGCRYPT@/#define HAVE_LIBGCRYPT 1/"  -e "s/@HAVE_LUA@/#define HAVE_LUA 1/"  -e "s/@HAVE_LUA_5_1@/#define

HAVE_LUA_5_1 1/"  -e "s/@HAVE_AIRPCAP@/#define HAVE_AIRPCAP 1/"  -e "s/@HAVE_AIRPDCAP@/#define HAVE_AIRPDCAP 1/"  -e "s/@HAVE_LIBPORTAUDIO@/

#define HAVE_LIBPORTAUDIO 1/"  -e "s/@PORTAUDIO_API_1@//"  -e "s/@HAVE_NET_SNMP@/#define HAVE_NET_SNMP 1/"  < config.h.win32 > config.h

The system cannot execute the specified program.

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

Stop.

 

 

Has anyone seen this before/know what the problem is?  I tried changing the make file to use “c:\cygwin\sed.exe” but that didn’t work either.

 

Thanks,

 

Alex