On 2006-08-08 15:59+0900 Valery Pipin wrote:
> I've tried cmake as well. cmake do't want to put "ON" the options for
> dyndrivers, for python binding, for freetype support and for psttf.
All options can be set with cmake -D options. However, the ccmake
command-line interface is much more convenient because it displays default
values and documentation strings for all variables that you can change.
However, the necessary resources must be installed and accessible (see
comments below) or some of these options will be turned OFF (with a WARNING
message) even when the default is ON or you specify ON.
By default, the CMake build system uses dyndrivers, builds the psttf device
driver, builds the python binding, and uses libfreetype. So I presume all of
those are being turned off internally for your CMake build because it is
unable to find certain resources. Look for WARNING messages when you run
cmake (or ccmake). For example, dyndrivers gets turned off if libltdl is not
installed on your system. (The autotools build system, builds a copy of this
library internally from libtool source, but CBS needs an installed version.)
The psttf device is only built for the dyndrivers case (and also requires
libLASi to be found). Our python interface is only built if swig is
installed on your system. I need a look at your WARNING messages, but I
presume the freetype library is not being found by CMake on your system
because you need to specify (via ccmake) a font path and/or font file names.
(We didn't have this capability before, but I just committed a change to
implement that.) Finally, if anything is installed in non-standard locations
you need to specify the environment variables CMAKE_INCLUDE_PATH and
CMAKE_LIBRARY_PATH (documented in
http://www.cmake.org/Wiki/CMake_Useful_Variables) to help the PLplot CMake
build system to find it.
If you have further trouble with the CMake build system feel free to contact
me off list with all the details (complete cmake output), and I should be
able to help you get it to work so you can enjoy the extraordinary
configuration speed of CMake.
By the way, I implemented the Tcl component of the PLplot CBS this weekend.
That leaves just the implementation of the Tk component (next few days), the
octave component, and the wxwidgets device driver to complete our CBS on
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