I am trying to install mgstats (
http://wizard.ae.krakow.pl/~mike/mgstat/) to analyze the mod_gzip log files.
I downloaded the source and tried to install it. When running configure, it complains that the GD library is not installed. However, I have installed gd 1.8.4-4.
Am I missing part of the GD library or how can I get the mgstats configure to recognize GD.
# rpm -q gd
gd-1.8.4-4
# ./configure
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 for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for math.h... (cached) yes
checking for assert.h... (cached) yes
checking Looking for a GD library header files
checking for gd.h... (cached) /usr/include
checking for /usr/include/gdfonts.h... (cached) yes
checking for /usr/include/gdfontmb.h... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for errx... (cached) yes
checking for snprintf... (cached) yes
checking for main in -lm... (cached) yes
checking for main in -ljpeg... (cached) no
checking for main in -lpng... (cached) no
checking for main in -lfreetype... (cached) no
checking for libpng.a... (cached) no
checking for libgd.a... (cached) /usr/lib
checking for gdImageGif in -lgd... (cached) no
configure: warning: No support for gif files in GD library
checking for gdImagePng in -lgd... (cached) no
configure: warning: No support for png in GD library
creating ./config.status
creating Makefile
GD library not found. Mgstat will run but won't produce graphics.
Please get GD library from
http://www.boutell.com/gdNow, you can type 'make' and 'make install'