[mrtg] Re: MRTG 2.9.10 make problem

Alan Rader arader at finishline.com
Mon Feb 26 17:20:54 MET 2001


There are some files missing in 1.8.4 that are included with 1.8.3 that it
looks for that was giving me problems.  I went back to 1.8.3 and everything
compiled smoothly.


Alan Rader
Finish Line, Inc.
Network Administrator
arader at finishline.com
317-899-1022 x3529


-----Original Message-----
From: John Begley [mailto:jbegley at va.rr.com]
Sent: Monday, February 26, 2001 12:30 AM
To: Muñoz, Francis D.; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG 2.9.10 make problem



I had this exact same problem just yesterday with the very same load out.
Solaris 7, the whole bit.

What caused it for me was using the new version of gd, version 1.8.4.  I'm
not involved enough to know why, but I can tell you that I had to back down
to version 1.8.3 before it would compile, which it appears you have.  If you
started off the same way, I can only suggest you back up and re-compile
gd-1.8.3.  If you get completely frustrated, do what I did.  Wipe
/usr/local/src and /usr/local/mrtg-2.9.10 clean, unball all the packages
again and start over.  I did get it to work.

JB

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Muñoz, Francis D.
Sent: Sunday, February 25, 2001 9:32 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG 2.9.10 make problem
Importance: High



Hi guys,


I'm having a problem in the "make" por tion of the MRTG installation on a
Solaris 7 box. Your help would be much appreciated.

Here are the software that i used and followed the step by step instruction
on the MRTG home page.

GNUgcc  version 2.95.2
Perl version perl.5.6.0
zlib
libpng-1.0.8
gd-1.8.3
mrtg-2.9.10

Here's the output:

# ./configure --with-gd=/usr/local/src/gd --with-z=/usr/local/src/zlib
--with-png=/usr/local/src/libpng
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... ./install-sh -c
checking for perl... /usr/local/bin/perl
checking for groff... no
checking for nroff... /bin/nroff
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 gd.h... yes
checking the weather... (cached) its fine
updating cache ./config.cache
creating ./config.status
creating Makefile
ordering CD from http://ee-staff.ethz.ch/~oetiker/wish ld.so.1:
/usr/local/bin/perl: fatal: libgdbm.so.2: open failed: No such file or
directory
Killed
 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>
----------------------------------------------------------------
# make
LD_RUN_PATH=/usr/local/src/libpng:/usr/local/src/zlib:/usr/local/src/gd 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
bin/rateup
/usr/local/bin/perl -0777 -pi -e 's@^#!\s*/\S*perl@#! /usr/local/bin/perl@'
bin/cfgmaker bin/indexmaker bin/mrtg
ld.so.1: /usr/local/bin/perl: fatal: libgdbm.so.2: open failed: No such file
or directory
*** Error code 137
make: Fatal error: Command failed for target `subst'

What seems to be the problem?


Thanks,
FrancisM



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



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

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