View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004993CMakeCMakepublic2007-05-08 12:092008-03-27 21:39
Reporterirwin 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004993: "make package" fails to work for absolute INSTALL DESTINATIONs
DescriptionThe result (on Unix systems) is a compressed tarball of NULL characters.

A fix that works for PLplot is to apply the following patch (suggested on list) to the CMake source code:

--- cmCPackGenericGenerator.cxx_original 2007-01-12
11:41:24.000000000 -0800
+++ cmCPackGenericGenerator.cxx 2007-01-12 11:41:50.000000000 -0800
@@ -164,7 +164,7 @@
     return 0;
     }

- bool movable = true;
+ bool movable = false;
   if ( movable )
     {
     // Make sure there is no destdir

I am not sure of the full implications of this fix, but it does work for PLplot so my vote would be to go ahead and make this change.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0010938)
Bill Hoffman (manager)
2008-03-27 21:39

This can now be done by setting CPACK_SET_DESTDIR to ON.

 Issue History
Date Modified Username Field Change
2008-03-27 21:39 Bill Hoffman Note Added: 0010938
2008-03-27 21:39 Bill Hoffman Status assigned => closed
2008-03-27 21:39 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team