[mrtg] Re: ./configure error mrtg-2.8.8
Mohammed, Hadiza L
hadiza.l.mohammed at lmco.com
Tue Oct 12 22:00:23 MEST 1999
What I did was copy those two files, gd.h and gdfonts.h to my /usr/include
directory.
Try to find out on your computer where other libraries and header files are
such as math.h and string.h. Type find / -name math.h -print to see the
location. Then copy the gd files there.
Hadiza
-----Original Message-----
From: BETA ONE [mailto:beta1_version at yahoo.com]
Sent: Tuesday, October 12, 1999 3:37 PM
To: Brian Hughes
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: ./configure error mrtg-2.8.8
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
--
* 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
--
* 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