[mrtg] Can't compile!!

Rikunj Rikunj at raha.com
Tue Apr 6 22:55:34 MEST 2004


Hello All,

I am trying to setup mrtg on redhat 9 with 2.4.22 and following software's
installed as described in manual

gd-2.0.11.tar.gz
libpng-1.0.15.tar.gz
zlib-1.1.4.tar.gz
perl, v5.8.0

 "mrtg-2.10.13.tar.gz" setup with following

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

# make

-----ERROR ----
gcc -I/usr/local/src/gd -I/usr/local/src/zlib -I/usr/local/src/libpng -DGFOR
M_GD=gdImagePng -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-declarat
ions -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c ./src/rateup.c -o
bin/rateup.o
LD_RUN_PATH=/usr/local/src/libpng:/usr/local/src/zlib:/usr/local/src/gd gcc
bin/rateup.o -o
bin/rateup -L/usr/local/src/gd -L/usr/local/src/zlib -L/usr/local/src/libpng
 -lm  -Wl,-Bstatic -lgd -lpng -lz -Wl,-Bdynamic
/usr/bin/perl -0777 -p -i~ -e 's@^#!\s*/\S*perl@#! /usr/bin/perl@'
./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's at GRAPHFMT="...";@GRAPHFMT="png";@'
./bin/mrtg ./bin/indexmaker
-----ERROR ----

compilation process breaks after the above message.
Am I missing anything or doing something wrong?

Please help.

Rp


--
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