Hi guys, am new here.. im havin this problem unsolved for 3-4 days, n just foudn this forum..

Im tryin to intall GeoIP module on Fedora core 3.


Here's the list of commands im using in order..

cd /home/temp/

wget http://www.maxmind.com/download/geoi...e/GeoIP.dat.gz
gunzip GeoIP.dat.gz
mkdir /usr/local/share/GeoIP
mv GeoIP.dat /usr/local/share/GeoIP/GeoIP.dat

wget http://search.cpan.org/CPAN/authors/...rl-1.14.tar.gz
tar -zxvf Geo-IP-PurePerl-1.14.tar.gz
cd Geo-IP-PurePerl-1.14
perl Makefile.PL
make
make test
make install
cd /home/temp/

wget http://www.maxmind.com/download/geoi...P-1.3.8.tar.gz
tar -zxvf GeoIP-1.3.8.tar.gz
cd GeoIP-1.3.8
./configure
make

make check
make install
cd /home/temp/

cd /home/temp/

wget http://www.maxmind.com/download/geoi...e/GeoIP.dat.gz
gunzip GeoIP.dat.gz
mkdir /usr/local/share/GeoIP
mv GeoIP.dat /usr/local/share/GeoIP/GeoIP.dat

wget http://search.cpan.org/CPAN/authors/...rl-1.14.tar.gz
tar -zxvf Geo-IP-PurePerl-1.14.tar.gz
cd Geo-IP-PurePerl-1.14
perl Makefile.PL
make
make test
make install
cd /home/temp/

wget http://www.maxmind.com/download/geoi...P-1.3.8.tar.gz
tar -zxvf GeoIP-1.3.8.tar.gz
cd GeoIP-1.3.8
./configure
make
make check
make install
cd /home/temp/


When i run the make command marked in Bold (the one for Geo-IP1.3.
im gettin the follwing error:

-bash-3.00# make
Making all in libGeoIP
make[1]: Entering directory `/home/temp/GeoIP-1.3.8/libGeoIP'
/bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"GeoIP\" -DVERSION=\"1.3.8\" -DHAVE_DLFCN_H=1 -DHAVE_STDINT_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DDEFAULT_DBDIR=\"NONE/share/GeoIP\" -I. -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -c GeoIPUpdate.c
rm -f .libs/GeoIPUpdate.lo
gcc -DPACKAGE=\"GeoIP\" -DVERSION=\"1.3.8\" -DHAVE_DLFCN_H=1 -DHAVE_STDINT_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DDEFAULT_DBDIR=\"NONE/share/GeoIP\" -I. -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -c GeoIPUpdate.c -fPIC -DPIC -o .libs/GeoIPUpdate.lo
GeoIPUpdate.c:37:18: zlib.h: No such file or directory
GeoIPUpdate.c: In function `GeoIP_update_database':
GeoIPUpdate.c:76: error: `gzFile' undeclared (first use in this function)
GeoIPUpdate.c:76: error: (Each undeclared identifier is reported only once
GeoIPUpdate.c:76: error: for each function it appears in.)
GeoIPUpdate.c:76: error: syntax error before "gz_fh"
GeoIPUpdate.c:208: error: `gz_fh' undeclared (first use in this function)
GeoIPUpdate.c:208: warning: implicit declaration of function `gzopen'
GeoIPUpdate.c:215: warning: implicit declaration of function `gzread'
GeoIPUpdate.c:217: warning: implicit declaration of function `gzclose'
GeoIPUpdate.c: In function `GeoIP_update_database_general':
GeoIPUpdate.c:323: error: `gzFile' undeclared (first use in this function)
GeoIPUpdate.c:323: error: syntax error before "gz_fh"
GeoIPUpdate.c:596: error: `gz_fh' undeclared (first use in this function)
GeoIPUpdate.c:739: warning: initialization from incompatible pointer type
make[1]: *** [GeoIPUpdate.lo] Error 1
make[1]: Leaving directory `/home/temp/GeoIP-1.3.8/libGeoIP'
make: *** [all-recursive] Error 1
AND when i run the ./configure (just before running 'make') i get the followin output..

-bash-3.00# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
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 Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether ln -s works... (cached) yes
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
Enabling GeoIP City Edition support
checking for stdint.h... (cached) yes
checking for gethostbyname... (cached) yes
checking for gethostbyname_r... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating GeoIP.spec
creating libGeoIP/Makefile
creating apps/Makefile
creating conf/Makefile
creating data/Makefile
creating man/Makefile
creating test/Makefile
is there anythign wrong with this? what am i supposed to do to do a clean installation? help me guys..