Ok, so the first problem I have is that I need to recompile webalizer with dns support. In order to do that, I need to install Berkeley DB with v1.85 support.
I configured Berkeley DB with the option: --enable-compat185, per the BerkeleyDB webpage.
It compiles correctly, and installs the libs in /usr/local/BerkeleyDB.4.5/lib
When I try to compile webalizer with DNS, I get the following:
Code:
./configure --enable-dns --with-db=/usr/local/BerkeleyDB.4.5/lib/
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 whether ln -s works... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking how to run the C preprocessor... (cached) gcc -E
checking whether char is unsigned... (cached) no
checking for dbopen... (cached) no
checking for library containing dbopen... (cached) no
configure: warning: You must have a V1.85 compatable DB library!
configure: warning: DNS lookup code will be disabled...
checking for socket... (cached) yes
checking for sys/socket.h... (cached) yes
checking for main in -lnsl... (cached) yes
checking for main in -l44bsd... (cached) no
checking for main in -lm... (cached) yes
checking for main in -lz... (cached) yes
checking for gzrewind in -lz... (cached) yes
checking for main in -lpng... (cached) yes
checking for gdImagePng in -lgd... (cached) yes
checking for gd.h... (cached) /usr/local/include
checking for getopt.h... (cached) yes
checking for math.h... (cached) yes
checking default config dir... (cached) /etc
checking for language file... (cached) yes - english
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.english to webalizer_lang.h
Did I miss something?