This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I want build wireshark 1.7.0, but get the following output from the verify_tools step:


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

Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。

: No such file or directory8: /cygdrive/z/wireshark/tools/win-setup.sh

: cannot execute: No such file or directoryve/z/wireshark/tools/win-setup.sh

: No such file or directory8: /cygdrive/z/wireshark/tools/win-setup.sh

: cannot execute: No such file or directoryve/z/wireshark/tools/win-setup.sh

NMAKE : fatal error U1077: “D:\cygwin\bin\bash.EXE”: 返回代码“0x7e”
Stop.

...and I can find the file here:


Z:\wireshark>pwd
/cygdrive/z/wireshark

Z:\wireshark>ls tools/win-setup.sh
tools/win-setup.sh

How can I fix this?

This question is marked "community wiki".

asked 12 Jan '12, 08:51

huanglihao's gravatar image

huanglihao
1112
accept rate: 0%

edited 12 Jan '12, 09:23

multipleinterfaces's gravatar image

multipleinte...
1.3k152340

verify_tools first calls tools/win32-setup.sh (or win64-setup.sh) which in turn calls win-setup.sh.

win32-setup.sh is being found and executed OK.

win32-setup.sh

...

WIN_SETUP=`echo $0 | sed -e s/win32/win/

exec $WIN_SETUP [email protected]

I expect there's some problem with the above (maybe related to your specific language environment ?).

Are you comfortable with doing a little debugging ?

Specifically: add something like printf ">%s<\n", $WIN_SETUP just before the exec in win32-setup.sh and rerun the verify-tools.

(12 Jan '12, 09:39) Bill Meier ♦♦

I know this is old but did you ever fix this issue? Im having the same problem and cant figure it out

(20 Dec '13, 08:33) Hockeyfreak889
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×158
×110

question asked: 12 Jan '12, 08:51

question was seen: 3,119 times

last updated: 20 Dec '13, 09:26

p​o​w​e​r​e​d by O​S​Q​A