Wireshark-dev: Re: [Wireshark-dev] Deprecating nmake
From: "RobiOneKenobi" <robionekenobi@xxxxxxxxxx>
Date: Sun, 3 Apr 2016 11:21:07 +0200
Hi,

Checked path and only the python 2.7 (c:\pythoin27) is used. What is
surprising, is that the Win32 Config works for python, but not the Win64
Config.

The second error (when Win32 Config) mean that the FEATURE_SUMMARY is at no
place (I made a search in all files in the WS Source Dir, and it is found in
only one place (where it is called and bringing the error))

Robert

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Roland Knall
Sent: Saturday, April 2, 2016 6:00 PM
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Deprecating nmake

Try to set the path to the Python Executable in cmake. Seems he catches the
Cygwin version by mistake. 

Regards

> Am 02.04.2016 um 16:07 schrieb RobiOneKenobi <robionekenobi@xxxxxxxxxx>:
> 
> Hi,
> 
> I'm trying to migrate to CMake, but i'm facing 2 problems
> 
> In Win64, it stops after a few lines with:
> 
> CMake Error at cmake/modules/LocatePythonModule.cmake:45 (message):
>  Could NOT find python module asn2wrs
> Call Stack (most recent call first):
>  cmake/modules/UseAsn2Wrs.cmake:9 (locate_python_module)
>  CMakeLists.txt:205 (include)
> -- Configuring incomplete, errors occurred!
> 
> 
> In Win32, it goes further (as it find the python module) but stops later:
> 
> CMake Error at CMakeLists.txt:1225 (FEATURE_SUMMARY):
>  Unknown CMake command "FEATURE_SUMMARY".
> -- Configuring incomplete, errors occurred!
> 
> Thanks for your help
> Robert
> 
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Gerald Combs
> Sent: Wednesday, March 23, 2016 6:54 PM
> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> Subject: [Wireshark-dev] Deprecating nmake
> 
> Wireshark currently uses four build systems: GNU Autotools, CMake, and
nmake
> (which in turn depends on QMake). In order to preserve sanity and reduce
> development friction it would be nice if we could remove the last two.
> 
> Toward that end I have a pending change at
> https://code.wireshark.org/review/#/c/14591/ which generates an error if
you
> try to build using nmake. You can disable the error by setting
> YES_I_KNOW_ABOUT_THE_DEPRECATION, either on the command line or in
> config.nmake. I plan on submitting it on Friday. I also plan on removing
the
> remaining nmake steps from the master and master-2.0 buildbots some time
> today.
> 
> The next step will be the removal of the various Makefile.nmakes and
related
> files from Git. This is tentatively planned for some time in June, either
> immediately before or after Sharkfest in order to give people plenty of
time
> to migrate to CMake. Note that the master-2.2 branch will likely not
include
> nmake support from its inception.
> 
> If you're still using nmake you should definitely plan on migrating to
CMake
> by June. The Developer's Guide has been updated to include instructions
for
> CMake:
> 
> https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
> 
> If you run into any issues don't hesitate to send a message to
wireshark-dev
> or post a question on ask.wireshark.org. Many of us will also be at
> Sharkfest and should be able to help in person.
>
___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
> <CMakeWS_Win32_Out.txt>
> <CMakeWS_Win64_Out.txt>
>
___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe