This is a static archive of our old Q&A Site. Please post any new questions and answers at

unzip: /cygdrive/c/Turbo/TC/BIN/unzip.. How to change it to point to cygwin



when I run nmake -f Makefile.namke verify_tools, unzip package is currently pointing to

   unzip: /cygdrive/c/Turbo/TC/BIN/unzip

Because of which I'm getting following err while running nmake -f Makefile.nmake setup

   ERROR: Couldn't unpack '/cygdrive/c/Wireshark-win32-libs/'

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

I have included cygwin (C:\cygwin\bin) in my path env variable. I also can see unzip is being installed in /usr/bin/unzip.exe. So, I wanted to know how I can change it to point to /usr/bin/unzip Thanks in advance

asked 21 May ‘13, 17:02

wiremeup's gravatar image

accept rate: 0%

edited 21 May ‘13, 17:03

One Answer:


You have an entry in your path that points to the TurboC bin directory. There is no need to add Cygwin to your path, the Wireshark build environment does that for you.

To fix the issue, either modify your user or system path as appropriate to remove the entry for the TurboC bin directory (this may break TurboC though) or in the command shell you use to compile Wireshark modify the PATH environment variable so that the TurboC bin directory is not listed.

answered 22 May '13, 01:22

grahamb's gravatar image

grahamb ♦
accept rate: 22%

edited 22 May '13, 01:54

Thanks for the answer.. but I added cygwin/bin to the beginning of the PATH variable, before TurboC/bin directory, after which it worked...!! Thanks for your time...

(22 May '13, 01:42) wiremeup