Hi,
i managed to compile wireshark on windows 8 and now when i try to build it with msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln command and i get the following message:
Build FAILED.
"C:\wireshark-2.0.5\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj.metapr
oj" (default target) (14) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj" (defa
ult target) (83) ->
(CustomBuild target) ->
CUSTOMBUILD : warning : failed to load external entity "http://docbook
.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl" [C:\wireshar
k-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj]
"C:\wireshark-2.0.5\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj" (
default target) (53) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj" (default t
arget) (103) ->
CUSTOMBUILD : warning : failed to load external entity "http://docbook
.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl" [C:\wireshar
k-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj]
"C:\wireshark-2.0.5\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj.metapr
oj" (default target) (14) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj" (defa
ult target) (83) ->
(CustomBuild target) ->
CUSTOMBUILD : I/O error : Attempt to load network entity http://docboo
k.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\wireshar
k-2.0.5\wsbuild64\docbook\developer_guide_chm.vcxproj]
CUSTOMBUILD : compilation error : file /wireshark-2.0.5/docbook/custom
_layer_chm.xsl line 8 element import [C:\wireshark-2.0.5\wsbuild64\docbo
ok\developer_guide_chm.vcxproj]
"C:\wireshark-2.0.5\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj" (
default target) (53) ->
"C:\wireshark-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj" (default t
arget) (103) ->
CUSTOMBUILD : I/O error : Attempt to load network entity http://docboo
k.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\wireshar
k-2.0.5\wsbuild64\docbook\user_guide_chm.vcxproj]
CUSTOMBUILD : compilation error : file /wireshark-2.0.5/docbook/custom
_layer_chm.xsl line 8 element import [C:\wireshark-2.0.5\wsbuild64\docbo
ok\user_guide_chm.vcxproj]
2 Warning(s)
4 Error(s)
i am running the Visual Studio Command Prompt as administrator.
thanks in advance, Ran
asked 24 Aug ‘16, 06:46
Ran
11●2●2●5
accept rate: 0%
i can download this file with a browser. the machine have internet access, this is a company's computer so i don't know if it is behind proxy. it is possible that this machine is behind proxy and this is why i could not get the git and the file.
i looked at the files looking for where to change the address from remote to local ( i downloaded the file from the net and want the project to build with the local file and not the remote one ) but i could not find it.
I've never seen that error reported before, I wonder if it's anything to do with building from a source tarball?
I don't have the file in either my source or build trees, and there are multiple copies in my Cygwin installation:
i connected the computer to the internet and cloned the git and build it. now it took 11:33 minutes (before it took 20 seconds top) to run and at the end i got:
"C:\Development\wireshark\wsbuild64\Wireshark.sln" (default target) (1) -> "C:\Development\wireshark\wsbuild64\docbook\developer_guide_chm.vcxproj. metaproj" (default target) (15) -> "C:\Development\wireshark\wsbuild64\docbook\developer_guide_chm.vcxproj" (default target) (115) -> (CustomBuild target) -> CUSTOMBUILD : I/O error : Attempt to load network entity http://docboo k.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\Developm ent\wireshark\wsbuild64\docbook\developer_guide_chm.vcxproj] CUSTOMBUILD : compilation error : file /Development/wireshark/docbook/ custom_layer_chm.xsl line 8 element import [C:\Development\wireshark\wsb uild64\docbook\developer_guide_chm.vcxproj]
"C:\Development\wireshark\wsbuild64\Wireshark.sln" (default target) (1) -> "C:\Development\wireshark\wsbuild64\docbook\user_guide_chm.vcxproj.metap roj" (default target) (64) -> "C:\Development\wireshark\wsbuild64\docbook\user_guide_chm.vcxproj" (def ault target) (118) -> CUSTOMBUILD : I/O error : Attempt to load network entity http://docboo k.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\Developm ent\wireshark\wsbuild64\docbook\user_guide_chm.vcxproj] CUSTOMBUILD : compilation error : file /Development/wireshark/docbook/ custom_layer_chm.xsl line 8 element import [C:\Development\wireshark\wsb uild64\docbook\user_guide_chm.vcxproj]
Time Elapsed 00:11:33.01
same error more warnings. i was connected directly to the internet the whole time.
do you have any other ideas?
A full build does take some time to complete, so 11 minutes isn't unexpected.
You're still getting the errors on attempting to retrieve htmlhelp.xsl, I can't think when I last built without being connected to the internet, but I assume other folks do it and it hasn't been reported before. The line in the .xsl file that causes the import has been in the source code for 2 years.
You could try copying the downloaded version into the source docbook directory and editing docbook\custom_layer_chm.xsl to use an import with a local path:
I have no idea if that will work.