diff --git a/doc/rrdbuild.1 b/doc/rrdbuild.1
index 05fdc80951170005ed6413f3bda8db445c29d5d1..dcb3a5d4bebc786f3d9ebdc4c7f9b6d6813b4689 100644 (file)
--- a/doc/rrdbuild.1
+++ b/doc/rrdbuild.1
-.\" Automatically generated by Pod::Man 2.1801 (Pod::Simple 3.08)
+.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
.\"
.\" Standard preamble:
.\" ========================================================================
.\" ========================================================================
.\"
.IX Title "RRDBUILD 1"
.\" ========================================================================
.\"
.IX Title "RRDBUILD 1"
-.TH RRDBUILD 1 "2009-06-09" "1.3.999" "rrdtool"
+.TH RRDBUILD 1 "2013-05-23" "1.4.8" "rrdtool"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
rrdbuild \- Instructions for building RRDtool
.SH "OVERVIEW"
.IX Header "OVERVIEW"
rrdbuild \- Instructions for building RRDtool
.SH "OVERVIEW"
.IX Header "OVERVIEW"
-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.
.PP
RRDtool relies on services of third part libraries. Some of these libraries
document will give some information on how this is done.
.PP
RRDtool relies on services of third part libraries. Some of these libraries
.PP
.Vb 2
\& BUILD_DIR=/tmp/rrdbuild
.PP
.Vb 2
\& BUILD_DIR=/tmp/rrdbuild
-\& INSTALL_DIR=/usr/local/rrdtool\-1.3.2
+\& INSTALL_DIR=/opt/rrdtool\-1.4.8
.Ve
.PP
If your \fI/tmp\fR is mounted with the option noexec (\s-1RHEL\s0 seems todo that) you have to choose
.Ve
.PP
If your \fI/tmp\fR is mounted with the option noexec (\s-1RHEL\s0 seems todo that) you have to choose
pre-installed.
.PP
.Vb 4
pre-installed.
.PP
.Vb 4
-\& 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.8.tar.gz
+\& gunzip \-c rrdtool\-1.4.8.tar.gz | tar xf \-
+\& cd rrdtool\-1.4.8
\& ./configure \-\-prefix=$INSTALL_DIR && make && make install
.Ve
.PP
\& ./configure \-\-prefix=$INSTALL_DIR && make && make install
.Ve
.PP
If your \s-1OS\s0 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
If your \s-1OS\s0 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 \s-1OS\s0 ready for the rrdtool compilation.
+hints on getting your \s-1OS\s0 ready for compiling RRDtool.
.PP
.PP
-Additions to this list are welcome. In general rrdtool should work with the
+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.
.SS "OpenSolaris 2008.05"
latest versions of the libraries. The versions listed here are just what was
current when I tested this.
.SS "OpenSolaris 2008.05"
\& perl \-i~ \-p \-e \*(Aqs/(Requires.*?)\es*xrender.*/$1/\*(Aq /usr/lib/pkgconfig/cairo.pc
.Ve
.PP
\& perl \-i~ \-p \-e \*(Aqs/(Requires.*?)\es*xrender.*/$1/\*(Aq /usr/lib/pkgconfig/cairo.pc
.Ve
.PP
-Make sure rrdtool finds your new compiler
+Make sure the RRDtool build system finds your new compiler
.PP
.Vb 1
\& export PATH=/opt/SunStudioExpress/bin
.Ve
.PP
.Vb 1
\& export PATH=/opt/SunStudioExpress/bin
.Ve
-.PP
-Since there does not seem to be a viable msgfmt tool on OpenSolaris (short
-of installing it yourself). You have to call configure with the
-.PP
-.Vb 1
-\& \-\-disable\-libintl
-.Ve
-.PP
-option.
.SS "Debian / Ubuntu"
.IX Subsection "Debian / Ubuntu"
Use apt-get to make sure you have all that is required. A number
.SS "Debian / Ubuntu"
.IX Subsection "Debian / Ubuntu"
Use apt-get to make sure you have all that is required. A number
.Ve
.SS "Gentoo"
.IX Subsection "Gentoo"
.Ve
.SS "Gentoo"
.IX Subsection "Gentoo"
-In Gentoo installing rrdtool is really simple you just need to \fBemerge
+In Gentoo installing RRDtool is really simple you just need to \fBemerge
rrdtool\fR. All dependencies will be handled automatically by the portage
system. The only thing you should care about are \s-1USE\s0 flags, which allow you
rrdtool\fR. All dependencies will be handled automatically by the portage
system. The only thing you should care about are \s-1USE\s0 flags, which allow you
-fine tune features rrdtool will be built with. Currently the following \s-1USE\s0
+fine tune features RRDtool will be built with. Currently the following \s-1USE\s0
flags are available:
.PP
.Vb 7
flags are available:
.PP
.Vb 7
.IX Subsection "General build tips for AIX"
If you are working with \s-1AIX\s0, you may find the \fB\-\-disable\-shared\fR option
will cause things to break for you. In that case you may have to install the
.IX Subsection "General build tips for AIX"
If you are working with \s-1AIX\s0, you may find the \fB\-\-disable\-shared\fR option
will cause things to break for you. In that case you may have to install the
-shared libraries into the rrdtool \s-1PREFIX\s0 and work with \fB\-\-disable\-static\fR
+shared libraries into the RRDtool \s-1PREFIX\s0 and work with \fB\-\-disable\-static\fR
instead.
.PP
instead.
.PP
-Another hint to get rrdtool working on \s-1AIX\s0 is to use the \s-1IBM\s0 \s-1XL\s0 C Compiler:
+Another hint to get RRDtool working on \s-1AIX\s0 is to use the \s-1IBM\s0 \s-1XL\s0 C Compiler:
.PP
.Vb 2
\& export CC=/usr/vac/bin/cc
.PP
.Vb 2
\& export CC=/usr/vac/bin/cc
\& cd $BUILD_DIR
\& wget http://oss.oetiker.ch/rrdtool/pub/libs/cairo\-1.6.4.tar.gz
\& gunzip \-c cairo\-1.6.4.tar.gz | tar xf \-
\& cd $BUILD_DIR
\& wget http://oss.oetiker.ch/rrdtool/pub/libs/cairo\-1.6.4.tar.gz
\& gunzip \-c cairo\-1.6.4.tar.gz | tar xf \-
-\& cd cairo\-1.4.10
+\& cd cairo\-1.6.4
\& ./configure \-\-prefix=$INSTALL_DIR \e
\& \-\-enable\-xlib=no \e
\& \-\-enable\-xlib\-render=no \e
\& ./configure \-\-prefix=$INSTALL_DIR \e
\& \-\-enable\-xlib=no \e
\& \-\-enable\-xlib\-render=no \e
\& $MAKE install
.Ve
.PP
\& $MAKE install
.Ve
.PP
+When building on Solaris you may want todo
+.PP
+.Vb 5
+\& ./configure \-\-prefix=$INSTALL_DIR \e
+\& \-\-enable\-xlib=no \e
+\& \-\-enable\-xlib\-render=no \e
+\& \-\-enable\-win32=no \e
+\& CFLAGS="\-O3 \-fPIC \-D_POSIX_PTHREAD_SEMANTICS"
+.Ve
+.PP
\fIBuilding Glib\fR
.IX Subsection "Building Glib"
.PP
\fIBuilding Glib\fR
.IX Subsection "Building Glib"
.PP
.PP
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
.PP
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
+tcl setups that would prevent RRDtool from building if they are included in
their current state.
.PP
.Vb 5
their current state.
.PP
.Vb 5
-\& cd $BUILD_DIR/rrdtool\-1.3.2
+\& cd $BUILD_DIR/rrdtool\-1.4.8
\& ./configure \-\-prefix=$INSTALL_DIR \-\-disable\-tcl \-\-disable\-python
\& $MAKE clean
\& $MAKE
\& ./configure \-\-prefix=$INSTALL_DIR \-\-disable\-tcl \-\-disable\-python
\& $MAKE clean
\& $MAKE