Ask Your Question

problem about the zip software in installation of sdk [closed]

asked 2013-06-06 16:37:22 +0200

donglei gravatar image

updated 2015-08-24 17:28:53 +0200

Alex Kemp gravatar image

I'm trying to install libreoffice 4.0 sdk in my win7 system. It need a zip software to create package, but I do not know what is the zip software in win? I know there is a zip software in linux.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-19 10:47:27.614796

4 Answers

Sort by » oldest newest most voted

answered 2013-06-07 02:45:33 +0200

oweng gravatar image

updated 2013-06-10 06:10:56 +0200

I am going to expand this answer to include some general information about the zip utilities required by ODF and the SDK. Many thanks to Steven M. Schweda for his assistance with this matter. If there are any inaccuracies here, they are mine and I will do my best to correct them as they are pointed out.

The ODF v1.2 specification references PKWARE APPNOTE v6.2.0 i.e., a .ZIP file format specification. Info-ZIP is a project that attempts to provide support for the non-proprietary aspects of this specification through a series of packages, such as Zip, UnZip, WiZ, and MacZip. The equivalent Info-ZIP APPNOTE is v20040908 which is currently the latest version. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

Currently the LO SDK Installation page points to the Info-ZIP website. The Zip and UnZip packages are required by the ODF SDK. At the time of writing my initial answer here the Info-ZIP download links (e.g., Zip and UnZip) were all broken. I contacted the Info-ZIP forum admin to assist with finding an alternative solution and they responded with this helpful information:

It makes some sense for ODF specs to refer to a PKWARE APPNOTE, because that is the official .ZIP standard document, but it's good to be aware that some of what it describes are PKWARE-proprietary features (some with patent encumbrances), and the Info-ZIP programs do not implement the full PKWARE APPNOTE spec. In most circumstances, the (subset) features used are no more exotic than Deflate compression and, perhaps, large-file (Zip64) support, and Zip 3.x and UnZip 6.x can cope with those. Zip 2.x and UnZip 5.x lack large-file (Zip64) support, but even that may not affect your users. In general, however, newer versions tend to have fewer bugs than older versions, so I'd resort to an UnZip 5.x only if I couldn't find a working 6.x.

The current released versions are Zip 3.0 and UnZip 6.00, and those are in the latest kits with executables on our server(s). [...] Many (most?) of the external links (and some of the internal ones, too, I suspect) on our Web site are too old to be useful, but many useful things may be ...

edit flag offensive delete link more


@oweng – You may contact the Website Team for updating the LO SDK Installation page; there's also a contact for the LibreOffice API Documentation.

manj_k gravatar imagemanj_k ( 2013-06-10 01:56:51 +0200 )edit

Thank you. I have sent an email outlining the situation to Andras Timar.

oweng gravatar imageoweng ( 2013-06-10 06:27:50 +0200 )edit

answered 2013-06-07 11:32:55 +0200

donglei gravatar image

Thanks oweng. I can not find a way to answer you directly. I have already seen that page. But I have no idea about the zip tool in win. Should I install a zip tool in mingw?

edit flag offensive delete link more


Thanks for your question. You should have enough points now to comment beneath answers. I will update my answer for greater clarity.

oweng gravatar imageoweng ( 2013-06-08 01:55:44 +0200 )edit

answered 2014-02-18 12:27:31 +0200

Petero gravatar image

A Zip program is not actually required by LibreOffice, just the configuration utility. At least not for java programming in Netbeans. The application usually used in Windows is bzip2 but the LO config utility doesn't recognise this. To get around this, just create an empty text file, name it Zip.exe and give its path to LO. Bingo, the configuration tool swallows the bait and allows you to proceed with the installation.

Probably won't work with C++ but Java has its own compression utilities anyway.

Also, MinGW which you've probably installed to get a compatable GNU compiler includes its own Zip utility that LO doesn't recognise. Obviously some work to do for the LO developers but in the mean time a dummy file named Zip.exe works fine.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-06-06 16:37:22 +0200

Seen: 8,618 times

Last updated: Feb 18 '14