Wireshark-dev: Re: [Wireshark-dev] Trouble building wireshark: unrecognized command

From: "Diaconou, Alex" <alex.diaconou@xxxxxxxx>
Date: Thu, 13 Dec 2007 14:21:09 -0700

It appears I found the problem.  I ran verify_tools on my good install and it showed sed as pointing to “c:\ent\appl\prod\bin”, but I thought it was using c:\cygwin\sed.  The sed.exe in the \ent\...\bin dir on my dev machine was outdated, so I copied the newer version and everything seems to be ok.

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Diaconou, Alex
Sent: Thursday, December 13, 2007 12:18 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Trouble building wireshark: unrecognized command

 

I apologize, the -3 was a typo.  I had to manually type the console output since I am trying to build wireshark on a remote machine.  I added the quotes too, and still nothing.

 

If I run the command by itself from the command line, it appears to be OK.  (No output, but no errors).

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Heude
Sent: Thursday, December 13, 2007 11:50 AM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] Trouble building wireshark: unrecognized command

 

Hi,
The problem you have comes from the command line which calls the sed unix command. The option "-3" does not exist for sed. You may replace -3 by -e. I would also add double quote character (") after the first -e option, like this :
sed -e "s/@VERSION@/0.3.1/" -e "s/@HAVE_LIBZ@/#define HAVE_LIBZ 1/" < config.h.win32 >config.h

Pascal

Diaconou, Alex a écrit :

<hr size=2 width="100%" align=center tabindex=-1>

From: Diaconou, Alex
Sent: Thursday, December 13, 2007 10:33 AM
To: 'wireshark-dev@xxxxxxxxxxxxx'
Subject: Trouble building wireshark: unrecognized command

Hi,

I am currently trying to build wireshark using VC++ 2005 EE on Windows XP. I was able to do it on my own machine, but I had to move it over to an offline machine to do some development. I cannot run nmake setup since the system is offline, so I just copied the win32-lib folder from own successful intsall onto the offline machine. I also copied the source that I was able to build successfully on my own machine, so the setup *should* be identical on the offline machine. However, I get this

error when compiling and cannot figure out what the problem is:

Microsoft ® Program Maintenance Utility Version 8.00.50727.42

Copyright © Microsoft Corporation. All rights reserved.

sed –e s/@VERSION/@/0.3.1/ -3 “s/@HAVE_LIBZ@/#define HAVE_LIBZ 1/” < config.h.win32 > config.h

Unrecognized command: “s/@HAVE_LIBZ@/#define

NMAKE : fatal error U1077: ‘sed’ : return code ‘0x2’

Stop.

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

Stop.

Any ideas?

Thanks,


Alex

 
 
 



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

 


Windows Live Messenger 2008 vient de sortir, entièrement personnalisable ! Téléchargez gratuitement Messenger 2008