This is our old Q&A Site. Please post any new questions and answers at


I'm trying to build Wireshark 2.0 from the source on Windows 7 64-bit. I've been following this guide: Everything went fine until the Wireshark Build phase. So, cmake generated build files correctly. The only thing different from the guide is Qt version. I have 5.4 installed which was used to build Wireshark 1.12 (successfully). I'm adding error logs below (if you look down below you can see many are concerning Qt). I compared them with build logs from Wireshark buildbot and the trouble started when Qt should be compiled.

Any help or suggestion is welcome.


asked 14 Mar '16, 07:06

Aliniel's gravatar image

accept rate: 100%

Looks to be an issue with missing docbook components, have you installed the following Cygwin packages as per the Developers Guide, in particular the 2nd one on the list:

  • Text/asciidoc
  • Text/docbook-xml45
permanent link

answered 14 Mar '16, 07:24

grahamb's gravatar image

grahamb ♦
accept rate: 22%

I was indeed missing docbook-xml45. But it only took 3 erros away. I also installed Qt 5.5 just to be sure and it didn't help. New logs:

(14 Mar '16, 08:43) Aliniel

Odd results, what's the contents of C:\Development\bmakan\wsbuild64\version.h?

(14 Mar '16, 08:47) grahamb ♦

There were only these 3 lines:

Unable to open C:/Development/bmakan/wireshark/.svn/entries

#define VCSVERSION "SVN Rev Unknown"

#define VCSBRANCH "unknown"

(14 Mar '16, 08:52) Aliniel

The first line is an error and not meant to be there. version.h is configured by CMake, and uses the output of tools\ to generate the contents.

In your case it seems to be attempting to use svn. Is this because you don't have git on your path? In your build directory, have a look in CMakeCache.txt for a line beginning with GIT_EXECUTABLE:FILEPATH=, report back what you find.

(14 Mar '16, 09:11) grahamb ♦

This happens because of a bug in file. Try editing the file and in line 317 replace:

        print ("Unable to open $srcdir/.svn/entries\n");


        print STDERR "Unable to open $srcdir/.svn/entries\n";
(14 Mar '16, 09:14) Pascal Quantin

Pascal's solution worked. Thanks a lot!

(18 Mar '16, 02:11) Aliniel

Note this bug was fixed in the master branch in October 2015, change 11041.

@Aliniel, what version are you building?

(18 Mar '16, 03:12) grahamb ♦

It's a custom build branched from 2.0 at some earlier point. It was probably before thix fix was applied.

(18 Mar '16, 07:56) Aliniel
showing 5 of 8 show 3 more comments
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 14 Mar '16, 07:06

question was seen: 1,191 times

last updated: 18 Mar '16, 07:57

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