Hi, I'm just trying to build wireshark on a Windows 10 x64 environment from source code available on the website. I do not modify the source code until now.
Folllowing the developer's guide, i'm generating the build file at paragraph 2.2.11.
the cmake command line return the following error :
-- Found SBC: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/include
-- SBC FOUND
-- SBC includes: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/include
-- SBC libs: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/lib/sbc.lib
-- Could NOT find SETCAP (missing: SETCAP_EXECUTABLE)
-- SETCAP NOT FOUND
-- Could NOT find SH (missing: SH_EXECUTABLE)
CMake Error at cmake/modules/FindSH.cmake:29 (message):
The bash executable (SH_EXECUTABLE-NOTFOUND) isn't from Cygwin. Check your
path
Call Stack (most recent call first):
CMakeLists.txt:982 (find_package)-- Found SBC: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/include
-- SBC FOUND
-- SBC includes: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/include
-- SBC libs: C:/Nicolas/Dev/wireshark-win64-libs/sbc-1.3-win64ws/lib/sbc.lib
-- Could NOT find SETCAP (missing: SETCAP_EXECUTABLE)
-- SETCAP NOT FOUND
-- Could NOT find SH (missing: SH_EXECUTABLE)
CMake Error at cmake/modules/FindSH.cmake:29 (message):
The bash executable (SH_EXECUTABLE-NOTFOUND) isn't from Cygwin. Check your
path
Call Stack (most recent call first):
CMakeLists.txt:982 (find_package)
What can generate this error ? What are SETCAP and SH and what do i need to do to correct this error ?
Thank you for your help!
asked 27 Jul '17, 08:57
Bob17136
6●1●1●2
accept rate: 0%
edited 27 Jul '17, 12:11
Guy Harris ♦♦
17.4k●3●35●196
Hi,
You're right, cmake 3.9 was installed by default.
I uninstall it and install cmake 3.8.2.
Buildins is OK now ! Thank you very much.
I've converted your post from an Answer (which it clearly wasn't) to a Comment to Pascal's Answer.
Please accept Pascal's Answer as the correct one (by clicking the checkmark icon next to it) as doing so marks your Question as usefully answered, helping others who might be interested in the same. No one else that the author of the Question can do that.