-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 21 February 2002 12:10 am, Peter Kiem wrote:
> 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.

Yes, but it was a while ago. I even sent a patch to the author. He 
replied that he had no intention of trying fix it, because it was 
RedHat's fault for moving libraries around. :) I tried..

If I remember correctly, you need to change the path for the library in 
question. If you search, there are several matches. I believe this one is 
the one you want:
/usr/include/db2/db_185.h

I have:
[root@tuxfan floppy]# locate db_185.h
/usr/include/db2/db_185.h
/usr/include/db3/db_185.h
/usr/i386-glibc21-linux/include/db_185.h

Sorry I can't be more clear, I just don't remember the fix, and I long 
ago deleted the source.

- -D

> [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

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8dISneMAUbzJhSVcRAgdcAJ9qTWMHHUAApx21lpK1CxoXHNaezACfUJLU
LMSoShfFelkTjW7c/N6zvzY=
=wd4O
-----END PGP SIGNATURE-----



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

Reply via email to