Subject: Re: Problem installing ClamAV 0.90.1
To: Roland Illig <rillig@netbsd.org>
From: Frank DeChellis <frankd@iaw.on.ca>
List: pkgsrc-users
Date: 03/14/2007 20:39:16
On 3/14/07 8:14 AM, "Roland Illig" <rillig@NetBSD.org> wrote:

> Frank DeChellis wrote:
>> ../libclamav/.libs/libclamav.so: undefined reference to `readdir_r'
>> collect2: ld returned 1 exit status
> 
> This is the interesting line. So my guess was wrong; it wasn't related
> to threading. The problem is that NetBSD 1.6.2 does not have a function
> called readdir_r.
> 
> The weird thing is that clamav checks whether a readdir_r function is
> available and uses another one if it isn't. But that check seems to
> return the wrong result. Can you please run "make configure; make debug"
> and post the output here?
> 
> Roland
> 

Thanks for the help  make configure first then make debug...here goes:

make clean

===> Cleaning for clamav-0.90.1
canal.iaw.on.ca:/usr/pkgsrc/mail/clamav# make configure
=> Required installed package digest>=20010302: digest-20050323 found
===> Checking for vulnerabilities in clamav-0.90.1
=> Checksum SHA1 OK for clamav-0.90.1.tar.gz
=> Checksum RMD160 OK for clamav-0.90.1.tar.gz
===> Installing dependencies for clamav-0.90.1
==========================================================================
The supported build options for clamav are:

        clamav-experimental curl milter

The currently selected options are:

        curl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.clamav (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
clamav-0.90.1.  Their current value is shown below:

        * CLAMAV_DBDIR = /var/clamav
        * CLAMAV_GROUP = clamav
        * CLAMAV_USER = clamav
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Required installed package libtool-base>=1.5.18nb5:
libtool-base-1.5.18nb6 found
=> Required installed package curl>=7.16.0: curl-7.16.1 found
=> Required installed package gmp>=4.2.1: gmp-4.2.1 found
=> Required installed package pth>=2.0.0nb2: pth-2.0.0nb2 found
===> Overriding tools for clamav-0.90.1
===> Extracting for clamav-0.90.1
===> Patching for clamav-0.90.1
=> Applying pkgsrc patches for clamav-0.90.1
===> Creating toolchain wrappers for clamav-0.90.1
===> Configuring for clamav-0.90.1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-unknown-netbsdelf1.6.2.
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for gawk... (cached) /usr/bin/awk
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output...
/usr/pkgsrc/mail/clamav/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ld used by cc... /usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld) is GNU
ld... yes
checking for /usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld option to reload
object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependent libraries... match_pattern
/lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for i386--netbsdelf-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker
(/usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker
(/usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld) supports shared libraries...
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.compiler/bin/c++-fail-wrapper -E -
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC...
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking whether the c++ linker
(/usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics...
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.compiler/bin/c++-fail-wrapper -E -
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 static flag -static works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker
(/usr/pkgsrc/mail/clamav/work/.wrapper/bin/ld) supports shared libraries...
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.compiler/bin/fortran-fail-wrapper -E -
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
yes
checking dynamic linker characteristics...
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.compiler/bin/fortran-fail-wrapper
-print-search-dirs -I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.compiler/bin/fortran-fail-wrapper -E -
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking stdbool.h usability... no
checking stdbool.h presence... no
checking for stdbool.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for bind in -lsocket... no
checking for gethostent in -lnsl... no
checking for libiconv_open in -liconv... yes
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... no
checking for strlcpy... yes
checking for strlcat... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for mkstemp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether snprintf correctly terminates long strings... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib installation... using /usr
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for sn_sigscan_initdb in -lsn_sigscan... no
checking for __dn_expand in -lresolv... no
checking for dn_expand in -lresolv... yes
checking for resolv.h... yes
checking whether setpgrp takes no argument... no
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... gnome-config: not found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
7.16.1
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking for gethostbyname_r... support disabled
checking for readdir_r... yes, and it takes 2 arguments
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking for fd_set... yes, found in sys/types.h
checking default FD_SETSIZE value... 256
configure: creating ./config.status
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating clamav-config.h
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding USE_LANGUAGES+=c++ to the package
Makefile.
WARNING: *** Please consider adding USE_LANGUAGES+=fortran to the package
Makefile.



make debug 

File versions:
        DEINSTALL: $NetBSD: DEINSTALL,v 1.2 2006/11/08 17:33:26 ghen Exp $
        MESSAGE: $NetBSD: MESSAGE,v 1.3 2004/10/30 10:23:02 grant Exp $
        Makefile: $NetBSD: Makefile,v 1.70 2007/03/06 10:32:33 martti Exp $
        PLIST: $NetBSD: PLIST,v 1.18 2007/02/16 14:40:41 xtraeme Exp $
        README.html: $NetBSD: README.pkg,v 1.22 2006/07/06 21:14:20 jlam Exp
$
        buildlink3.mk: $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:57
jlam Exp $
        distinfo: $NetBSD: distinfo,v 1.42 2007/03/06 10:32:34 martti Exp $
        files/freshclamd.sh: $NetBSD: freshclamd.sh,v 1.3 2006/06/20
20:24:45 jnemeth Exp $
        files/clamd.sh: $NetBSD: clamd.sh,v 1.9 2004/11/09 10:08:06 salo Exp
$
        options.mk: $NetBSD: options.mk,v 1.1 2007/02/28 20:42:05 xtraeme
Exp $
        patches/patch-ad: $NetBSD: patch-ad,v 1.11 2007/02/16 14:40:41
xtraeme Exp $
        patches/patch-af: $NetBSD: patch-af,v 1.3 2007/02/16 14:40:41
xtraeme Exp $
        patches/patch-ah: $NetBSD: patch-ah,v 1.9 2007/03/06 10:32:34 martti
Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isotech(2).ent: $Id:
isotech(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isonum.ent: $Id:
isonum.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsa(2).ent: $Id:
isoamsa(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isolat1.ent: $Id:
isolat1.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isomscr.ent: $Id:
isomscr.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isocyr1.ent: $Id:
isocyr1.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isocyr2.ent: $Id:
isocyr2.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isodia(2).ent: $Id:
isodia(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isobox.ent: $Id:
isobox.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/mmlalias.ent: $Id:
mmlalias.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsa.ent: $Id:
isoamsa.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsb.ent: $Id:
isoamsb.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsc.ent: $Id:
isoamsc.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsn.ent: $Id:
isoamsn.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamso.ent: $Id:
isoamso.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isoamsr.ent: $Id:
isoamsr.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isopub.ent: $Id:
isopub.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isotech.ent: $Id:
isotech.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isogrk3(2).ent: $Id:
isogrk3(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isodia.ent: $Id:
isodia.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isomfrk.ent: $Id:
isomfrk.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isogrk1.ent: $Id:
isogrk1.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isogrk2.ent: $Id:
isogrk2.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isogrk3.ent: $Id:
isogrk3.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isogrk4.ent: $Id:
isogrk4.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/mmlextra.ent: $Id:
mmlextra.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isocyr2(2).ent: $Id:
isocyr2(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isomopf.ent: $Id:
isomopf.ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/contrib/entitynorm/entities/isopub(2).ent: $Id:
isopub(2).ent,v 1.1 2006/12/26 16:17:01 tkojm Exp $
        work/clamav-0.90.1/clamav-milter/clamav-milter.c: $Id:
clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $
        work/clamav-0.90.1/clamav-milter/clamav-milter.c.orig: $Id:
clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $
        work/clamav-0.90.1/acinclude.m4: $Id: acinclude.m4,v 1.8 2006/12/22
19:45:32 acab Exp $
$Id: acinclude.m4,v 1.8 2006/12/22 19:45:32 acab Exp $
        work/clamav-0.90.1/libclamav/binhex.c: $Id: binhex.c,v 1.23
2007/02/12 20:46:08 njh Exp $
        work/clamav-0.90.1/libclamav/pdf.c: $Id: pdf.c,v 1.61 2007/02/12
20:46:09 njh Exp $
        work/clamav-0.90.1/libclamav/uuencode.c: $Id: uuencode.c,v 1.8
2006/12/11 11:55:11 njh Exp $
        work/clamav-0.90.1/libclamav/blob.c: $Id: blob.c,v 1.64 2007/02/12
22:25:14 njh Exp $
        work/clamav-0.90.1/libclamav/is_tar.c: $Id: is_tar.c,v 1.2
2006/06/17 21:00:44 tkojm Exp $
        work/clamav-0.90.1/libclamav/is_tar.h: $Id: is_tar.h,v 1.2
2007/02/11 00:41:13 tkojm Exp $
        work/clamav-0.90.1/libclamav/line.c: $Id: line.c,v 1.11 2007/02/12
20:46:08 njh Exp $
        work/clamav-0.90.1/libclamav/mbox.c: $Id: mbox.c,v 1.381 2007/02/15
12:26:44 njh Exp $
        work/clamav-0.90.1/libclamav/untar.c: $Id: untar.c,v 1.35 2007/02/12
20:46:09 njh Exp $
        work/clamav-0.90.1/libclamav/text.c: $Id: text.c,v 1.25 2007/02/12
20:46:09 njh Exp $
        work/clamav-0.90.1/libclamav/tnef.c: $Id: tnef.c,v 1.41 2007/02/12
22:22:27 njh Exp $
        work/clamav-0.90.1/libclamav/message.c: $Id: message.c,v 1.195
2007/02/12 20:46:09 njh Exp $

TOOLS:
        AWK=/usr/bin/awk
        BASENAME=/usr/bin/basename
        CAT=/bin/cat
        CHGRP=/usr/bin/chgrp
        CHMOD=/bin/chmod
        CHOWN=/usr/sbin/chown
        CMP=/usr/bin/cmp
        CP=/bin/cp
        CUT=/usr/bin/cut
        DATE=/bin/date
        DIFF=/usr/bin/diff
        DIGEST=/usr/pkg/bin/digest
        DIRNAME=/usr/bin/dirname
        ECHO=echo
        EGREP=/usr/bin/egrep
        SETENV=/usr/bin/env
        EXPR=/bin/expr
        FALSE=false
        FILE_CMD=/usr/bin/file
        FIND=/usr/bin/find
        GREP=/usr/bin/grep
        GZCAT=/usr/bin/gzcat
        HEAD=/usr/bin/head
        HOSTNAME_CMD=/bin/hostname
        ID=/usr/bin/id
        INSTALL=/usr/bin/install
        LN=/bin/ln
        LS=/bin/ls
        MKDIR=/bin/mkdir -p
        MTREE=/usr/sbin/mtree
        MV=/bin/mv
        PATCH=/usr/bin/patch
        PAX=/bin/pax
        PRINTF=/usr/bin/printf
        PWD_CMD=/bin/pwd
        RM=/bin/rm
        RMDIR=/bin/rmdir
        SED=/usr/bin/sed
        SH=/bin/sh
        SORT=/usr/bin/sort
        TAIL=/usr/bin/tail
        TAR=/usr/bin/tar
        TEST=test
        TOUCH=/usr/bin/touch
        TR=/usr/bin/tr
        TRUE=true
        WC=/usr/bin/wc
        XARGS=/usr/bin/xargs

CONFIGURE_DIRS:
        /usr/pkgsrc/mail/clamav/work/clamav-0.90.1

CONFIGURE_ENV (sorted alphabetically):
        AWK=/usr/bin/awk
        CC=cc
        CFLAGS=-O2
        CHMOD=/bin/chmod
        CMP=/usr/bin/cmp
        COMPILER_RPATH_FLAG=-Wl,-R
        CONFIG_SHELL=/bin/sh
        CP=/bin/cp
        CPPFLAGS=
        CXX=c++
        CXXCPP=cpp
        CXXFLAGS=-O2
        DIFF=/usr/bin/diff
        ECHO=echo
        EGREP=/usr/bin/egrep
        ENV_PROG=/usr/bin/env
        F77=f77
        FALSE=false
        FC=f77
        FFLAGS=-O
        FIND=/usr/bin/find
        GREP=/usr/bin/grep
        HOSTNAME=/bin/hostname
        INSTALL_INFO=
        LANG=C
        LC_COLLATE=C
        LC_CTYPE=C
        LC_MESSAGES=C
        LC_MONETARY=C
        LC_NUMERIC=C
        LC_TIME=C
        LDFLAGS=
        LIBGETOPT=
        LIBS=
        LIBTOOL=/usr/pkg/bin/libtool
        LINKER_RPATH_FLAG=-R
        LN=/bin/ln
        LS=/bin/ls
        MAKE=make
        MAKEINFO=/usr/pkgsrc/mail/clamav/work/.tools/bin/makeinfo
        MKDIR=/bin/mkdir -p
        MV=/bin/mv
        
PATH=/usr/pkgsrc/mail/clamav/work/.wrapper/bin:/usr/pkgsrc/mail/clamav/work/
.buildlink/bin:/usr/pkgsrc/mail/clamav/work/.gcc/bin:/usr/pkgsrc/mail/clamav
/work/.tools/bin:/usr/pkg/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/us
r/pkg/sbin:/local/bin:/local/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin
        PKG_CONFIG=
        
PKG_CONFIG_LIBDIR=/usr/pkgsrc/mail/clamav/work/.buildlink/lib/pkgconfig:/usr
/pkgsrc/mail/clamav/work/.buildlink/share/pkgconfig
        PKG_CONFIG_LOG=/usr/pkgsrc/mail/clamav/work/.pkg-config.log
        PKG_SYSCONFDIR=/usr/pkg/etc
        PREFIX=/usr/pkg
        PTHREADBASE=/usr/pkg
        PTHREAD_CFLAGS= -D_REENTRANT
        PTHREAD_LDFLAGS=
        PTHREAD_LIBS=-lpthread
        RM=/bin/rm
        RMDIR=/bin/rmdir
        SED=/usr/bin/sed
        SETENV=/usr/bin/env
        SORT=/usr/bin/sort
        TAR=/usr/bin/tar
        TEST=test
        TOUCH=/usr/bin/touch
        TR=/usr/bin/tr
        TRUE=true
        WRAPPER_DEBUG=no
        WRAPPER_UPDATE_CACHE=yes
        ac_cv_header_libmilter_mfapi_h=no
        ac_cv_path_ECHO=echo
        ac_cv_path_EGREP=/usr/bin/egrep
        ac_cv_path_ENV=/usr/bin/env
        ac_cv_path_FALSE=false
        ac_cv_path_GREP=/usr/bin/grep
        ac_cv_path_TEST=test
        ac_cv_path_TRUE=true
        ac_given_INSTALL=/usr/bin/install -c -o root -g wheel
        gt_cv_func_gnugettext1_libintl=yes
        gt_cv_func_gnugettext2_libintl=yes
        gt_cv_func_gnugettext_libintl=yes
        install_sh=/usr/bin/install
        lt_cv_sys_max_cmd_len=262144

CONFIGURE_SCRIPT:
        ./configure

CONFIGURE_ARGS:
        --disable-clamav
        --sysconfdir=/usr/pkg/etc
        --with-dbdir=/var/clamav
        --with-uid=clamav
        --with-group=clamav
        --with-tcpwrappers
        --with-zlib=/usr
        --enable-readdir_r
        --disable-milter
        --with-libcurl
        --disable-zlib-vcheck
        --with-libiconv-prefix=/usr/pkg
        --without-libintl-prefix
        --prefix=/usr/pkg
        --host=i386--netbsdelf
        --mandir=/usr/pkg/man

/usr/pkgsrc/mail/clamav/work/clamav-0.90.1/config.status:
        ACLOCAL=${SHELL} /usr/pkgsrc/mail/clamav/work/clamav-0.90.1/missing
--run aclocal-1.9
        AMDEPBACKSLASH=\\
        AMDEP_FALSE=#
        AMDEP_TRUE=
        AMTAR=${SHELL} /usr/pkgsrc/mail/clamav/work/clamav-0.90.1/missing
--run tar
        AR=ar
        AUTOCONF=${SHELL} /usr/pkgsrc/mail/clamav/work/clamav-0.90.1/missing
--run autoconf
        AUTOHEADER=${SHELL}
/usr/pkgsrc/mail/clamav/work/clamav-0.90.1/missing --run autoheader
        AUTOMAKE=${SHELL} /usr/pkgsrc/mail/clamav/work/clamav-0.90.1/missing
--run automake-1.9
        AWK=/usr/bin/awk
        BUILD_CLAMD_FALSE=#
        BUILD_CLAMD_TRUE=
        CC=cc
        CCDEPMODE=depmode=gcc
        CFGDIR=/usr/pkg/etc
        CFLAGS=-O2 -I/usr/pkg/include -I/usr/include
        CLAMAVGROUP=
        CLAMAVUSER=
        CLAMAV_MILTER_LIBS= -lresolv
        CLAMD_LIBS=
        CPP=cc -E
        CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/include
-I/usr/pkg/include
        CXX=c++
        CXXCPP=cpp
        CXXDEPMODE=depmode=none
        CXXFLAGS=-O2 -I/usr/pkg/include -I/usr/include
        CYGPATH_W=echo
        DBDIR=/var/clamav
        DEFS=-DHAVE_CONFIG_H
        DEPDIR=.deps
        ECHO=echo
        ECHO_C=
        ECHO_N=-n
        ECHO_T=
        EGREP=/usr/bin/egrep
        EXEEXT=
        F77=f77
        FFLAGS=-O
        FRESHCLAM_LIBS= -lresolv
        GETENT=
        GREP=/usr/bin/grep
        HAVE_MILTER_FALSE=
        HAVE_MILTER_TRUE=#
        INSTALL_DATA=/usr/bin/install -c -o root -g wheel -m 444
        INSTALL_PROGRAM=/usr/bin/install -c -s -o root -g wheel -m 555
        INSTALL_SCRIPT=/usr/bin/install -c -o root -g wheel -m 555
        INSTALL_STRIP_PROGRAM=${SHELL} $(install_sh) -c -s
        LDFLAGS=-L/usr/pkg/lib -Wl\,-R/usr/pkg/lib -L/usr/lib
-Wl\,-R/usr/lib
        LIBCLAMAV_LIBS= -liconv -lz -lbz2 -lgmp -L/usr/pkg/lib -lcurl
-L/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
-Wl\,-R/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
-L/usr/pkg/gcc-2.95.3/lib -Wl\,-R/usr/pkg/gcc-2.95.3/lib -L/usr/pkg/lib
-Wl\,-R/usr/pkg/lib -lidn -lssl -lcrypto -lz
        LIBCLAMAV_VERSION=2:1:0
        LIBOBJS=
        LIBS=
        LIBTOOL=$(SHELL) $(top_builddir)/libtool
        LN_S=ln -s
        LTLIBOBJS=
        MAINT=#
        MAINTAINER_MODE_FALSE=
        MAINTAINER_MODE_TRUE=#
        MAKEINFO=/usr/pkgsrc/mail/clamav/work/.tools/bin/makeinfo
        OBJEXT=o
        PACKAGE=clamav
        PACKAGE_BUGREPORT=
        PACKAGE_NAME=
        PACKAGE_STRING=
        PACKAGE_TARNAME=
        PACKAGE_VERSION=
        PATH_SEPARATOR=:
        RANLIB=ranlib
        SET_MAKE=
        SHELL=/bin/sh
        STRIP=strip
        THREAD_LIBS=-lpthread
        TH_SAFE=
        VERSION=0.90.1
        ac_ct_CC=
        ac_ct_CXX=
        ac_ct_F77=
        am__fastdepCC_FALSE=
        am__fastdepCC_TRUE=#
        am__fastdepCXX_FALSE=
        am__fastdepCXX_TRUE=#
        am__include=include
        am__leading_dot=.
        am__quote=
        am__tar=${AMTAR} chof - "$$tardir"
        am__untar=${AMTAR} xf -
        bindir=${exec_prefix}/bin
        build=i386-unknown-netbsdelf1.6.2.
        build_alias=
        build_cpu=i386
        build_os=netbsdelf1.6.2.
        build_vendor=unknown
        datadir=${datarootdir}
        datarootdir=${prefix}/share
        docdir=${datarootdir}/doc/${PACKAGE}
        dvidir=${docdir}
        exec_prefix=${prefix}
        host=i386--netbsdelf
        host_alias=i386--netbsdelf
        host_cpu=i386
        host_os=netbsdelf
        host_vendor=
        htmldir=${docdir}
        includedir=${prefix}/include
        infodir=${datarootdir}/info
        install_sh=/usr/bin/install
        libdir=${exec_prefix}/lib
        libexecdir=${exec_prefix}/libexec
        localedir=${datarootdir}/locale
        localstatedir=${prefix}/var
        mandir=/usr/pkg/man
        mkdir_p=$(mkinstalldirs)
        oldincludedir=/usr/include
        pdfdir=${docdir}
        prefix=/usr/pkg
        program_transform_name=s\,x\,x\,
        psdir=${docdir}
        s///g
        sbindir=${exec_prefix}/sbin
        sendmailprog=
        sharedstatedir=${prefix}/com
        sysconfdir=/usr/pkg/etc
        target=i386--netbsdelf
        target_alias=
        target_cpu=i386
        target_os=netbsdelf
        target_vendor=

/usr/pkgsrc/mail/clamav/work/clamav-0.90.1/clamav-config.h:
        #undef BIND_8_COMPAT
        #undef BROKEN_SNPRINTF
        #define BUILD_CLAMD 1
        #define CLAMAVGROUP "clamav"
        #define CLAMAVUSER "clamav"
        #undef CLAMUKO
        #undef CL_DEBUG
        #undef CL_EXPERIMENTAL
        #define CL_THREAD_SAFE 1
        #define CONFDIR "/usr/pkg/etc"
        #undef C_AIX
        #undef C_BEOS
        #undef C_BIGSTACK
        #define C_BSD 1
        #undef C_CYGWIN
        #undef C_DARWIN
        #undef C_HPUX
        #undef C_INTERIX
        #undef C_IRIX
        #undef C_KFREEBSD_GNU
        #undef C_LINUX
        #undef C_OS2
        #undef C_OSF
        #undef C_QNX6
        #undef C_SOLARIS
        #define DATADIR "/var/clamav"
        #define DEFAULT_FD_SETSIZE 256
        #define FILEBUFF 8192
        #undef FRESHCLAM_DNS_FIX
        #undef FRESHCLAM_NO_CACHE
        #undef HAVE_ACCRIGHTS_IN_MSGHDR
        #define HAVE_ATTRIB_ALIGNED 1
        #define HAVE_ATTRIB_PACKED 1
        #define HAVE_BZLIB_H 1
        #define HAVE_CONTROL_IN_MSGHDR 1
        #define HAVE_CTIME_R 1
        #define HAVE_CTIME_R_2 1
        #undef HAVE_CTIME_R_3
        #define HAVE_DLFCN_H 1
        #define HAVE_FSEEKO 1
        #undef HAVE_GETHOSTBYNAME_R_3
        #undef HAVE_GETHOSTBYNAME_R_5
        #undef HAVE_GETHOSTBYNAME_R_6
        #define HAVE_GETPAGESIZE 1
        #define HAVE_GMP 1
        #define HAVE_GRP_H 1
        #define HAVE_ICONV_H 1
        #define HAVE_INET_NTOP 1
        #define HAVE_INITGROUPS 1
        #define HAVE_INTTYPES_H 1
        #define HAVE_IN_ADDR_T 1
        #define HAVE_IN_PORT_T 1
        #undef HAVE_LIBMILTER_MFAPI_H
        #define HAVE_LIMITS_H 1
        #define HAVE_MALLOC_H 1
        #define HAVE_MEMCPY 1
        #define HAVE_MEMORY_H 1
        #define HAVE_MKSTEMP 1
        #define HAVE_MMAP 1
        #undef HAVE_NCORE
        #undef HAVE_NDIR_H
        #define HAVE_POLL 1
        #define HAVE_POLL_H 1
        #undef HAVE_PRAGMA_PACK
        #undef HAVE_PRAGMA_PACK_HPPA
        #define HAVE_PWD_H 1
        #define HAVE_READDIR_R_2 1
        #undef HAVE_READDIR_R_3
        #define HAVE_RECVMSG 1
        #define HAVE_REGEX_H 1
        #define HAVE_RESOLV_H 1
        #define HAVE_SENDMSG 1
        #define HAVE_SETGROUPS 1
        #define HAVE_SETSID 1
        #define HAVE_SNPRINTF 1
        #undef HAVE_STDBOOL_H
        #define HAVE_STDINT_H 1
        #define HAVE_STDLIB_H 1
        #undef HAVE_STRERROR_R
        #define HAVE_STRINGS_H 1
        #define HAVE_STRING_H 1
        #define HAVE_STRLCAT 1
        #define HAVE_STRLCPY 1
        #define HAVE_SYS_FILIO_H 1
        #define HAVE_SYS_INTTYPES_H 1
        #undef HAVE_SYS_INT_TYPES_H
        #define HAVE_SYS_MMAN_H 1
        #define HAVE_SYS_PARAM_H 1
        #undef HAVE_SYS_SELECT_H
        #define HAVE_SYS_STAT_H 1
        #define HAVE_SYS_TYPES_H 1
        #define HAVE_SYS_UIO_H 1
        #undef HAVE_TCPD_H
        #define HAVE_TERMIOS_H 1
        #define HAVE_UNISTD_H 1
        #define HAVE_VSNPRINTF 1
        #define HAVE_ZLIB_H 1
        #undef INCOMPLETE_CMSG
        #undef NOBZ2PREFIX
        #undef NO_FD_SET
        #define PACKAGE "clamav"
        #define PACKAGE_BUGREPORT ""
        #define PACKAGE_NAME ""
        #define PACKAGE_STRING ""
        #define PACKAGE_TARNAME ""
        #define PACKAGE_VERSION ""
        #define SCANBUFF 131072
        #undef SENDMAIL_BIN
        #undef SENDMAIL_VERSION_A
        #undef SENDMAIL_VERSION_B
        #undef SENDMAIL_VERSION_C
        #undef SETPGRP_VOID
        #define SIZEOF_INT 4
        #define SIZEOF_LONG 4
        #define SIZEOF_LONG_LONG 8
        #define SIZEOF_SHORT 2
        #define STDC_HEADERS 1
        #define USE_SYSLOG 1
        #define VERSION "0.90.1"
        #define WITH_CURL 1
        #undef WITH_TCPWRAP
        #define WORDS_BIGENDIAN 0
        #undef _LARGEFILE_SOURCE
        #undef _POSIX_PII_SOCKET
        #define _REENTRANT 1
        #undef const
        #undef inline
        #undef off_t
        #undef socklen_t

PKGSRC_MAKE_ENV (sorted alphabetically):
        MAKECONF=/etc/mk.conf
        
PATH=/usr/pkgsrc/mail/clamav/work/.wrapper/bin:/usr/pkgsrc/mail/clamav/work/
.buildlink/bin:/usr/pkgsrc/mail/clamav/work/.gcc/bin:/usr/pkgsrc/mail/clamav
/work/.tools/bin:/usr/pkg/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/us
r/pkg/sbin:/local/bin:/local/sbin:/usr/X11R6/bin

BUILD_DIRS:
        /usr/pkgsrc/mail/clamav/work/clamav-0.90.1

MAKE_ENV (sorted alphabetically):
        BSD_INSTALL=/usr/bin/install
        BSD_INSTALL_DATA=/usr/bin/install -c -o root -g wheel -m 444
        BSD_INSTALL_DATA_DIR=/usr/bin/install -d -o root -g wheel -m 755
        BSD_INSTALL_GAME=/usr/bin/install -c -s -o root -g wheel -m 555
        BSD_INSTALL_GAME_DATA=/usr/bin/install -c -o root -g wheel -m 444
        BSD_INSTALL_GAME_DIR=/usr/bin/install -d -o root -g wheel -m 755
        BSD_INSTALL_LIB=/usr/bin/install -c -o root -g wheel -m 555
        BSD_INSTALL_LIB_DIR=/usr/bin/install -d -o root -g wheel -m 755
        BSD_INSTALL_MAN=/usr/bin/install -c -o root -g wheel -m 444
        BSD_INSTALL_MAN_DIR=/usr/bin/install -d -o root -g wheel -m 755
        BSD_INSTALL_PROGRAM=/usr/bin/install -c -s -o root -g wheel -m 555
        BSD_INSTALL_PROGRAM_DIR=/usr/bin/install -d -o root -g wheel -m 755
        BSD_INSTALL_SCRIPT=/usr/bin/install -c -o root -g wheel -m 555
        BSD_INSTALL_SCRIPT_DIR=/usr/bin/install -d -o root -g wheel -m 755
        CC=cc
        CFLAGS=-O2
        COMPILER_RPATH_FLAG=-Wl,-R
        CPP=cpp
        CPPFLAGS=
        CXX=c++
        CXXCPP=cpp
        CXXFLAGS=-O2
        F77=f77
        FC=f77
        FFLAGS=-O
        INSTALL_INFO=
        LANG=C
        LC_COLLATE=C
        LC_CTYPE=C
        LC_MESSAGES=C
        LC_MONETARY=C
        LC_NUMERIC=C
        LC_TIME=C
        LDFLAGS=
        LIBGETOPT=
        LIBTOOL=/usr/pkg/bin/libtool 
        LINKER_RPATH_FLAG=-R
        LINK_ALL_LIBGCC_HACK=
        LOCALBASE=/usr/pkg
        MAKECONF=/dev/null
        MAKEINFO=/usr/pkgsrc/mail/clamav/work/.tools/bin/makeinfo
        NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive
        OBJECT_FMT=ELF
        
PATH=/usr/pkgsrc/mail/clamav/work/.wrapper/bin:/usr/pkgsrc/mail/clamav/work/
.buildlink/bin:/usr/pkgsrc/mail/clamav/work/.gcc/bin:/usr/pkgsrc/mail/clamav
/work/.tools/bin:/usr/pkg/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/us
r/pkg/sbin:/local/bin:/local/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin
        PKGMANDIR=man
        PKG_CONFIG=
        
PKG_CONFIG_LIBDIR=/usr/pkgsrc/mail/clamav/work/.buildlink/lib/pkgconfig:/usr
/pkgsrc/mail/clamav/work/.buildlink/share/pkgconfig
        PKG_CONFIG_LOG=/usr/pkgsrc/mail/clamav/work/.pkg-config.log
        PKG_SYSCONFDIR=/usr/pkg/etc
        PREFIX=/usr/pkg
        PTHREADBASE=/usr/pkg
        PTHREAD_CFLAGS= -D_REENTRANT
        PTHREAD_LDFLAGS=
        PTHREAD_LIBS=-lpthread
        USETOOLS=no
        USETOOLS=no
        VIEWBASE=/usr/pkg
        WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive
        WRAPPER_DEBUG=no
        WRAPPER_REORDER=yes
        WRAPPER_UPDATE_CACHE=yes
        X11BASE=/usr/X11R6
        X11PREFIX=/usr/pkg

MAKE_PROGRAM:
        /usr/bin/make

MAKE_FLAGS:

BUILD_MAKE_FLAGS:

INSTALL_DIRS:
        /usr/pkgsrc/mail/clamav/work/clamav-0.90.1

INSTALL_MAKE_FLAGS:
        CFGINST=/usr/pkg/share/examples/clamav
        DBINST=/usr/pkg/share/examples/clamav

PLIST_SUBST (sorted alphabetically):
        CHGRP=/usr/bin/chgrp
        CHMOD=/bin/chmod
        CHOWN=/usr/sbin/chown
        LN=/bin/ln
        LOCALBASE=/usr/pkg
        LOWER_OPSYS=netbsd
        LOWER_OS_VERSION=1.6.2_stable
        LOWER_VENDOR=
        MACHINE_ARCH=i386
        MACHINE_GNU_ARCH=i386
        MACHINE_GNU_PLATFORM=i386--netbsdelf
        MILTER=@comment 
        MKDIR=/bin/mkdir -p
        OPSYS=NetBSD
        OS_VERSION=1.6.2_STABLE
        PKGBASE=clamav
        PKGLOCALEDIR=share
        PKGMANDIR=man
        PKGNAME=clamav-0.90.1
        PKGVERSION=0.90.1
        RM=/bin/rm
        RMDIR=/bin/rmdir
        SVR4_PKGNAME=clamav-0.90.1
        TRUE=true
        VIEWBASE=/usr/pkg
        X11BASE=/usr/X11R6
        X11PREFIX=/usr/pkg





Frank DeChellis
President, Internet Access Worldwide
Welland, Ontario, Canada
www.iaw.com

Please consider supporting my walk in the Weekend to End Breast Cancer

http://www.endcancer.ca/site/TR?pg=personal&fr_id=1202&px=1812643