Wireshark-dev: Re: [Wireshark-dev] problem with win-setup.sh
From: 孔飞 <kongfei605@xxxxxxxxx>
Date: Fri, 6 Jan 2012 23:54:34 +0800

i have encounter this problem,but it is unzip file that dosnt refers to /usr/bin/unzip,it point to an unzip file of oracle,then i rename this file.When compiling work finished,i re-rename it back.

在 2012-1-6 下午7:01, <wireshark-dev-request@xxxxxxxxxxxxx>写道:
Send Wireshark-dev mailing list submissions to
       wireshark-dev@xxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
       https://wireshark.org/mailman/listinfo/wireshark-dev
or, via email, send a message with subject or body 'help' to
       wireshark-dev-request@xxxxxxxxxxxxx

You can reach the person managing the list at
       wireshark-dev-owner@xxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wireshark-dev digest..."


Today's Topics:

  1. Re: Change default MSVC_VARIANT to MSVC2010 (Gerald Combs)
  2. Re: Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &      5       February
     (Gerald Combs)
  3. Re: Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &      5       February
     (Gerald Combs)
  4. Re: [Wireshark-commits] rev 40321: /trunk/ /trunk/epan/:
     base64.h epan.h epan_dissect.h ex-opt.h prefs.h strutil.h
     timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/:
     airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h
     ... (Gerald Combs)
  5. Re: Problem with tools/win-setup.sh (Weir, Alan)
  6. Re: Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &      5       February
     (Sake Blok)
  7. Re: Problem with tools/win-setup.sh (Ed Beroset)
  8. Re: Problem with tools/win-setup.sh (Ed Beroset)


----------------------------------------------------------------------

Message: 1
Date: Thu, 05 Jan 2012 17:08:02 -0800
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Change default MSVC_VARIANT to MSVC2010
Message-ID: <4F064972.4040107@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

On 1/5/12 12:05 PM, Bill Meier wrote:
> On 1/5/2012 2:49 PM, Anders Broman wrote:
>> Hi,
>> Is it time to change default MSVC_VARIANT to MSVC2010?
>> Regards
>> Anders
>
> +1
>
> Bill
>
> (I've also been meaning to remove support for anything earlier than
> MSVC2005 as discussed some time ago. I'll take care of that shortly).

I'm in the process of installing Visual Studio 2010 Full
Frontal^W^WPremium on the XP builder. Once that's done the Buildbot
should be ready for the switch.


------------------------------

Message: 2
Date: Thu, 05 Jan 2012 17:17:06 -0800
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &
       5       February
Message-ID: <4F064B92.2000800@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

On 1/5/12 3:19 AM, Sake Blok wrote:
> Gerald,
>
> Are plans to meet around FOSDEM finalized? For me it would be possible to meet up during the day on Friday 3rd (after which we could join the FOSDEM Beer Event :-)). I could either drive up early on Friday or come Thursday in the afternoon. If we plan something like that, I think it would be best to stay in the same hotel with all who are coming.

I'm still finalizing my travel arrangements but I was planning on being
in Brussels from the 2nd or 3rd to the 5th.

> So far I have the following attendee list, should we actively try to get more European developers interested?
>
> Gerald Combs
> Martin Kaiser
> Graham Bloice
> Martin Mathieson
> Joerg Mayer
> Sake Blok

Sure!

> Should I block my agenda for this?

Sure!


------------------------------

Message: 3
Date: Thu, 05 Jan 2012 17:19:15 -0800
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &
       5       February
Message-ID: <4F064C13.1000405@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

On 1/5/12 5:17 PM, Gerald Combs wrote:
> On 1/5/12 3:19 AM, Sake Blok wrote:
>> Gerald,
>>
>> Are plans to meet around FOSDEM finalized? For me it would be possible to meet up during the day on Friday 3rd (after which we could join the FOSDEM Beer Event :-)). I could either drive up early on Friday or come Thursday in the afternoon. If we plan something like that, I think it would be best to stay in the same hotel with all who are coming.
>
> I'm still finalizing my travel arrangements but I was planning on being
> in Brussels from the 2nd or 3rd to the 5th.

BTW, does anyone have a preferred hotel?


------------------------------

Message: 4
Date: Thu, 05 Jan 2012 17:30:08 -0800
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] [Wireshark-commits] rev 40321: /trunk/
       /trunk/epan/: base64.h epan.h epan_dissect.h ex-opt.h prefs.h
       strutil.h timestamp.h tvbuff.h /trunk/gtk/: recent.h /trunk/:
       airpcap_loader.h capture-pcap-util.h capture-wpcap.h capture.h ...
Message-ID: <4F064EA0.3040403@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

On 1/5/12 6:48 AM, Gisle Vanem wrote:
> "Gerald Combs" <gerald@xxxxxxxxxxxxx> wrote:
>
>> Checked in in r40378. At the present time you must compile the main
>> sources using CMake, then compile the Qt code using Qt Creator. More
>> information can be found in doc/README.qt.
>
> I've built Qt-GUI using MSVC2010. Looks rather simple now, but good
> job! Only offline capture works for me now. See:
>  http://home.broadpark.no/~gvanem/misc/wireshark-qt.png

Great!

> But, the LFLAGS in the generated makefile contains a
> '-subsystem:windows'. (so I guess main() is defined in qtmain.lib?).
> This causes "wireshark -h" to output nothing. Do we need to use the
> create-console-kludge as in gtk/main.c still? Using '-subsystem:console'
> works for me.
> Is there an option to insert this into QtShark.pro?

gtk/main.c has create_console, which calls AttachConsole and grabs
stdin, stdout, and stderr, and which doesn't exist in ui/qt. It should
probably be moved to the common ui directory.


------------------------------

Message: 5
Date: Thu, 5 Jan 2012 19:39:12 -0600
From: "Weir, Alan" <AWeir@xxxxxxxxxxxxx>
To: 'Ed Beroset' <beroset@xxxxxxxxxxxxxx>, 'Developer support list for
       Wireshark' <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Problem with tools/win-setup.sh
Message-ID: <64E236103EF4A5409E524F9B9FDBC3CB2140B4A3@thermosphere>
Content-Type: text/plain; charset="us-ascii"

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.

If I ignore the error and run "nmake -f makefile.nmake verify_tools" then a new folder "C:\cygdrive\c\wireshark-win32-libs\gtk2" is created and the "C:\ wireshark-win32-libs" folder is not populated.

The cygwin version is the latest - bash version 4.1.10

The error can be reproduced on both WIN XP SP2 and WIN2K8R2

Alan


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Ed Beroset
Sent: Thursday, January 05, 2012 4:22 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Problem with tools/win-setup.sh

"Weir, Alan" wrote:
>The log indicates that the removal should be benign as it eliminated a warning but in my case (and others based on googling the error message) it prevents the cycwin path from being constructed correctly.
>
>I'm not a cycwin expert - anyone have any insight?

Could be, but I'd need a bit more information.  For instance which version of cygwin are you using and what precisely is the error?

Ed
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


------------------------------

Message: 6
Date: Fri, 6 Jan 2012 02:40:47 +0100
From: Sake Blok <sake@xxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 &
       5       February
Message-ID: <ED0EDF94-B677-48D9-8CE3-B2C94834FC0F@xxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

On 6 jan 2012, at 02:19, Gerald Combs wrote:

> On 1/5/12 5:17 PM, Gerald Combs wrote:
>> On 1/5/12 3:19 AM, Sake Blok wrote:
>>> Gerald,
>>>
>>> Are plans to meet around FOSDEM finalized? For me it would be possible to meet up during the day on Friday 3rd (after which we could join the FOSDEM Beer Event :-)). I could either drive up early on Friday or come Thursday in the afternoon. If we plan something like that, I think it would be best to stay in the same hotel with all who are coming.
>>
>> I'm still finalizing my travel arrangements but I was planning on being
>> in Brussels from the 2nd or 3rd to the 5th.
>
> BTW, does anyone have a preferred hotel?

Well, not preferred, but I stayed in Hotel Beau Site (http://www.beausitebrussels.com/home.htm) before and quite liked it.

It seems to be nicely in between the FOSDEM venue:

http://maps.google.com/maps?saddr=Rue+de+la+Longue+Haie+76,+1000+City+of+Brussels,+Belgium+(BEAU+SITE)&daddr=Avenue+Paul+H%C3%A9ger,+Bruxelles,+Belgique&hl=en&ie=UTF8&sll=50.82112,4.37207&sspn=0.020144,0.033731&geocode=FZOaBwMdMZZCACHAbP1_1k8hYg%3BFedXBwMdvtpCACnnmwFW3MTDRzFbLHXyZ_TC4A&vpsrc=0&dirflg=w&mra=ls&t=m&z=15


and the "Grote Markt" which is the center of town:

http://maps.google.com/maps?saddr=Rue+de+la+Longue+Haie+76,+1000+City+of+Brussels,+Belgium+(BEAU+SITE)&daddr=Grote+Markt,+Brussel,+Belgi%C3%AB&hl=en&ie=UTF8&ll=50.838386,4.358611&spn=0.020136,0.033731&sll=50.82112,4.37207&sspn=0.020144,0.033731&geocode=FZOaBwMdMZZCACHAbP1_1k8hYg%3BFSDbBwMd9GpCACGXhL1NSUEImQ&vpsrc=0&dirflg=w&mra=ls&t=m&z=15

... and to the Friday Night beer Event:

http://maps.google.com/maps?saddr=Rue+de+la+Longue+Haie+76,+1000+City+of+Brussels,+Belgium+(BEAU+SITE)&daddr=Impasse+de+la+Fid%C3%A9lit%C3%A9,+4A+-+1000+Bruxelles&hl=en&ie=UTF8&ll=50.839145,4.358997&spn=0.020136,0.033731&sll=50.838386,4.358611&sspn=0.020136,0.033731&geocode=FZOaBwMdMZZCACHAbP1_1k8hYg%3BFaTiBwMdV29CACmpauyigMPDRzHumIetO8Kf_w&vpsrc=0&dirflg=w&mra=ls&t=m&z=15


I don't know it the hotel has a conference room or a room that could function as one. Also the site says wifi is available in *selected* rooms.

Cheers,
Sake

------------------------------

Message: 7
Date: Thu, 05 Jan 2012 21:48:54 -0500
From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
To: "Weir, Alan" <AWeir@xxxxxxxxxxxxx>, wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] Problem with tools/win-setup.sh
Message-ID: <4F066116.5090103@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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


------------------------------

Message: 8
Date: Fri, 06 Jan 2012 05:59:35 -0500
From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Problem with tools/win-setup.sh
Message-ID: <4F06D417.2030809@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ed Beroset wrote:
> 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.

For anyone else who might encounter this, I just got an email reply from
Alan Weir confirming that this was indeed the problem and the fix.

Ed


------------------------------

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev


End of Wireshark-dev Digest, Vol 68, Issue 9
********************************************