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

Trying to compile wireshark, I had several errors in the environment setup/configuration step that I worked through.

Now I am following the user guide at https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html. I am at the "msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln" step 2.2.12. The first error I see is

94>CustomBuild:
     Generating developer-guide.xml
     'LC_ALL' is not recognized as an internal or external command,
     operable program or batch file.
94>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppComm
   on.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\w
   ireshark_development\development\wsbuild64\docbook\generate_developer-gu
   ide.xml.vcxproj]

So, I looked up to see if other users had this problem, and they were told to ensure Cywin packages for AsciiDoc and DocbookXML were installed. But the funny thing is, the Cygwin package I was told to install as part of the setup doesn't have the option for those 2 packages. So I'm left wondering if I have some weird mismatch between tool and wireshark source versions and installation instructions.

Incidentally, I am compiling this in order to compile a dissector. I can post other captures as need be.

Thanks, Brett

asked 10 Apr '17, 08:41

szuderac's gravatar image

szuderac
11114
accept rate: 0%

edited 10 Apr '17, 09:03


You'll have to run Cygwin setup to install asciidoc and docbook-xml45 as per the instructions.

You can also use chocolatey (although I have had issues with this):

choco inst -y asciidoc docbook-xml45 -source Cygwin
permanent link

answered 10 Apr '17, 10:12

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

For whatever reason, when I was installing cygwin direct from the setup guide before it didn't even have the option for those 2 components under text, it only had 3 elements. Now I'm trying it again and they are there, so I am attempting it again after that install goes through. Thanks.

(10 Apr '17, 11:23) szuderac

@szuderac

Your "answer" has been converted to a comment as that's how this site works. Please read the FAQ for more information.

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(11 Apr '17, 01:43) grahamb ♦
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:

×637
×110
×4

question asked: 10 Apr '17, 08:41

question was seen: 875 times

last updated: 11 Apr '17, 01:43

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