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

Hello I have followed the steps to hopefully build but I hit an issue when running nmake -f Makefile.nmake verify_tools

The issue is ERROR: Can't find 'which'. Unable to proceed.

NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1' Stop.

However the which.exe is found in c:\cygwin\bin and can be called from the command line. Has this issue been seen before?

Thanks

asked 13 Jan '14, 12:29

howardh's gravatar image

howardh
1112
accept rate: 100%


Figured out, stupid issue. I had another program of the "which" command inside one of my paths that took precedence over the cygwin version. It seems this other package just had naming issues with cygwin's own "which" functionality.

permanent link

answered 13 Jan '14, 14:54

howardh's gravatar image

howardh
1112
accept rate: 100%

please elaborate this a bit.. how did you solve it?

(02 Jun '14, 13:25) aman

The OP's PATH included a directory that preceded the cygwin bin directory and that directory had a "which.exe" that did not behave as the build environment intended.

(02 Jun '14, 14:23) grahamb ♦
Your answer
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:

×21
×6
×1

question asked: 13 Jan '14, 12:29

question was seen: 1,036 times

last updated: 02 Jun '14, 14:23

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