http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1162
Summary: Wireshark doesn't compile on WinXP: bash version issue
Product: Wireshark
Version: SVN
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: High
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: olivier.jacques@xxxxxx
Build Information:
> tshark.exe -v
ethereal:protocolproto_name="mscml"media="application/mediaservercontrol+xml"description="MediaServerControlMarkupLangua
ing enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
TShark 0.99.4 (SVN Rev 19321)
Copyright 1998-2006 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GLib 2.6.6, with WinPcap (version unknown), with libz 1.2.3,
with libpcre 6.4, with Net-SNMP 5.3.1, with ADNS, with Lua 5.1,
with GnuTLS 1.5.1, with Gcrypt 1.2.3, with MIT Kerberos,
Running on Windows XP Service Pack 2, build 2600
with WinPcap version 3.1 (packet.dll version 3, 2, 0, 1), based on libpcap
version 0.9[.x].
--
As reported by Wayne Speir, latest Cygwin's "bash" breaks Wireshark build on
Windows. I had the same issue, applied the same work around and it fixed the
problem.
The thing is that I don't know how to have a solution that works for both
version of bash.
The issue is that Windows build will break for all users that upgrade their
Cygwin. This is why I rated bug's priority as "high".
Original message from Wayne:
---------------------------
I just updated cygwin today and found that when I typed this:
> nmake -f Makefile.nmake verify_tools
it failed with the following error messages:
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
: command not foundh: line 2:
: command not foundh: line 4:
'ools/win32-setup.sh: line 5: syntax error near unexpected token `{
'ools/win32- setup.sh: line 5: `err_exit () {
NMAKE : fatal error U1077: 'bash' : return code '0x2'
Stop.
I used the cygwin setup utility to reinstall the previous version of bash and
then it worked again.
The new version that breaks it is BASH_VERSION=' 3.1.17(9)-release'. The cygwin
package is bash-3.1.9.tar-bz2.
The previous version that works for me is BASH_VERSION='3.1.17(6)-release'. The
cygwin package is bash-3.1.6.tar.bz2.
Maybe I can save somebody else the hassle of tracking this down.
Now as to why it breaks -- I don't know and don't care to pursue it...
-- Wayne
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.