ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] buildbot failure in Wireshark (developme

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
Date: Sun, 17 Mar 2013 17:20:32 -0400 (GMT-04:00)


-----Original Message-----
>From: Evan Huus <eapache@xxxxxxxxx>
>Sent: Mar 17, 2013 12:09 PM
>To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
>Subject: Re: [Wireshark-dev] [Wireshark-commits] buildbot failure in Wireshark (development) on Windows-XP-x86
>
>I'm still not having any luck (and I've reread
>https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html to
>no avail). I have two shells available: cygwin's bash and windows'
>cmd.exe.
>
>If I run cmd.exe and then run the vcvars32 script, I can build
>Wireshark correctly using nmake. This seems to be working fine.
>
>I I run cygwin then I do not have nmake available. Running the
>vcvars32 script from cygwin does not seem to change this (should it)?
>
>I cannot run test.sh from cmd.exe since cmd.exe will not interpret
>unix shell scripts. I cannot run test.sh from cygwin since it requires
>nmake, which I cannot get cygwin to recognize.

Here's what I did (that worked).  First, from a cmd.exe prompt, I set up the build environment as per https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupPrepareCommandCom (using the script there).  Next, I ran \cygwin\bin\bash to get a bash shell.  Then I fixed the path (under bash) using the command "export PATH=$PATH:/bin" and then I changed to the test directory "cd test". Finally, I ran the test script from there "./test.sh -c" and everything worked.  If that works for you (or if it doesn't) let us know.  Since I was the last person to edit that portion of the developer's guide, I'd like to know your thoughts on how it should be edited so that this will be easier to understand.  It's definitely not intuitive, but I'm not sure where this test-specific information should be placed.  Any ideas would be welcome.

Ed