[CMake] cpack make package failure
thehighhat
thehighhat+www at gmail.com
Wed Feb 2 15:13:30 EST 2011
cmake config & build & ctest/cdash work.
* but cpack broken.
env: win 7 x64, cygwin, cmake 2.8.1, for "unix makefiles" console project...
when type "make package" or "cpack"
get this error messages:
$ cpack --verbose
CPack: Enable Verbse
CPack Verbose: Read CPack config file:
CPack Verbose: Read CPack configuration file:
C:/path/to/build/dir/CPackConfig.cmake
CPack Verbose: Specified generator: NSIS
CPack Verbose: Test NSIS version: "C:/Program Files
(x86)/NSIS/makensis.exe" /VERSION
CPack Verbose: Use generator: cmCPackNSISGenerator
CPack Verbose: For project: XYZ
CPack: Create package using NSIS
CPack Verbose: Read description file:
C:/path/to/cmake-2.8.1-win32-x86/share/cmake-2.8/Templates/CPack.GenericDescription.txt
CPack Verbose: Remove toplevel directory:
C:/path/to/build/dir/_CPack_Packages/win32/NSIS
CPack: Install projects
CPack: - Run preinstall target for: Project
CPack Error: Problem running install command: C:/path/to/make "preinstall"
Please check C:/path/to/build/dir/_CPack_Packages/win32/NSIS/PreinstallOutput.log
for errors
CPack Error: Error when generating package: XYZ
The PreinstallOutput.log has this:
# Run command: C:/path/to/make "preinstall"
# Directory: C:/path/to/build/dir
# Output:
Access is denied
This used to work when the setup was Windows XP, and a different compiler.
Everything else the same.
Any ideas?
More information about the CMake
mailing list