Am 20.12.2011 21:52, schrieb Eric Noulard:
2011/12/20 Hendrik Kunert<[email protected]>:
Am 20.12.2011 21:13, schrieb Eric Noulard:
2011/12/20 Hendrik Kunert<[email protected]>:
The error was the not set CPACK_TOPLEVEL_DIRECTORY.
I bet it was but normally this is automatically set by CPack
so why wasn't it set?
I don't know, it only works if I set it by my own.
This is not the normal behavior, this hides some other problem.
Did you try with CMake 2.8.7rc1?
No, I only went to CMake 2.8.6 yesterday.
But now I have another
Problem, now it is the version Problem.
NSISOutput.log
# Run command: "/home/hendrik/Programme/nsis/nsis-2.46/makensis" -VERSION
# Output:
v20-Dec-2011.cvs
I think cpack didn't know the .cvs at the end. Where did you get your NSIS.
It is in Debian repository
(http://packages.debian.org/wheezy/nsis)
so that:
aptitude install nsis
does install it.
Note that you have it with Ubuntu as well:
http://packages.ubuntu.com/oneiric/nsis
I'm using Suse and got one from the build service and the other one I
build by myself. My own build is from today with the newest nsis source
from nsis webpage.
I downloaded the source from the NSIS webpage. I had seen this issue
somewhere on the www, but couldn't find that. Maybe someone in the mailing
list knows that.
If you have to rebuild it you may at least use the debian source package.
You should definitely search the problem of the unset
"CPACK_TOPLEVEL_DIRECTORY" first it should be set properly.
Would you send me the generated CPackConfig.cmake file?
CPackConfig.cmake is attached.
# This file will be configured to contain variables for CPack. These variables
# should be set in the CMake list file of the project before CPack module is
# included. Example variables are:
# CPACK_GENERATOR - Generator used to create package
# CPACK_INSTALL_CMAKE_PROJECTS - For each project (path, name,
component)
# CPACK_CMAKE_GENERATOR - CMake Generator used for the projects
# CPACK_INSTALL_COMMANDS - Extra commands to install components
# CPACK_INSTALLED_DIRECTORIES - Extra directories to install
# CPACK_PACKAGE_DESCRIPTION_FILE - Description file for the package
# CPACK_PACKAGE_DESCRIPTION_SUMMARY - Summary of the package
# CPACK_PACKAGE_EXECUTABLES - List of pairs of executables and
labels
# CPACK_PACKAGE_FILE_NAME - Name of the package generated
# CPACK_PACKAGE_ICON - Icon used for the package
# CPACK_PACKAGE_INSTALL_DIRECTORY - Name of directory for the installer
# CPACK_PACKAGE_NAME - Package project name
# CPACK_PACKAGE_VENDOR - Package project vendor
# CPACK_PACKAGE_VERSION - Package project version
# CPACK_PACKAGE_VERSION_MAJOR - Package project version (major)
# CPACK_PACKAGE_VERSION_MINOR - Package project version (minor)
# CPACK_PACKAGE_VERSION_PATCH - Package project version (patch)
# There are certain generator specific ones
# NSIS Generator:
# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Name of the registry key for the
installer
# CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra commands used during uninstall
# CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra commands used during install
SET(CPACK_BINARY_BUNDLE "")
SET(CPACK_BINARY_CYGWIN "")
SET(CPACK_BINARY_DEB "")
SET(CPACK_BINARY_DRAGNDROP "")
SET(CPACK_BINARY_NSIS "")
SET(CPACK_BINARY_OSXX11 "")
SET(CPACK_BINARY_PACKAGEMAKER "")
SET(CPACK_BINARY_RPM "")
SET(CPACK_BINARY_STGZ "")
SET(CPACK_BINARY_TBZ2 "")
SET(CPACK_BINARY_TGZ "")
SET(CPACK_BINARY_TZ "")
SET(CPACK_BINARY_ZIP "")
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
SET(CPACK_GENERATOR "NSIS")
SET(CPACK_INSTALL_CMAKE_PROJECTS
"/home/hendrik/Programmierung/c_workspace/pidginpluginfor/build_win32;wplookup;ALL;/")
SET(CPACK_INSTALL_PREFIX "/usr/local")
SET(CPACK_MODULE_PATH
";/home/hendrik/Programmierung/c_workspace/pidginpluginfor/source/findLibrary")
SET(CPACK_NSIS_CONTACT "contact")
SET(CPACK_NSIS_DISPLAY_NAME "WplookupInstaller")
SET(CPACK_NSIS_DISPLAY_NAME_SET "TRUE")
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
SET(CPACK_NSIS_PACKAGE_NAME "WplookupInstaller")
SET(CPACK_OUTPUT_CONFIG_FILE
"/home/hendrik/Programmierung/c_workspace/pidginpluginfor/build_win32/CPackConfig.cmake")
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
SET(CPACK_PACKAGE_DESCRIPTION_FILE
"/home/hendrik/Programmierung/c_workspace/pidginpluginfor/source/DESCRIPTION")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "wplookup built using CMake")
SET(CPACK_PACKAGE_FILE_NAME "WplookupInstaller-0.2.0-win32")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CPack Component Example")
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "CPack Component Example")
SET(CPACK_PACKAGE_NAME "WplookupInstaller")
SET(CPACK_PACKAGE_RELOCATABLE "true")
SET(CPACK_PACKAGE_VENDOR "Hendrik Kunert <[email protected]>")
SET(CPACK_PACKAGE_VERSION "0.2.0")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "2")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(CPACK_RESOURCE_FILE_LICENSE
"/home/hendrik/Programmierung/c_workspace/pidginpluginfor/source/COPYING")
SET(CPACK_RESOURCE_FILE_README
"/usr/share/cmake/Templates/CPack.GenericDescription.txt")
SET(CPACK_RESOURCE_FILE_WELCOME
"/usr/share/cmake/Templates/CPack.GenericWelcome.txt")
SET(CPACK_SET_DESTDIR "OFF")
SET(CPACK_SOURCE_CYGWIN "")
SET(CPACK_SOURCE_GENERATOR "ZIP")
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE
"/home/hendrik/Programmierung/c_workspace/pidginpluginfor/build_win32/CPackSourceConfig.cmake")
SET(CPACK_SOURCE_TBZ2 "")
SET(CPACK_SOURCE_TGZ "")
SET(CPACK_SOURCE_TZ "")
SET(CPACK_SOURCE_ZIP "ON")
SET(CPACK_SYSTEM_NAME "win32")
SET(CPACK_TOPLEVEL_TAG "win32")
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake