[mrtg] MRTG and RedHat 8.0

netman netman at knox.edu
Mon Oct 14 21:08:20 MEST 2002


Hi all,

I had MRTG 2.9.17 running fine on 7.3, upgraded RH to 8.0, it still ran
fine.

So I get a new P4 2ghz machine and decide to do a fresh install of RedHat
8.0 and load the newest MRTG 2.9.22-??. Now when I run mrtg I get the
following error....

This is just one line of many....

Malformed UTF-8 character (unexpected continuation byte 0xa4, with no
preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 274.

This is just running mrtg by itself with no config. I tried using a .rpm to
install it and also the instructions where you use the .configure, make
install, make.... Here are the outputs from those operations...


[root at netmanu mrtg-2.9.17]# ./configure --prefix /usr/local/mrtg-2
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for groff... /usr/bin/groff
checking for sqrt in -lm... yes
checking for acos in -lm... yes
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... yes
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gd.h... yes
checking the weather... (cached) its fine
updating cache ./config.cache
creating ./config.status
creating Makefile
ordering CD from http://people.ee.ethz.ch/~oetiker/wish ... just kidding ;-)

----------------------------------------------------------------
Config is DONE!

root at netmanu mrtg-2.9.17]# make
LD_RUN_PATH= gcc -DGFORM_GD=gdImagePng -g -O2 src/rateup.c -lgd -lm
-lpng -lz  -lm -o bin/rateup
/usr/bin/perl -0777 -pi -e 's@^#!\s*/\S*perl@#! /usr/bin/perl@'
bin/cfgmaker bin/indexmaker bin/mrtg
/usr/bin/perl -0777 -pi -e 's at GRAPHFMT="...";@GRAPHFMT="png";@' bin/mrtg
bin/indexmaker
[root at netmanu mrtg-2.9.17]#

[root at netmanu mrtg-2.9.17]# make install
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/bin
mkdir /usr/local/mrtg-2
mkdir /usr/local/mrtg-2/bin
for x in bin/mrtg bin/cfgmaker bin/indexmaker bin/rateup; do \
  /usr/bin/install -c -m 755 $x /usr/local/mrtg-2/bin; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/lib/mrtg2/Pod
mkdir /usr/local/mrtg-2/lib
mkdir /usr/local/mrtg-2/lib/mrtg2
mkdir /usr/local/mrtg-2/lib/mrtg2/Pod
for x in lib/mrtg2/*.pm; do \
  /usr/bin/install -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2; done
for x in lib/mrtg2/Pod/*.pm; do \
  /usr/bin/install -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2/Pod; done
for x in images/*.gif images/*.png; do \
  /usr/bin/install -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/doc/mrtg2
mkdir /usr/local/mrtg-2/doc
mkdir /usr/local/mrtg-2/doc/mrtg2
for x in COPYING COPYRIGHT README CHANGES THANKS doc/*.pod doc/*.html
doc/*.wml doc/*.txt doc/*.png; do \
  /usr/bin/install -c -m 644 $x /usr/local/mrtg-2/doc/mrtg2; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/man/man1
mkdir /usr/local/mrtg-2/man
mkdir /usr/local/mrtg-2/man/man1
for x in doc/*.1; do \
  /usr/bin/install -c -m 644 $x /usr/local/mrtg-2/man/man1; done
[root at netmanu mrtg-2.9.17]#

As you can probably tell I em not that much of a Linux Guru, I pretty much
follow directions to get things going. I have no clue on how to fix this
problem. I get the same error whether I use the .rpm or compile it
myself....Any help would be appreciated, or a link in the right direction.
Again this is a fresh install of RedHat 8.0 on a P4 2Ghz machine with an
ASUS p4B533 motherboard and 512 meg ram....

Thanks

Don Hickey

---
[This E-mail scanned for viruses by Declude Virus]

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