Hi Wireshark Version: 2.0.2, I tried building latest wireshark code on my Windows 7, MSVC2013 Compiler Text from for the above Error
Please Help. Thanks Dinesh Sadu asked 25 Apr ‘16, 23:10 Dinesh Babu … edited 25 Apr ‘16, 23:51 grahamb ♦ |
One Answer:
This is a duplicate of this question which unfortunately wasn't resolved as the questioner didn't come back. Does pod2html exist in the Cygwin install of /usr/bin? answered 25 Apr '16, 23:54 grahamb ♦ showing 5 of 14 show 9 more comments |
I did changes to CYGWIN_PATH in config.nmake in Wireshark base code CYGWIN_PATH=D:\Cygwin-Cust\bin
Path: Pod2html file is present in “D:\Cygwin-Cust\bin” <d:\\cygwin-cust\\bin\\pod2html>
And what happens if you temporarily add Cygwin to the path and try to execute the command, e.g.
Note there are only two lines, the set and the bash, the display might wrap them.
Cygwin Path setup is done in System Environment Varaibles but even though i tried in setting path in command, but it didn't work I got the same error. Error: Can't execute /usr/bin/pod2html.
So i did two below changes in config.namke and build is sucessful
POD2MAN=$(SH) /usr/bin/pod2man
POD2HTML=$(SH) /usr/bin/pod2html
The above command works as expected on my Build VM. As this is an infrequent issue I think there's something odd in your Cygwin setup.
What does the Cygwin mount command show when called form DOS (as you have Cygwin already on your path)? I get:
Please find as below what does Cygwin mount gave in my build.env
OK, looks good, odd then that bash can’t execute pod2html which is in the directory mounted as /usr/bin.
Try these lines from a command prompt:
Tried running bash command. Please find the below
Apart from the odd shortening of paths with “~” that all looks OK. pod2html is on the path which includes /usr/bin as the which command shows.
I’m at a loss why the nmake command fails to execute pod2html.
Grahamb, Due to character constraint in Comment section, I did them shorten
Program Files = Prg~Files
Microsoft Visual Studio = Mic~Vis~Stud
OK, I was a bit confused by that.
So the issue is that from a DOS CMD prompt, you can’t execute the pod2html command via bash.
Can you try
bash -o igncr pod2html –help
from your build command prompt?Tried
Your installation of bash appears to be ignoring the path it has. When you supply the path then it works.
Just to rule out the fact that somehow we’re picking up the wrong bash, what does
where bash
show?Command Where Bash:
It shows the correct path of Cygwin Bin Directory
I’m guessing it’s a path issue of some sort, but I don’t know what.
In your path you showed earlier, there are a lot of duplicate entries and none of the standard Windows directories, although I don’t think that has anything to do with the problem.
I’m stumped, I can’t think of what to look at next. Sorry about that.