X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdbuild.html;fp=doc%2Frrdbuild.html;h=f7585a6623ef4a63bb589ee651baa29055a577d0;hb=23a63bef251017be5fd4f09db2be10575e3df59e;hp=f6a095672c0cd30d80d6760886fd567a500b2833;hpb=fd248121a4d1324289fcb6d0429613c6708cd559;p=pkg-rrdtool.git diff --git a/doc/rrdbuild.html b/doc/rrdbuild.html index f6a0956..f7585a6 100644 --- a/doc/rrdbuild.html +++ b/doc/rrdbuild.html @@ -96,7 +96,7 @@ tar and GNU make respectively. It could be that they a
Once you have decided. Save the two locations into environment variables.
BUILD_DIR=/tmp/rrdbuild - INSTALL_DIR=/opt/rrdtool-1.4.3+ INSTALL_DIR=/opt/rrdtool-1.4.7
If your /tmp is mounted with the option noexec (RHEL seems todo that) you have to choose a different directory!
Now make sure the BUILD_DIR exists and go there:
@@ -106,9 +106,9 @@ a different directory!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 configure complaining about several missing libraries.
@@ -139,11 +139,6 @@ fix this:Make sure the RRDtool build system finds your new compiler
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.
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"
- 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