X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdbuild.txt;h=702a54b37ccaa9cbe0ad85930b2405f01daf13e1;hb=d9822df7ed5e8122cf3a62e4e99678e94007f504;hp=fc25687a4216e78ff0e4c5a8d2fcc812ab2ddecb;hpb=91b2f1022a195d008d818f283690ef63a00fd79c;p=pkg-rrdtool.git diff --git a/doc/rrdbuild.txt b/doc/rrdbuild.txt index fc25687..702a54b 100644 --- a/doc/rrdbuild.txt +++ b/doc/rrdbuild.txt @@ -35,7 +35,7 @@ OOPPTTIIMMIISSTTIICC BBUUIILLDD variables. BUILD_DIR=/tmp/rrdbuild - INSTALL_DIR=/opt/rrdtool-1.4.2 + INSTALL_DIR=/opt/rrdtool-1.4.8 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.4.2.tar.gz - gunzip -c rrdtool-1.4.2.tar.gz | tar xf - - cd rrdtool-1.4.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 Ok, this was very optimistic. This try will probably have ended with @@ -84,13 +84,6 @@ IINNSSTTAALLLLIINNGG DDEEPPEENNDDEENNCCIIEESS 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. - DDeebbiiaann // UUbbuunnttuu Use apt-get to make sure you have all that is required. A number of packages will get added through dependencies. @@ -284,7 +277,7 @@ BBUUIILLDDIINNGG DDEEPPEENNDDEENNCCIIEESS 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 \ --enable-xlib=no \ --enable-xlib-render=no \ @@ -293,6 +286,14 @@ BBUUIILLDDIINNGG DDEEPPEENNDDEENNCCIIEESS $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" + _B_u_i_l_d_i_n_g _G_l_i_b cd $BUILD_DIR @@ -325,7 +326,7 @@ BBUUIILLDDIINNGG DDEEPPEENNDDEENNCCIIEESS python and tcl setups that would prevent RRDtool from building if they are included in their current state. - cd $BUILD_DIR/rrdtool-1.4.2 + cd $BUILD_DIR/rrdtool-1.4.8 ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python $MAKE clean $MAKE @@ -344,4 +345,4 @@ AAUUTTHHOORR -1.4.2 2009-11-15 RRDBUILD(1) +1.4.8 2013-05-23 RRDBUILD(1)