[CMake] "make package" still fails to work for absolute install
locations.
Bill Hoffman
bill.hoffman at kitware.com
Thu Jan 11 16:40:03 EST 2007
Alan W. Irwin wrote:
> For cmake-2.4.6 (and also previous versions), "make package" generates a
> compressed file of nul characters, e.g.,
>
> gunzip -c plplot-5.7.1-Linux.tar.gz |od -a
> 0000000 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
> *
> 0002000
>
> This bad result apparently occurs because the PLplot project must
> (necessarily) use absolute install locations. The workaround for us
> is to
> use "make DESTDIR=/tmp/staging install" followed by the appropriate
> zip or
> tar command. When this issue was previously discussed on list, Bill
> Hoffman
> suggested that cmake could switch to the DESTDIR method internally so
> that
> "make package" would always work regardless of whether the install
> locations
> were absolute or relative.
>
> Bill, what is the status of this fix? Do you have an implementation I
> can
> test to help insure the fix will get into the next release of CMake?
I have no fix yet for you to try... Sorry.
-Bill
More information about the CMake
mailing list