On 8/6/10 8:43 PM, Eric Noulard wrote:
> 2010/8/6 Chris Wolf <[email protected]>:
>> I am trying the ZIP package type and I get the same error on MacOS and Linux:
>>
>> CPack Error: archive_write_header:Filetype not supportedNo such file or 
>> directory -25
>> CPack Error: archive_write_data(): tried to write 16384
>> write 0
>>
>>
>> I searched around in case this was a known issue.  The Wiki says:
>> "Requires zip, WinZip or 7Zip for creating the package."  but I have
>> zip on both Mac and Linux.
>>
>> Any ideas?  Thanks,
> 
> The Wiki may not be up to date, CMake switches to libarchive which cannot 
> handle
> symlink in ZIP:
> http://www.cmake.org/Bug/view.php?id=10162
> 
> Do you any symlinks (for library version) in your project.
> 
> Could you try TGZ generator in order to see if it's ok?
> 
> cpack -G TGZ.
> 

Yes.  Shared library version symlinks.  I forgot about that.  TGZ works fine.
I would probably only use ZIP for win32 distribution anyway, so this is 
not an issue for me.

Thanks,

   -Chris
_______________________________________________
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