On 2004/09/21, at 11:08, OpenMacNews wrote:

results in a DIFFERENT failed make @:

        then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f
        ".deps/dns.Tpo"; exit 1; fi dns.c: In function `txtquery':
        dns.c:53: error: `C_IN' undeclared (first use in this

This problem can be fixed with --disable-dns

hmmmm. tried that already; unfortunately does not work for me ...

after an appropriate "make distclean"

a subsequent:

       ./configure \
       --prefix=/usr/local/clamav080rc \
       --mandir=/usr/local/man \
       --enable-shared \
       --enable-static \
       --with-user=clamav \
       --with-group=clamav \
       --with-tcpwrappers \
       --without-libcurl \
       --disable-dns

still results in a failed make ...


on my osx 10.3.5, HAVE_RESOLV_H still defined after --disable-dns switch.

$ tar zxvf clamav-0.80-rc.tar.gz
$ cd clamav-0.80rc
$ ./configure --disable-dns --without-libcurl
$ grep HAVE_RESOLV_H clamav-config.h
#define HAVE_RESOLV_H 1

so make will pass after undef HAVE_RESOLV_H.

$ vi clamav-config.h
$ grep HAVE_RESOLV_H clamav-config.h
/* #undef HAVE_RESOLV_H */
$ make
$ sudo make install

I think this issue caused by double AC_CHECK_HEADER for resolv.h.
The attached patch will fix.

--
Masaki Ogawa
[EMAIL PROTECTED]


Attachment: clamav-0.80rc-dns.patch
Description: Binary data

Reply via email to