[mrtg] Re: Problem with mrtg and linux

Nickolas Ray Ellson grimm at nickellson.com
Thu Aug 29 18:56:34 MEST 2002


 
Almost. Recompiling MRTG after hand removing the .RPM got rid of 
all the errors... but.. now all my .png's are only 75 bytes. 

<sigh> With no error's to track, I am not sure what to do about this 
one.

Anyone?

This is what I did (all compiles with no complaints):

mkdir -p /usr/local/src
cd /usr/local/src

 wget http://www.gzip.org/zlib/zlib-1.1.4.tar.gz
 gunzip -c zlib.tar.gz | tar xf -
 mv zlib-?.?.?/ zlib
 cd zlib
 ./configure
 make
 cd ..

 wget http://www.libpng.org/pub/png/src/libpng-1.0.12.tar.gz
 gunzip -c libpng-*.tar.gz |tar xf -
 rm libpng-*.tar.gz
 mv libpng-* libpng
 cd libpng
 make -f scripts/makefile.std CC=gcc ZLIBLIB=../zlib ZLIBINC=../zlib
 rm *.so.* *.so
 cd ..

 wget http://www.boutell.com/gd/http/gd-1.8.3.tar.gz
 gunzip -c gd-1.8.3.tar.gz |tar xf -
 mv gd-1.8.3 gd
 cd gd

 make INCLUDEDIRS="-I. -I../zlib -I../libpng" \
      LIBDIRS="-L../zlib -L. -L../libpng" \
      LIBS="-lgd -lpng -lz -lm"
 cd ..

cd /usr/local/src
gunzip -c mrtg-2.9.22.tar.gz | tar xvf -
cd mrtg-2.9.22

./configure --prefix=/usr/local/mrtg-2       \
             --with-gd=/usr/local/src/gd      \
             --with-z=/usr/local/src/zlib     \
             --with-png=/usr/local/src/libpng





> 
> Thank you!,
> have you found any solutions for the problem?
 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list