[mrtg] cgfmaker problem

Julien Borne julien.borne at detexis.thomson-csf.com
Thu Apr 5 11:32:00 MEST 2001

Am I doomed? Dunno, but certainly stupid, or no luck...
I've finally  managed to install mrtg (wow, 1 week for THAT!), but i've
got another problem when I try cfgmaker:

If that can help, here is what my make gives:

gcc -I/usr/local/src/gd -I/usr/local/src/zlib -I/usr/local/src/libpng
-DGFORM_GD=gdImagePng -g -O2 src/rateup.c -L/usr/local/src/gd -lgd
-L/usr/local/src/zlib -L/usr/local/src/libpng -lm -lpng -lz -lm -o
/usr/local/src/perl-5.6.0/perl -0777 -pi -e 's@^#!\s*/\S*perl@#!
/usr/local/src/perl-5.6.0/perl@' bin/cfgmaker bin/indexmaker bin/mrtg
/usr/local/src/perl-5.6.0/perl -0777 -pi -e
's at GRAPHFMT="...";@GRAPHFMT="png";@' bin/mrtg bin/indexmaker

and cfgmaker:

# cfgmaker --global 'WorkDir: /home/www/mrtg' \
> --global 'Options[_]: bits,growright' \
> --output /home/www/mrtg/mrtg.cfg \
> public at x.x.x.x

Can't locate strict.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .)
at ./cfgmaker line 19.
BEGIN failed--compilation aborted at ./cfgmaker line 19.

And maybe it's useful to tell you that strict.pm is in
/usr/local/src/perl-5.6.0/lib, and that my PATH leads to it...
Moreover, /usr/local/lib/perl5 doesn't exist! So my question is: may I
(how?) specify the path to perl during the MRTG's installation?
I really don't know why he tries to search there...

Thanks, as always, for any answer!


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