[mrtg] Help me from this error !

Moshiur Rahman Khan moshiur at msn.com
Mon Sep 18 06:44:53 MEST 2006


Dear all,
In my network around 100 interface (Cisco Router/Switch & Canopy radio ) and I am interested to configure MRTG for monitoring the network. Today tried to configure MRTG in FreeBSD 5.4. but I getting some error which I have included in bellow. Could you please help me for that ?

Best Regards,

Moshiur Rahman Khan
Internet Administrator
FSMU, Ministry of Finance 
Secretariat, Dhaka, Bangladesh

*****************************************************************************************
mrtg# cd /usr/ports/net-mgmt/mrtg
mrtg# make && make install && make clean
===>  Extracting for mrtg-2.11.1,1
=> Checksum OK for mrtg-2.11.1.tar.gz.
===>   mrtg-2.11.1,1 depends on file: /usr/local/bin/perl5.6.2 - found
===>  Patching for mrtg-2.11.1,1
===>   mrtg-2.11.1,1 depends on file: /usr/local/bin/perl5.6.2 - found
===>  Applying FreeBSD patches for mrtg-2.11.1,1
/bin/rm /usr/ports/net-mgmt/mrtg/work/mrtg-2.11.1/lib/mrtg2/BER.pm /usr/ports/net-mgmt/mrtg/work/mrtg-2.11.1/lib/mrtg2/SNMP_*.pm
/usr/local/bin/perl -pi -e 's:%%GD%%:-lgd:g' /usr/ports/net-mgmt/mrtg/work/mrtg-2.11.1/configure
===>   mrtg-2.11.1,1 depends on file: /usr/local/bin/perl5.6.2 - found
===>   mrtg-2.11.1,1 depends on shared library: gd.4 - found
===>  Configuring for mrtg-2.11.1,1
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd5.4-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for perl... /usr/local/bin/perl
checking for groff... /usr/bin/groff
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for unsigned long long... yes
checking for long long... yes
checking for strtoll... yes
checking for printf long long format specifier... %lld
checking for pow in -lm... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gdImageGd in -lgd... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking the weather... (cached) it's fine
checking if we can use GCC-specific compiler options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just kidding ;-)

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

Type 'make' to compile the software

       ... that wishlist mentioned above does really exist. So if
you feel like showing your appreciation for MRTG, this is the
place to go. I just love CDs and DVDs

                            -- Tobi Oetiker <oetiker at ee.ethz.ch>
----------------------------------------------------------------
===>  Building for mrtg-2.11.1,1
cc -I/usr/local/include -DGFORM_GD=gdImagePng -O -pipe  -Wall -Wpointer-arith -Wcast-align -Wmissing-declarations -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c ./src/rateup.c -o bin/rateup.o
LD_RUN_PATH=/usr/local/lib cc bin/rateup.o -o bin/rateup -L/usr/local/lib  -Wl,-Bstatic -lgd -lpng -lz -Wl,-Bdynamic  -lm
/usr/local/bin/perl -0777 -p -i~ -e 's@^#!\s*/\S*perl@#! /usr/local/bin/perl@' ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/local/bin/perl -0777 -p -i~ -e 's at GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker
===>  Installing for mrtg-2.11.1,1
===>   mrtg-2.11.1,1 depends on file: /usr/local/lib/perl5/site_perl/5.6.2/SNMP_Session.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.6.2/SNMP_Session.pm in /usr/ports/net-mgmt/p5-SNMP_Session
===>  Extracting for p5-SNMP_Session-1.07
=> Checksum OK for SNMP_Session-1.07.tar.gz.
===>   p5-SNMP_Session-1.07 depends on file: /usr/local/bin/perl5.6.2 - found
===>  Patching for p5-SNMP_Session-1.07
===>   p5-SNMP_Session-1.07 depends on file: /usr/local/bin/perl5.6.2 - found
===>   p5-SNMP_Session-1.07 depends on file: /usr/local/bin/perl5.6.2 - found
===>  Configuring for p5-SNMP_Session-1.07
Checking if your kit is complete...
Looks good
Writing Makefile for SNMP_Session
===>  Building for p5-SNMP_Session-1.07
cp lib/BER.pm blib/lib/BER.pm
cp lib/SNMP_util.pm blib/lib/SNMP_util.pm
cp lib/SNMP_Session.pm blib/lib/SNMP_Session.pm
===>  Installing for p5-SNMP_Session-1.07
===>   p5-SNMP_Session-1.07 depends on file: /usr/local/bin/perl5.6.2 - found
===>   Generating temporary packing list
===>  Checking if net-mgmt/p5-SNMP_Session already installed
===>   p5-SNMP_Session-1.07 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of net-mgmt/p5-SNMP_Session
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/net-mgmt/p5-SNMP_Session.
*** Error code 1

Stop in /usr/ports/net-mgmt/mrtg.



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list