ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Problem with tools/win-setup.sh

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
Date: Thu, 05 Jan 2012 21:48:54 -0500
Weir, Alan wrote:
Hi Ed,

When running "nmake -f makefile.nmake verify_tools" the message:

	ERROR: The contents of C:\wireshark-win32-libs\current_tag.txt is (unknown).
	It should be 2011-06-27.

Is emitted even though the file exists and contains the correct text.

Ah, good clue. I'm guessing you have some other "cat" program in the path. To check this, from the Windows command prompt (not the bash shell) do this:

echo which cat > foo.sh
bash foo.sh

This should return something like
/usr/bin/cat

for the first line and then your complete path. If instead it returns something like
/cygdrive/c/Program Files/PackageIForgotIEverInstalled/cat

Then you've found your problem. Either rename the other cat or fiddle with the path to point to the cygwin version of cat first. If that doesn't do it, let us know and we'll dig a little deeper.

Ed