2008/4/3 ÌÚÍËÆü

webalizer-2.01-10¤ò¥¤¥ó¥¹¥È¡¼¥ë

¤³¤Î¥¨¥ó¥È¥ê¤ò¤Ï¤Æ¤Ê¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ËÄɲÃwebalizer-2.01-10をインストール¤Î¤Ï¤Æ¤Ê¥Ö¥Ã¥¯¥Þ¡¼¥¯Èï¥ê¥ó¥¯¿ô
Filed under¡§ linux — akky @ 17:32:49

Fedra6¤Ëwebalizer-2.01-10¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Å¿Ëö¤Ç¤¹¡£

You must have a V1.85 compatable DB library¤Ã¤Æ¤¤¤ï¤ì¤ë

¥Û¥¹¥È̾¤òµÕ°ú¤­¤·¤¿¤¤¤Î¤Ç

./configure  --with-language=japanese --enable-dns

¤È¤¹¤ë¤È

[root@vesalius webalizer-2.01-10]# ./configure  --with-language=japanese --e
nable-dns
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/install -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/include
checking for getopt.h... (cached) yes
checking for math.h... (cached) yes
checking default config dir... (cached) /etc
checking for language file... yes - japanese
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.japanese to webalizer_lang.h
[root@vesalius webalizer-2.01-10]#

¤Ã¤Æ¤Ê¤ë¡£¥³¥ó¥Ñ¥¤¥ë¤â¤Ç¤­¡¢¼Â¹Ô¤â¤Ç¤­¤ë¤Î¤À¤±¤É¡¢DNSCache¤ÈDNSChildren¤ÎÀßÄê¤ò¤·¤Æ¤¢¤ë¤È

Warning: Invalid keyword 'DNSCache' (/etc/webalizer.conf)
Warning: Invalid keyword 'DNSChildren' (/etc/webalizer.conf)

¤Ã¤Æ¤¤¤ï¤ì¤Æ¤·¤Þ¤¤¡¢µÕ°ú¤­¤â¤Ç¤­¤Æ¤¤¤Ê¤¤¡£configure»þ¤Î

configure: warning: You must have a V1.85 compatable DB library!
configure: warning: DNS lookup code will be disabled...

¤Î·Ù¹ð¤Ëµ¯°ø¤·¤Æ¤¤¤ë¤ß¤¿¤¤¤À¡£Berkeley DB¤Î1.85¤òÍѰդ»¤è¤È¤ª¤Ã¤·¤ã¤ë¡£¤Ê¤Î¤Ç¡¢rpm¤«¤é

  • db4-devel-4.3.29-9.fc6
  • db4-4.3.29-9.fc6

¤òÆþ¤ì¤Æ¤ª¤¯

Berkeley DB¤ò»È¤Ã¤Æ¥³¥ó¥Ñ¥¤¥ë

rpm¤«¤éÆþ¤ì¤¿BerkeleyDB¤ò»È¤¦¤è¤¦¤Ë

./configure  --with-language=japanese --enable-dns --with-dblib=/usr/lib -with-db=/usr/include

¤È¤¹¤ë¤È¡¢configure»þ¤Î·Ù¹ð¤Ï¾Ã¤¨¤ë¤¬¡¢º£¸å¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë¤¬Ä̤é¤Ê¤¤

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: error: 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: error: too few arguments to function
dns_resolv.c:235: error: 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: error: too few arguments to function
dns_resolv.c:329: error: too few arguments to function
dns_resolv.c:359: error: too few arguments to function
dns_resolv.c: In function `db_put':
dns_resolv.c:745: warning: passing arg 2 of pointer to function from incompatible pointer type
dns_resolv.c:745: error: too few arguments to function
dns_resolv.c: In function `open_cache':
dns_resolv.c:793: warning: assignment makes pointer from integer without a cast
dns_resolv.c:801: error: too few arguments to function
dns_resolv.c:807: error: too few arguments to function
dns_resolv.c: In function `close_cache':
dns_resolv.c:829: error: too few arguments to function
make: *** [dns_resolv.o] Error 1

°ú¿ô¤Î¿ô¤¬°ã¤¦¤È¤Ê¡£/usr/include/db.h¤Èdns_resolv.c¤ò¸«Èæ¤Ù¤ë¤È¤ä¤Ã¤Ñ¤ê¡¢°ú¿ô¿ô¤¬¹ç¤ï¤Ê¤¤¡£¤à¤à¤à¤È¡¢dns_resolv.c¤Èâˤá¤Ã¤³¤·¤Æ¤¤¤ë¤È

ifdef HAVE_DB_185_H
#include <db_185.h>                            /* on my RH6.0 system ?!?   */
#else
#include <db.h>                                /* DB header ****************/
#endif /* HAVE_DB_185_H */

¤È¤¤¤¦µ­½Ò¤òȯ¸«¡£db_185.h¤¬¤¢¤ë¤È¤Ê¡£ºÇ½é¤Î·Ù¹ð¤Ë¤¢¤ëV1.85¤ÈÉä¹ç¤¹¤ë¡£db_185.h¤òõ¤¹¤È/usr/include/db4/¤Ë¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤òȯ¸«¡£¤³¤ì¤òÆÉ¤Þ¤»¤ì¤Ð¤¤¤¤¤ó¤À¤Ê¡£¤È¤¤¤¦¤³¤È¤Ç¡¢

CFLAGS='-DHAVE_DB_185_H' ./configure  --with-language=japanese --enable-dns --with-dblib=/usr/lib --with-db=/usr/include

¤È¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¡£¤³¤ì¤Ç¥³¥ó¥Ñ¥¤¥ë»þ¤ÎÌäÂê¤È¼Â¹Ô»þ¤ÎÌäÂ̵꤬»ö²ò·è¤Ç¤¹¡£

¥³¥á¥ó¥È (0) »

¤³¤Îµ­»ö¤Ë¤Ï¤Þ¤À¥³¥á¥ó¥È¤¬¤Ä¤¤¤Æ¤¤¤Þ¤»¤ó¡£

¥³¥á¥ó¥È RSS ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ URI

¥³¥á¥ó¥È¤ò¤É¤¦¤¾