Open shenlebantongying opened 1 year ago
@mgautierfr Should I move the ticket to kiwix/kiwix-build?
zimwriterfs has been introduced in zim-tools with https://github.com/openzim/zim-tools/pull/104 From the comments, it seems totally natural we don't build on Windows but we never say why. I simply suspect that zimwriterfs is not totally ported on Windows.
@mgautierfr An update would be welcome here
zimwriterfs need libmagic to detect the mimetype of the added file and we currently cannot compile it on Windows.
@mgautierfr Issue link? Filemagic should not be 100% indispensible AFAIK as we have anyway an extension based mime-type mapping table. This is good enough for 99% of the use case. This would be an acceptable workaround.
There is this meta-issue : https://github.com/kiwix/kiwix-build/issues/729
At this stage, gumbo and libmagic are not available easily for compilation on Windows. For sure this is the case of libmagic. For this reason we still struggle to have zimwriterfs
in the Windows release.
Download https://download.openzim.org/release/zim-tools/zim-tools_win-i686-3.2.0-1.zip
There is no
zimwriterfs.exe