Hello, I re-installed my PC and I'm trying to re-setup my wireshark build environment. After a fresh svn checkout, a nmake -f makefile.nmake distclean, I can't run "nmake -f makefile.nmake setup": win32setup.sh complains about cl that can't be found: ---------- C:\transfer\ethereal\winbuild\ethereal>nmake -f makefile.nmake setup Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Checking for required applications:
ERROR: Can't find cl. This is probably an optional cygwin package not yet installed. Try to install it using cygwin's setup.exe! NMAKE : fatal error U1077: 'bash' : return code '0x1' Stop. ---------- (side note: cl is not part of cygwin, maybe we should change the message there). But cl is in the path (I ran vcvars32.bat). ---------- C:\transfer\ethereal\winbuild\ethereal>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] ---------- The issue seems to be that cygwin's "which" can't find "cl". In win32setup.sh, this piece of code is checking the app: APP_PATH=`cygpath --unix $APP` if [ -x "$APP_PATH" -a ! -d "$APP_PATH" ] ; then APP_LOC="$APP_PATH" else APP_LOC=`which $APP_PATH 2> /dev/null` fi Running which and cygpath, I get: --------------------- C:\transfer\ethereal\winbuild\ethereal>which cl cl: Command not found. C:\transfer\ethereal\winbuild\ethereal>cygpath --unix cl cl --------------------- Is there anyone that encountered the same problem? Any idea? Thanks a lot, Olivier. _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev