Wireshark mailing list archives
Re: Building Wireshark in Windows
From: "Alexander Papakhristos" <papakhr () marsat ru>
Date: Tue, 5 Mar 2013 19:25:30 +0400
Thanks, it worked. Now I have a problem doing "nmake -f Makefile.nmake distclean" operation:
C:\wireshark\trunk>nmake -f Makefile.nmake distclean Microsoft (R) Program Maintenance Utility Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. rm -f capture-wpcap.obj capture_wpcap_packet.obj capture -pcap-util.obj cfile.obj clopts_common.obj disabled_protos.obj frame_data_sequence.obj packet-range.obj print.obj ps.obj sync_pipe_write .obj timestats.obj tap-megaco-common.obj tap-rtp-common.obj version_info.obj capture_ifinfo.obj capture_sync.obj capture_ui_utils.obj airpcap_loader.obj capture.obj capture_info.obj capture_opts.obj color_filters.obj file.obj fileset.obj filters .obj g711.obj merge.obj proto_hier_stats.obj recent.obj summary .obj tempfile.obj u3.obj capture-wpcap.obj capture_wpcap_packet.obj capture-pcap-util.obj cfile.obj clopts_common.o bj disabled_protos.obj frame_data_sequence.obj packet- range.obj print.obj ps.obj sync_pipe_write.obj timestats.obj tap-megaco-common.obj tap-rtp -common.obj version_info.obj capture_ifinfo.obj capture_sync.ob j capture_ui_utils.obj capture_opts.obj tempfile.obj tshark.obj capture-wpcap.obj capture_wpcap_packet.obj capture_opts.obj capture-pcap-util.obj capture_stop_conditions.obj clopts_common.obj conditions.obj dumpcap.obj pcapio.obj ringbuffer.obj sync_pipe_write .obj tempfile.obj version_info.obj capture-wpcap.obj capture_wpcap_packet .obj capture-pcap-util.obj cfile.obj clopts_ common.obj disabled_protos.obj frame_data_sequence.obj packet-range.obj print.obj ps.obj sync_pipe_write.obj timestats.obj tap-megaco-common.obj tap-rtp-common.obj version_info.obj rawshark.obj wireshark.exe tsh ark.exe rawshark.exe capinfos.exe editcap.exe mergecap.exe text2pcap.exe randpk t.exe dumpcap.exe *.pdb *.sbr *.exe.manifest capinfos.obj editcap.obj mergecap. obj text2pcap.obj nio-ie5.obj update.obj text2pcap-scanner.obj text2pcap-scann er.c rdps.obj rdps.pdb rdps.exe rdps.ilk config.h ps.c _libs_check_ dftest.obj dftest.exe randpkt.obj randpkt.ext doxygen.cfg image\wireshark.res image\libw ireshark.res image\tshark.res image\capinfos.res image\editcap.res image\mergec ap.res image\text2pcap.res image\wiretap.res image\dumpcap.res image\rawshark. res image\libwsutil.res libwireshark.dll wiretap-1.8.0.dll libwsutil.dll wires hark.bsc cygwin warning: MS-DOS style path detected: /cygdrive/c/wireshark/trunk/image\wireshark.res Preferred POSIX equivalent is: /cygdrive/c/wireshark/trunk/image/wireshark.res CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames rm -rf wireshark-gtk2 rm -f C:\wireshark\libs\zlib125\zlib1.dll C:\wireshark\libs\zlib125\zlib 1.dll.manifest C:\wireshark\libs\zlib125\include\zlib.h C:\wireshark\libs\zlib1 25\include\zconf.h C:\wireshark\libs\zlib125\lib\zdll.lib cygwin warning: MS-DOS style path detected: C:\wireshark\libs\zlib125\zlib1.dll Preferred POSIX equivalent is: /cygdrive/c/wireshark/libs/zlib125/zlib1.dll CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames rm -f config.h ps.c svnversion.h wireshark-pdb*.zip cd wiretap "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" / -f Makefile.nmake distclean Microsoft (R) Program Maintenance Utility Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. Makefile.nmake(6) : fatal error U1052: file 'win32.mak' not found Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\bin\nmake.exe"' : return code '0x2' Stop. I found that file - C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\Win32.Mak and tried to put in wireshark sources folder but it didn't work. Thanks With best regards, Alexander From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Graham Bloice Sent: Tuesday, March 05, 2013 6:19 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Building Wireshark in Windows On 5 March 2013 14:04, Alexander Papakhristos <papakhr () marsat ru> wrote: Hello, I've tried to build wireshark 1.8.4 in Windows using Wireshark Step by Step guide: http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html I've installed all required software and passed verify-tools step but when I run nmake for setup stage I have an error: ****** gtk2 ****** No HTTP proxy specified (http_proxy and HTTP_PROXY are empty). Downloading gtk2 into '/cygdrive/c/Program', installing into Files\Wireshark cygwin warning: MS-DOS style path detected: /cygdrive/c/Program/Files\Wireshark Preferred POSIX equivalent is: /cygdrive/c/Program/Files/Wireshark CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames --2013-03-05 11:41:22-- http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2013-01-04-1.8/packag es//gtk2 <http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2013-01-04-1.8/packa ges/gtk2> Resolving anonsvn.wireshark.org (anonsvn.wireshark.org)... 174.137.42.70 Connecting to anonsvn.wireshark.org (anonsvn.wireshark.org)|174.137.42.70|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-03-05 11:41:23 ERROR 404: Not Found. ERROR: Can't download http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2013-01-04-1.8/packag es//gtk2 <http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2013-01-04-1.8/packa ges/gtk2> NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x1' Stop. What's the problem with that package? Also I don't understand the message "Downloading gtk2 into '/cygdrive/c/Program', installing into Files\Wireshark" - it creates folder c:\program and with folder Files\Wireshark inside it. The path for wireshark_lib set to c:\Program Files\Wireshark Is it normal behavior? Try building (and putting your wireshark libs) in a path without spaces, e.g. C:\Wireshark. I use Wireshark\trunk for the sources and Wireshark\libs for the libs.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Building Wireshark in Windows Alexander Papakhristos (Mar 05)
- Re: Building Wireshark in Windows Graham Bloice (Mar 05)
- Re: Building Wireshark in Windows Alexander Papakhristos (Mar 05)
- Re: Building Wireshark in Windows Graham Bloice (Mar 05)
- Re: Building Wireshark in Windows Anders Broman (Mar 05)
- Re: Building Wireshark in Windows Graham Bloice (Mar 05)
- Re: Building Wireshark in Windows Alexander Papakhristos (Mar 05)
- Re: Building Wireshark in Windows Alexander Papakhristos (Mar 05)
- Re: Building Wireshark in Windows Graham Bloice (Mar 05)