Has anyone managed to get Webalizer 2.01-09 to compile on Red Hat 7.1 when 
using the --enable-dns config option?

It seems to be looking for a DB1.85 compatible library and not finding the 
DB3.1 already installed.

[root@mail1 webalizer-2.01-09]# rpm -q db3
db3-3.1.17-7
[root@mail1 webalizer-2.01-09]# ./configure --enable-dns
creating cache ./config.cache
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for dbopen... no
checking for library containing dbopen... -ldb1
checking for db_185.h... no
checking for errno.h... yes
checking for socket... yes
checking for sys/socket.h... yes
checking for main in -lnsl... yes
checking for main in -l44bsd... no
checking for main in -lm... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking for main in -lpng... yes
checking for gdImagePng in -lgd... yes
checking for gd.h... /usr/include
checking for getopt.h... yes
checking for math.h... yes
checking default config dir... /etc
checking for language file... yes - english
updating cache ./config.cache
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.english to webalizer_lang.h
[root@mail1 webalizer-2.01-09]#
[root@mail1 webalizer-2.01-09]# make
gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -
DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1  -DUSE_DNS  -c 
dns_resolv.c
dns_resolv.c: In function `resolve_dns':
dns_resolv.c:149: warning: passing arg 2 of pointer to function from 
incompatible pointer type
dns_resolv.c:149: too few arguments to function
dns_resolv.c: In function `dns_resolver':
dns_resolv.c:218: warning: implicit declaration of function `dbopen'
dns_resolv.c:218: warning: assignment makes pointer from integer without a 
cast
dns_resolv.c:228: too few arguments to function
dns_resolv.c:235: too few arguments to function
dns_resolv.c:275: warning: passing arg 2 of pointer to function from 
incompatible pointer type
dns_resolv.c:275: too few arguments to function
dns_resolv.c:329: too few arguments to function
dns_resolv.c:359: too few arguments to function
dns_resolv.c: In function `db_put':
dns_resolv.c:742: warning: passing arg 2 of pointer to function from 
incompatible pointer type
dns_resolv.c:742: too few arguments to function
dns_resolv.c: In function `open_cache':
dns_resolv.c:790: warning: assignment makes pointer from integer without a 
cast
dns_resolv.c:798: too few arguments to function
dns_resolv.c:804: too few arguments to function
dns_resolv.c: In function `close_cache':
dns_resolv.c:826: too few arguments to function
make: *** [dns_resolv.o] Error 1

-- 
Regards,
+-----------------------+---------------------------------+
| Peter Kiem            | E-Mail    : <[EMAIL PROTECTED]> |
| Zordah IT             | Mobile    : +61 0414 724 766    |
|   IT Consultancy &    | WWW       : www.zordah.net      |
|   Internet Hosting    | ICQ       : "Zordah" 866661     |
+-----------------------+---------------------------------+






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to