OSQA is unmaintained. Help us figure out where to go from here.

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, 08:57

Bob17136's gravatar image

Bob17136
612
accept rate: 0%

edited 27 Jul, 12:11

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335195


Presumably you installed CMake 3.9 (that was just released) and we have an issue with this version related to cygwin path discovery that we need to investigate.

In the meantime install CMake 3.8.2. It should fix your error (do not forget to clean your cmake build folder first).

permanent link

answered 27 Jul, 09:35

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k960
accept rate: 31%

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.

(28 Jul, 11:09) Bob17136

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.

(28 Jul, 11:24) sindy
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,611
×250
×10
×1

question asked: 27 Jul, 08:57

question was seen: 256 times

last updated: 28 Jul, 11:24

p​o​w​e​r​e​d by O​S​Q​A