RRDtool - rrdbuild. If you downloaded the source of RRDtool you have to compile it. This try will probably have ended with configure complaining about several missing libraries. If your OS lets you install additional packages from a software repository, you may get away with installing the missing packages. When the packages are installed, run configure again and try to compile again. Below you find some hints on getting your OS ready for compiling RRDtool.
Additions to this list are welcome. In general RRDtool should work with the latest versions of the libraries.
The versions listed here are just what was current when I tested this. Just add a compiler and the gnome development package: pkg install sunstudioexpress. SUNWgnome- common- devel.
There is a problem with cairo. Open. Solaris. It suggests that xrender is required for compilation with cairo. This is not true and also bad since Open. Solaris does not include an xrender.
Use Perl to fix this: perl - i~ - p - e 's/(Requires.*?)\s*xrender.*/$1/' /usr/lib/pkgconfig/cairo. Make sure the RRDtool build system finds your new compiler export PATH=/opt/Sun. Studio. Express/bin.
Cpanel auf rpmstrap Centos 5.
Use apt- get to make sure you have all that is required. A number of packages will get added through dependencies. All dependencies will be handled automatically by the portage system. The only thing you should care about are USE flags, which allow you fine tune features RRDtool will be built with.
Ive also gotten stuck with the pangocairo stuff. Virtually all distributions of Linux install Pango by default; in fact, if you are using Linux, Pango may well be rendering the text you are reading at the moment. I would like to use Firefox 3 on CentOS 4. Linux distro newer than Fedora Core 4 / CentOS 4.
Currently the following USE flags are available: doc - install . After you've decided which USE flags you need, set them either in make.
Take a look at Gentoo handbook for further details on how to manage USE flags: http: //www. But again this may have been too optimistic still, and you actually have to compile your own copies of some of the required libraries. Things like libpng and zlib are pretty standard so you will probably have them on your system anyway. Freetype, Fontinst, Cairo, Pango may be installed, but it is possible that they are pretty old and thus don't live up to our expectations, so you may want to compile their latest versions. If you are working with AIX, you may find the - -disable- shared option will cause things to break for you.
In that case you may have to install the shared libraries into the RRDtool PREFIX and work with - -disable- static instead. Another hint to get RRDtool working on AIX is to use the IBM XL C Compiler: export CC=/usr/vac/bin/cc. PERLCC=$CC(Better instructions for AIX welcome!)Some libraries want to know where other libraries are. For this to work, set the following environment variable export PKG.
Download pygtk2-2.16.0-3.el6.i686.rpm for CentOS 6 from CentOS repository.
Below you find instructions on how to compile pkgconfig. Since we are compiling libraries dynamically, they must know where to find each other.
This is done by setting an appropriate LDFLAGS. Unfortunately, the syntax again differs from system to system: Solaris export LDFLAGS=- R$.
If it is not available natively, here is how to compile it. If you already have a copy of zlib on your system (which is very likely) you can drop the settings of LDFLAGS and CPPFLAGS. Note that the backslash (\) at the end of line 4 means that line 4 and line 5 are on one line. Run the fc- cache program to build the fontconfig cache after changing the config file. This time you tell configure where it should be looking for libraries and include files.
This is done via environment variables. Depending on the shell you are running, the syntax for setting environment variables is different.
And finally try building again. We disable the python and tcl bindings because it seems that a fair number of people have ill configured python and tcl setups that would prevent RRDtool from building if they are included in their current state.