![]() |
|
Home · Views · Charts · Time Control |
This version of kmchart runs natively on Linux/X11 and MacOSX platforms.
The installation instructions for each differ significantly - this section discusses each in turn, and then describes building kmchart from source.
Linux/X11 |
Linux distributions that use the RPM format, such as Centos, Fedora, OpenSuSE, Redhat Enterprise Linux (RHEL), and SuSE Linux Enterprise Server (SLES) can make use of the pre-built packages that are available for download from http://oss.sgi.com/~nathans/kmchart-*.rpm. These have been built on a recent version of Centos.
kmchart has a runtime dependency on the Qt4 shared libraries. These are usually available from a package named qt4. Version 3 of the Qt libraries will not work. There is also a runtime dependency on the PCP library. RPMs for these can be found in the same place as kmchart - http://oss.sgi.com/~nathans/pcp-*.rpm.
Once downloaded, the PCP and kmchart RPMs can be installed by running the following as root:
rpm -Uvh pcp-*.rpm kmchart-*.rpm
For users of Debian, and Debian-based distributions like Ubuntu, binary packages are also available. These have been incorporated into the official version of Debian currently under development (Feb 2008). The initial version of the package is being made available alongside the RPMs above, but this will no longer be the case once the package is part of an official Debian release.
MacOSX |
On the Apple Mac platform, kmchart has been built and tested on versions 10.4 and 10.5 of MacOSX. Pre-built binaries can be obtained from http://oss.sgi.com/~nathans/kmchart-*.dmg.
On MacOSX, kmchart has the same dependencies - the PCP library and the Qt4 runtime environment. Pre-built PCP packages for MacOSX can be downloaded from the same location as kmchart - http://oss.sgi.com/~nathans/pcp-*.dmg, and the Qt4 binary package is available from Trolltech.
Building from source |
The best way to build kmchart from source is to use the git source code management (SCM) tools. This SCM is freely available and runs natively on many different platforms. First, get the current version of the source code for both kmchart and PCP:
git clone git://oss.sgi.com:8090/nathans/kmchart.git kmchart
git clone git://oss.sgi.com:8090/nathans/pcp.git pcp
Build and install PCP:
cd pcp && make install
Then build kmchart:
cd ../kmchart && make install
When building from source, you'll need to ensure you have the following tools and libraries installed: a C++ compiler, autoconf, and the Qt4 development tools (like qmake), libraries and headers. On MacOSX, the Apple Xcode development environment is also required, as it is used by the Qt application build process. Inkscape - a Scalable Vector Graphics (SVG) editor- can be used to modify the icons, but is not required during the build process.
If you encounter difficulties building kmchart, consult the contacts page which contains contact information for people who can provide additional assistance.
Copyright © 2007-2008 Aconex |
kmchart |