[mrtg] Need help

Narayanaswamy, Raaman raaman.narayanaswamy at wamu.net
Wed Mar 12 08:10:29 CET 2008

I hope i solved the problem but after installation of RRD tool,  when i
try installing mrtg...........i got below error when we run make command
testsvc at admu154 /tmp/rrdbuild/mrtg-2.16.1$ make
gcc -I/tmp/rrdbuild/lb/include -I/tmp/rrdbuild/lb/include/libart-2.0
-I/tmp/rrdbuild/lb/include/freetype2 -I/tmp/rrdbuild/lb/include/libpng
-DGFORM_GD=gdImagePng -O3 -Wall -Wpointer-arith -Wcast-align
-Wmissing-declarations -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c
./src/rateup.c -o bin/rateup.o
src/rateup.c: In function `update':
src/rateup.c:1576: warning: comparison between signed and unsigned
src/rateup.c:1613: warning: comparison between signed and unsigned
src/rateup.c:1650: warning: comparison between signed and unsigned
src/rateup.c:1687: warning: comparison between signed and unsigned
LD_RUN_PATH= gcc bin/rateup.o -o bin/rateup -L/tmp/rrdbuild/lb/lib
-Wl,-Bstatic -lgd -lpng -lz -Wl,-Bdynamic  -lm
/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
testsvc at admu154 /tmp/rrdbuild/mrtg-2.16.1$ 

Is that ok, whether i will create problem..........I need help..........


From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Narayanaswamy,
Sent: Tuesday, March 11, 2008 11:09 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Need help


I am trying install MRTG, before that I am installing RRD tool. I have
complied all lib as given in documents in the url

When its trying to create make file for installation..........There is
error as shown below............Can some help me.......it will be very
great for us.

Checking if your kit is complete... 
Looks good 
Writing Makefile for RRDs 
cd perl-shared && make 
make[4]: Entering directory
cp RRDs.pm blib/lib/RRDs.pm 
cp ntmake.pl blib/lib/ntmake.pl 
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv RRDs.xsc

-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-fmessage-length=0 -Wall -Wall -pipe   -DVERSION=\"1.2027\"
-DXS_VERSION=\"1.2027\" -fPIC

RRDs.c: In function `XS_RRDs_xport': 
RRDs.xs:332: warning: unused variable `row_cnt' 
RRDs.c:417: warning: unused variable `RETVAL' 
RRDs.c:418: warning: unused variable `targ' 
Running Mkbootstrap for RRDs () 
chmod 644 RRDs.bs 
rm -f blib/arch/auto/RRDs/RRDs.so 
LD_RUN_PATH="/usr/lib64:/lib64" cc  -shared -L/usr/local/lib64 RRDs.o
-L../../src/.libs/ -Wl,--rpath -Wl,/usr/local/rrdtool-1.2.27/lib -lrrd
-o blib/arch/auto/RRDs/RRDs.so   -lm -lpng -lz -lfreetype

/bin/ld: cannot find -lpng 
collect2: ld returned 1 exit status 
make[4]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1 
make[4]: Leaving directory
make[3]: *** [perl_shared] Error 2 
make[3]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27/bindings' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27/bindings' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27' 
make: *** [all] Error 2 
testsvc at admu154 /tmp/rrdbuild/rrdtool-1.2.27$ 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080312/96db118a/attachment.html 

More information about the mrtg mailing list