Code

Imported Upstream version 1.4.7
[pkg-rrdtool.git] / doc / rrdbuild.txt
index f58f4a2b5026260cefca24e4979632b0843152d2..8d6e5a6b80953169f633b9b5ba757daa0b07d49c 100644 (file)
@@ -35,7 +35,7 @@ O\bOP\bPT\bTI\bIM\bMI\bIS\bST\bTI\bIC\bC B\bBU\bUI\bIL\bLD\bD
        variables.
 
         BUILD_DIR=/tmp/rrdbuild
-        INSTALL_DIR=/opt/rrdtool-1.4.3
+        INSTALL_DIR=/opt/rrdtool-1.4.7
 
        If your _\b/_\bt_\bm_\bp is mounted with the option noexec (RHEL seems todo that)
        you have to choose a different directory!
@@ -48,9 +48,9 @@ O\bOP\bPT\bTI\bIM\bMI\bIS\bST\bTI\bIC\bC B\bBU\bUI\bIL\bLD\bD
        Lets first assume you already have all the necessary libraries pre-
        installed.
 
-        wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.3.tar.gz
-        gunzip -c rrdtool-1.4.3.tar.gz | tar xf -
-        cd rrdtool-1.4.3
+        wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz
+        gunzip -c rrdtool-1.4.7.tar.gz | tar xf -
+        cd rrdtool-1.4.7
         ./configure --prefix=$INSTALL_DIR && make && make install
 
        Ok, this was very optimistic. This try will probably have ended with
@@ -84,13 +84,6 @@ I\bIN\bNS\bST\bTA\bAL\bLL\bLI\bIN\bNG\bG D\bDE\bEP\bPE\bEN\bND\bDE\bEN\bNC\bCI\bIE\bES\bS
 
         export PATH=/opt/SunStudioExpress/bin
 
-       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
-
-        --disable-libintl
-
-       option.
-
    D\bDe\beb\bbi\bia\ban\bn /\b/ U\bUb\bbu\bun\bnt\btu\bu
        Use apt-get to make sure you have all that is required. A number of
        packages will get added through dependencies.
@@ -293,6 +286,14 @@ B\bBU\bUI\bIL\bLD\bDI\bIN\bNG\bG D\bDE\bEP\bPE\bEN\bND\bDE\bEN\bNC\bCI\bIE\bES\bS
         $MAKE
         $MAKE install
 
+       When building on Solaris you may want todo
+
+        ./configure --prefix=$INSTALL_DIR \
+           --enable-xlib=no \
+           --enable-xlib-render=no \
+           --enable-win32=no \
+           CFLAGS="-O3 -fPIC -D_POSIX_PTHREAD_SEMANTICS"
+
        _\bB_\bu_\bi_\bl_\bd_\bi_\bn_\bg _\bG_\bl_\bi_\bb
 
         cd $BUILD_DIR
@@ -325,7 +326,7 @@ B\bBU\bUI\bIL\bLD\bDI\bIN\bNG\bG D\bDE\bEP\bPE\bEN\bND\bDE\bEN\bNC\bCI\bIE\bES\bS
        python and tcl setups that would prevent RRDtool from building if they
        are included in their current state.
 
-        cd $BUILD_DIR/rrdtool-1.4.3
+        cd $BUILD_DIR/rrdtool-1.4.7
         ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python
         $MAKE clean
         $MAKE
@@ -344,4 +345,4 @@ A\bAU\bUT\bTH\bHO\bOR\bR
 
 
 
-1.4.3                             2010-03-22                       RRDBUILD(1)
+1.4.7                             2012-01-24                       RRDBUILD(1)