[mrtg] Re: ./configure error mrtg-2.8.8

Brian Hughes hughbria at isu.edu
Tue Oct 12 23:23:11 MEST 1999


When I did the "make install" for gd-1.7.3 on my system it seemd to like
the /usr/local path, so when I then did the "./configure
--with-gd-lib=/usr/local/lib" followed by the "make" it was happy.  If
memory serves me right I did also have to "rm config.cache" before the
"./configure ...".  So I would take a peek at where the "make install"
for gd-1.7.3 is stashing it's files and match up the paths when you do
the ./configure.

Best Regards,
Brian

BETA ONE wrote:
> 
> ok, I am getting an error when doing a 'make'.
> here is my 'make' and './configure' output below.
> thanks...
> 
> ===configure
> # ./configure --with-gd-lib=../GD-1.18/libgd
> --with-png-lib=.../lpng103
> loading cache ./config.cache
> checking for gcc... (cached) 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... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc
> -E
> checking whether make sets ${MAKE}... (cached) yes
> checking for perl... (cached) /usr/local/bin/perl
> checking for acos in -lm... (cached) yes
> checking for gdImageGif in -lgd... (cached) yes
> checking for gdImagePng in -lgd... (cached) no
> checking the weather... (cached) its fine
> checking if we can use GCC-specific compiler
> options... (cached) yes
> creating ./config.status
> creating Makefile
> ordering CD from
> http://cdnow.com/gift/oetiker@ee.ethz.ch .... just
> kidding ;-)
> 
> ----------------------------------------------------------------
> Config is DONE!
> 
> Type 'make' to compile the software
> 
>        ... that wishlist mentioned above does realy
> exist. So if
> you feel like showing your appreciation for rrdtool
> this is the
> place to go. :-)
> 
>                             -- Tobi Oetiker
> <oetiker at ee.ethz.ch>
> ----------------------------------------------------------------
> 
> === make
> 
> LD_RUN_PATH=.../lpng103:/tmp/tmp/mrtg-2.8.8/../GD-1.18/libgd
> gcc -g -O2 -DGFORM_GD=gdImageGif src/rateup.c -lm
> -L../GD-1.18/libgd -L.../lpng103 -lgd -lm -o
> run/rateup
> src/rateup.c:60: gd.h: No such file or directory
> src/rateup.c:61: gdfonts.h: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target
> `run/rateup'
> 
> --- Brian Hughes <hughbria at isu.edu> wrote:
> > Hi,
> >
> > The trick for me was to use "./configure
> > --with-gd-lib=/usr/local/lib"
> > location may vary depending on your system.
> >
> > Best Regards,
> > Brian
> >
> 
> =====
> 
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com

-- 
Brian Hughes               mailto:hughbria at isu.edu
Idaho State University     http://www.isu.edu/~hughbria

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list