Orion, does setting CMAKE_INSTALL_LIBDIR satisfy your /usr/lib64 needs? Here is the bigger story. I have now implemented fine tuning of installation directories. Here are some typical results (available from the expanded Summary section of the cmake output).
Summary of CMake build system results for PLplot Install location variables which can be set by the user: CMAKE_INSTALL_PREFIX: /home/software/plplot_cvs/installcmake CMAKE_INSTALL_EXEC_PREFIX /tmp/plplot_exec_prefix CMAKE_INSTALL_BINDIR /tmp/plplot_exec_prefix/bin CMAKE_INSTALL_DATADIR /home/software/plplot_cvs/installcmake/share CMAKE_INSTALL_LIBDIR /tmp/plplot_exec_prefix/lib CMAKE_INSTALL_INCLUDEDIR /home/software/plplot_cvs/installcmake/include CMAKE_INSTALL_INFODIR /home/software/plplot_cvs/installcmake/share/info CMAKE_INSTALL_MANDIR /home/software/plplot_cvs/installcmake/share/man Derived install location variables: DATA_DIR /home/software/plplot_cvs/installcmake/share/plplot5.6.1 LIB_DIR /tmp/plplot_exec_prefix/lib INCLUDE_DIR /home/software/plplot_cvs/installcmake/include/plplot BIN_DIR /tmp/plplot_exec_prefix/bin TCL_DIR /home/software/plplot_cvs/installcmake/share/plplot5.6.1/tcl DRV_DIR /tmp/plplot_exec_prefix/lib/plplot5.6.1/driversd DOC_DIR /home/software/plplot_cvs/installcmake/share/doc/plplot MAN_DIR /home/software/plplot_cvs/installcmake/share/man INFO_DIR /home/software/plplot_cvs/installcmake/share/info Other important CMake variables: CMAKE_SYSTEM_NAME: Linux UNIX: 1 [...] I got the above results by setting the cmake options -DCMAKE_INSTALL_PREFIX=/home/software/plplot_cvs/installcmake and -DCMAKE_INSTALL_EXEC_PREFIX=/tmp/plplot_exec_prefix. starting with an empty build tree (i.e., a non-existent cache file, CMakeCache.txt). However, if you are reinvoking cmake or ccmake with a non-empty cache, then the two above options affect nothing else (I am considering ways to fix this limitation), and you must set all the individual cached variables such as CMAKE_INSTALL_LIBDIR if the default value left from the very first cmake run in the empty directory is not what you like. CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_LIBDIR should be especially useful for those who want to disambiguate PLplot builds which have different build characteristics (toolchain or whatever). This has been a need expressed by some of our developers including Geoffrey. I also tried make install DESTDIR='/temporary/staging/area' The DESTDIR option is essential for installing RPM or DEB files in temporary staging areas for collection into the final RPM or DEB, and this option appeared to perform correctly. 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 __________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel