X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=blobdiff_plain;f=doc%2Frrdbuild.txt;h=fc25687a4216e78ff0e4c5a8d2fcc812ab2ddecb;hp=772b259a265833ef252bdda4debf66211bcadb4e;hb=91b2f1022a195d008d818f283690ef63a00fd79c;hpb=fa3f1e567e9c848683aefaa1a1f5e68340c7a5f2 diff --git a/doc/rrdbuild.txt b/doc/rrdbuild.txt index 772b259..fc25687 100644 --- a/doc/rrdbuild.txt +++ b/doc/rrdbuild.txt @@ -6,7 +6,7 @@ NNAAMMEE rrdbuild - Instructions for building RRDtool OOVVEERRVVIIEEWW - If you downloaded the source of rrdtool you have to compile it. This + If you downloaded the source of RRDtool you have to compile it. This document will give some information on how this is done. RRDtool relies on services of third part libraries. Some of these @@ -35,7 +35,7 @@ OOPPTTIIMMIISSTTIICC BBUUIILLDD variables. BUILD_DIR=/tmp/rrdbuild - INSTALL_DIR=/usr/local/rrdtool-1.3.2 + INSTALL_DIR=/opt/rrdtool-1.4.2 If your _/_t_m_p is mounted with the option noexec (RHEL seems todo that) you have to choose a different directory! @@ -48,9 +48,9 @@ OOPPTTIIMMIISSTTIICC BBUUIILLDD Lets first assume you already have all the necessary libraries pre- installed. - wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.2.tar.gz - gunzip -c rrdtool-1.3.2.tar.gz | tar xf - - cd rrdtool-1.3.2 + wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.2.tar.gz + gunzip -c rrdtool-1.4.2.tar.gz | tar xf - + cd rrdtool-1.4.2 ./configure --prefix=$INSTALL_DIR && make && make install Ok, this was very optimistic. This try will probably have ended with @@ -60,10 +60,10 @@ IINNSSTTAALLLLIINNGG DDEEPPEENNDDEENNCCIIEESS 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 the - rrdtool compilation. + 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 + 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. @@ -80,7 +80,7 @@ IINNSSTTAALLLLIINNGG DDEEPPEENNDDEENNCCIIEESS perl -i~ -p -e 's/(Requires.*?)\s*xrender.*/$1/' /usr/lib/pkgconfig/cairo.pc - Make sure rrdtool finds your new compiler + Make sure the RRDtool build system finds your new compiler export PATH=/opt/SunStudioExpress/bin @@ -98,10 +98,10 @@ IINNSSTTAALLLLIINNGG DDEEPPEENNDDEENNCCIIEESS apt-get install libpango1.0-dev libxml2-dev GGeennttoooo - In Gentoo installing rrdtool is really simple you just need to eemmeerrggee + In Gentoo installing RRDtool is really simple you just need to eemmeerrggee rrrrddttooooll. 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. Currently the + you fine tune features RRDtool will be built with. Currently the following USE flags are available: doc - install .html and .txt documentation @@ -132,10 +132,10 @@ BBUUIILLDDIINNGG DDEEPPEENNDDEENNCCIIEESS GGeenneerraall bbuuiilldd ttiippss ffoorr AAIIXX If you are working with AIX, you may find the ----ddiissaabbllee--sshhaarreedd 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 + install the shared libraries into the RRDtool PREFIX and work with ----ddiissaabbllee--ssttaattiicc instead. - Another hint to get rrdtool working on AIX is to use the IBM XL C + Another hint to get RRDtool working on AIX is to use the IBM XL C Compiler: export CC=/usr/vac/bin/cc @@ -322,10 +322,10 @@ BBUUIILLDDIINNGG DDEEPPEENNDDEENNCCIIEESS 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 + python and tcl setups that would prevent RRDtool from building if they are included in their current state. - cd $BUILD_DIR/rrdtool-1.3.2 + cd $BUILD_DIR/rrdtool-1.4.2 ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python $MAKE clean $MAKE @@ -344,4 +344,4 @@ AAUUTTHHOORR -1.3.999 2009-06-09 RRDBUILD(1) +1.4.2 2009-11-15 RRDBUILD(1)