Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Sean Reynaud on March 21, 2002, 05:34:56 PM
-
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/gd
Now, you can type 'make' and 'make install'
-
Just as a guess, you probably need to install the gd-devel package.
-
I don't know how sophisticated you want your stats to be, but you can get a decent idea about mod_gzip performance from the server-manager using View log file>httpd/mod_gzip.log. I simply compare the number of lines containing "OK" to the total number of lines for a rough estimate of gzip usage. Depending on what exactly you are trying to find out, a pretty quick Perl script might do what you need, as well.
Dan
-
I had thought about that and have the gd-devel and gd-progs rpm installed just in case. (v 1.8.4-4)
I think this may be causing some of the issues I have with YAPPA as well. I can only view images at the original size.
Thanks for the suggestion though...
/sean