[CMake] "make package" still fails to work for absolute install locations.

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Jan 11 16:20:41 EST 2007


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?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list