[mrtg] MRTG 2.9.10 make problem
"Muñoz, Francis D."
MunozFD at etpi.com.ph
Mon Feb 26 03:32:29 MET 2001
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
More information about the mrtg
mailing list