Changing from Win XP to Win 7 means you have to get used to a "more
secure" permissions model among other things.

Do you have the problem if you run this in a "run as administrator" scenario?

For the "access is denied" problem: do you have full permissions to
the directory in question? If you go to its parent directory in a
Windows explorer window, can you delete the directory and try again?
Does it prompt you that it needs more credentials when you try to
delete it?


On Wed, Feb 2, 2011 at 3:13 PM, thehighhat <thehighhat+...@gmail.com> wrote:
> 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?
> _______________________________________________
> 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
_______________________________________________
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

Reply via email to