[CMake] CPack
Eric Noulard
eric.noulard at gmail.com
Mon Sep 17 08:30:39 EDT 2007
2007/9/17, Alexander.Camek at elektrobit.com <Alexander.Camek at elektrobit.com>:
> Hello List,
>
> I want to use the CPACK generator, but the tutorial http://www.cmake.org/Wiki/CMake:Packaging_With_CPack is not quite good.
> Perhaps somebody knows a better site.
>
> When I run make with make package, then I get following error:
> CPack Error: Cannot find a sutable ZIP program <- an I is missing in suitable ;)
> CPack Error: Cannot initialize the generator
>
> In my cmake file, I use following commands:
> IF(WIN32)
> SET(CPACK_GENERATOR ZIP)
> SET(CPACK_SOURCE_GENERATOR ZIP)
> ELSE(WIN32)
> SET(CPACK_GENERATOR TGZ)
> SET(CPACK_SOURCE_GENERATOR TGZ)
> ENDIF(WIN32)
> INCLUDE(CPack)
>
> But on the other side I do have 7zip installed. 7zip is working because I unpack some files during my build process.
> So does the current release 2.4.7 support 7zip?
I think this is a know (already reported) bug which has been fixed
in the CVS version of CMake:
see
http://public.kitware.com/pipermail/cmake/2007-June/014735.html
However, I did not find a corresponding bug entry in the tracker.
> If not so then you should add this info to
> http://www.cmake.org/Wiki/CMake:CPackPackageGenerators.
This is a Wiki so you may (after checking like you did)
modifiy the page yourself.
Since you are on windows you may want to try
a nightly build of CMake CVS version:
http://www.cmake.org/files/vCVS/
It should properly handle 7zip (I think I already used it).
(However THIS IS NOT a CMake VERSION just a development snapshot).
--
Erk
More information about the CMake
mailing list