[mrtg] Need help

Narayanaswamy, Raaman raaman.narayanaswamy at wamu.net
Wed Mar 12 07:09:28 CET 2008


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/20080311/08f9a4e4/attachment.html 

More information about the mrtg mailing list