[CMake] CPack

Alexander.Camek at elektrobit.com Alexander.Camek at elektrobit.com
Mon Sep 17 08:16:47 EDT 2007


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?
If not so then you should add this info to http://www.cmake.org/Wiki/CMake:CPackPackageGenerators.

Thanks for your help.

Greetings

Alexander


----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.



More information about the CMake mailing list