Loading ...
Sorry, an error occurred while loading the content.

Webalizer Compile

Expand Messages
  • colonel_angel2004
    I m getting a compile error that I ve not found the answer to for enabling DNS Support. This is what I get when I enter make at the command line. These are
    Message 1 of 1 , Jul 23, 2005
    • 0 Attachment
      I'm getting a compile error that I've not found the answer to for
      enabling DNS Support.

      This is what I get when I enter 'make' at the command line. These are
      the last statements.

      dns_resolv.h:26: error: syntax error before '*' token
      dns_resolv.h:26: warning: type defaults to `int' in declaration of
      `dns_db'
      dns_resolv.h:26: warning: data definition has no type or storage class
      make: *** [webalizer.o] Error 1

      Make Install gives me the same output.

      When I run Webazolver, I get this error:

      Warning: Invalid keyword 'DNSCache' (/etc/webalizer.conf)
      Warning: Invalid keyword 'DNSChildren' (/etc/webalizer.conf)
      Webalizer V2.01-10 (Linux 2.4.22-10mdk) English
      DNS support not present, aborting...

      I know I compiled it with DNS support ./configure --enable-dns

      I noticed something else also...

      This file seems to be missing... db.h

      Here's the full output of the make:

      [root@localhost webalizer-2.01-10]# 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
      webalizer.c
      webalizer.c:70:16: db.h: No such file or directory
      In file included from webalizer.c:82:
      dns_resolv.h:26: error: syntax error before '*' token
      dns_resolv.h:26: warning: type defaults to `int' in declaration of
      `dns_db'
      dns_resolv.h:26: warning: data definition has no type or storage class
      make: *** [webalizer.o] Error 1
      [root@localhost webalizer-2.01-10]#

      And the full output of make install:

      [root@localhost webalizer-2.01-10]# make install
      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
      webalizer.c
      webalizer.c:70:16: db.h: No such file or directory
      In file included from webalizer.c:82:
      dns_resolv.h:26: error: syntax error before '*' token
      dns_resolv.h:26: warning: type defaults to `int' in declaration of
      `dns_db'
      dns_resolv.h:26: warning: data definition has no type or storage class
      make: *** [webalizer.o] Error 1
      [root@localhost webalizer-2.01-10]#

      I'm utterly baffled at this point. Any help greatly appreciated. :)
    Your message has been successfully submitted and would be delivered to recipients shortly.