Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Alan Horn <ahorn@deorth.org>
List: pkgsrc-bugs
Date: 11/18/2005 04:33:02
The following reply was made to PR pkg/32089; it has been noted by GNATS.
From: Alan Horn <ahorn@deorth.org>
To: Quentin Garnier <cube@cubidou.net>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
Date: Thu, 17 Nov 2005 20:05:12 -0800 (PST)
> Please include a log of the error (and include config.log), otherwise
> it's very hard to know what is happening. Don't assume you know enough
> about the issue to be positive on the fix.
Not assuming anything, I only care about the problem being fixed, chill.
:)
Attached is output from 'make' command :
checking how you like your pthreads... unknown
configure: error: Unable to determine how to compile with pthreads
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/dspam
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/pkgsrc/mail/dspam/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/dspam
slick: {76} tail /usr/pkgsrc/mail/dspam/work/.work.log
(cmd-sink) pop: -I/usr/pkgsrc/mail/dspam/work/.buildlink/include
(cmd-sink) pop: -L/usr/pkgsrc/mail/dspam/work/.buildlink/lib
(cmd-sink) pop: -Wl,-R/usr/pkg/lib
(cmd-sink) pop: conftest.c
(cmd-sink) pop: -lm
(cmd-sink) pop: -lpthread
(cmd-sink) pop: -mt
(cmd-sink) pop: -I/usr/pkgsrc/mail/dspam/work/.buildlink/include
(cmd-sink) pop: -L/usr/pkgsrc/mail/dspam/work/.buildlink/lib
<.> /usr/pkgsrc/mail/dspam/work/.gcc/bin/gcc -o conftest -O2
-I/usr/pkgsrc/mail/dspam/work/.buildlink/include
-L/usr/pkgsrc/mail/dspam/work/.buildlink/lib -Wl,-R/usr/pkg/lib conftest.c
-mt -lm -lpthread
And the full output of ./work/dspam-3.6.1/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by dspam configure 3.6.1, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man
## --------- ##
## Platform. ##
## --------- ##
hostname = slick
uname -m = i386
uname -r = 1.6_STABLE
uname -s = NetBSD
uname -v = NetBSD 1.6_STABLE (_SLICK_) #0: Wed Sep 18 03:06:53 PDT 2002 root@slick:/usr/src/sys/arch/i386/compile/_SLICK_
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/pkgsrc/mail/dspam/work/.wrapper/bin
PATH: /usr/pkgsrc/mail/dspam/work/.buildlink/bin
PATH: /usr/pkgsrc/mail/dspam/work/.gcc/bin
PATH: /usr/pkgsrc/mail/dspam/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /home/ahorn/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/games
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/pkg/bin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1664: checking for a BSD-compatible install
configure:1719: result: /usr/bin/install -c -o root -g wheel
configure:1730: checking whether build environment is sane
configure:1773: result: yes
configure:1838: checking for gawk
configure:1864: result: /usr/bin/awk
configure:1874: checking whether make sets $(MAKE)
configure:1894: result: yes
configure:1970: checking for i386--netbsdelf-strip
configure:1999: result: no
configure:2008: checking for strip
configure:2024: found /usr/pkgsrc/mail/dspam/work/.tools/bin/strip
configure:2035: result: strip
configure:2069: checking build system type
configure:2087: result: i386-unknown-netbsdelf1.6.
configure:2095: checking host system type
configure:2109: result: i386--netbsdelf
configure:2134: checking for i386--netbsdelf-gcc
configure:2160: result: cc
configure:2442: checking for C compiler version
configure:2445: cc --version </dev/null >&5
2.95.3
configure:2448: $? = 0
configure:2450: cc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
configure:2453: $? = 0
configure:2455: cc -V </dev/null >&5
gcc: invalid version number format
configure:2458: $? = 1
configure:2481: checking for C compiler default output file name
configure:2484: cc -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:2487: $? = 0
configure:2533: result: a.out
configure:2538: checking whether the C compiler works
configure:2544: ./a.out
configure:2547: $? = 0
configure:2564: result: yes
configure:2571: checking whether we are cross compiling
configure:2573: result: no
configure:2576: checking for suffix of executables
configure:2578: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:2581: $? = 0
configure:2606: result:
configure:2612: checking for suffix of object files
configure:2633: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:2636: $? = 0
configure:2658: result: o
configure:2662: checking whether we are using the GNU C compiler
configure:2686: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:2692: $? = 0
configure:2696: test -z
|| test ! -s conftest.err
configure:2699: $? = 0
configure:2702: test -s conftest.o
configure:2705: $? = 0
configure:2718: result: yes
configure:2724: checking whether cc accepts -g
configure:2745: cc -c -g -I/usr/pkg/include conftest.c >&5
configure:2751: $? = 0
configure:2755: test -z
|| test ! -s conftest.err
configure:2758: $? = 0
configure:2761: test -s conftest.o
configure:2764: $? = 0
configure:2775: result: yes
configure:2792: checking for cc option to accept ANSI C
configure:2862: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:2868: $? = 0
configure:2872: test -z
|| test ! -s conftest.err
configure:2875: $? = 0
configure:2878: test -s conftest.o
configure:2881: $? = 0
configure:2899: result: none needed
configure:2917: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
conftest.c:2: parse error before `me'
configure:2923: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3067: checking for style of include used by make
configure:3095: result: GNU
configure:3123: checking dependency style of cc
configure:3213: result: gcc
configure:3235: checking how to run the C preprocessor
configure:3270: cc -E -I/usr/pkg/include conftest.c
configure:3276: $? = 0
configure:3308: cc -E -I/usr/pkg/include conftest.c
conftest.c:11: ac_nonexistent.h: No such file or directory
configure:3314: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3353: result: cc -E
configure:3377: cc -E -I/usr/pkg/include conftest.c
configure:3383: $? = 0
configure:3415: cc -E -I/usr/pkg/include conftest.c
conftest.c:11: ac_nonexistent.h: No such file or directory
configure:3421: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3536: checking for a sed that does not truncate output
configure:3590: result: /usr/pkgsrc/mail/dspam/work/.tools/bin/sed
configure:3593: checking for egrep
configure:3603: result: grep -E
configure:3619: checking for ld used by cc
configure:3686: result: /usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld
configure:3695: checking if the linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) is GNU ld
configure:3710: result: yes
configure:3715: checking for /usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld option to reload object files
configure:3722: result: -r
configure:3740: checking for BSD-compatible nm
configure:3782: result: nm
configure:3786: checking whether ln -s works
configure:3790: result: yes
configure:3797: checking how to recognise dependent libraries
configure:3978: result: match_pattern /lib[^/]+(\.so|_pic\.a)$
configure:4188: checking for ANSI C header files
configure:4213: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4219: $? = 0
configure:4223: test -z
|| test ! -s conftest.err
configure:4226: $? = 0
configure:4229: test -s conftest.o
configure:4232: $? = 0
configure:4321: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:4324: $? = 0
configure:4326: ./conftest
configure:4329: $? = 0
configure:4344: result: yes
configure:4368: checking for sys/types.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for sys/stat.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for stdlib.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for string.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for memory.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for strings.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for inttypes.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for stdint.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4368: checking for unistd.h
configure:4384: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4390: $? = 0
configure:4394: test -z
|| test ! -s conftest.err
configure:4397: $? = 0
configure:4400: test -s conftest.o
configure:4403: $? = 0
configure:4414: result: yes
configure:4440: checking dlfcn.h usability
configure:4452: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:4458: $? = 0
configure:4462: test -z
|| test ! -s conftest.err
configure:4465: $? = 0
configure:4468: test -s conftest.o
configure:4471: $? = 0
configure:4481: result: yes
configure:4485: checking dlfcn.h presence
configure:4495: cc -E -I/usr/pkg/include conftest.c
configure:4501: $? = 0
configure:4521: result: yes
configure:4556: checking for dlfcn.h
configure:4563: result: yes
configure:4586: checking for i386--netbsdelf-g++
configure:4612: result: c++
configure:4670: checking for C++ compiler version
configure:4673: c++ --version </dev/null >&5
2.95.3
configure:4676: $? = 0
configure:4678: c++ -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
configure:4681: $? = 0
configure:4683: c++ -V </dev/null >&5
g++: invalid version number format
configure:4686: $? = 1
configure:4689: checking whether we are using the GNU C++ compiler
configure:4713: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.cc >&5
configure:4719: $? = 0
configure:4723: test -z
|| test ! -s conftest.err
configure:4726: $? = 0
configure:4729: test -s conftest.o
configure:4732: $? = 0
configure:4745: result: yes
configure:4751: checking whether c++ accepts -g
configure:4772: c++ -c -g -I/usr/pkg/include conftest.cc >&5
configure:4778: $? = 0
configure:4782: test -z
|| test ! -s conftest.err
configure:4785: $? = 0
configure:4788: test -s conftest.o
configure:4791: $? = 0
configure:4802: result: yes
configure:4844: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.cc >&5
configure:4850: $? = 0
configure:4854: test -z
|| test ! -s conftest.err
configure:4857: $? = 0
configure:4860: test -s conftest.o
configure:4863: $? = 0
configure:4889: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.cc >&5
configure:4895: $? = 0
configure:4899: test -z
|| test ! -s conftest.err
configure:4902: $? = 0
configure:4905: test -s conftest.o
configure:4908: $? = 0
configure:4933: checking dependency style of c++
configure:5023: result: gcc
configure:5045: checking how to run the C++ preprocessor
configure:5076: c++ -E -I/usr/pkg/include conftest.cc
configure:5082: $? = 0
configure:5114: c++ -E -I/usr/pkg/include conftest.cc
conftest.cc:22: ac_nonexistent.h: No such file or directory
configure:5120: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5159: result: c++ -E
configure:5183: c++ -E -I/usr/pkg/include conftest.cc
configure:5189: $? = 0
configure:5221: c++ -E -I/usr/pkg/include conftest.cc
conftest.cc:22: ac_nonexistent.h: No such file or directory
configure:5227: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5280: checking for i386--netbsdelf-g77
configure:5306: result: f77
configure:5363: checking for Fortran 77 compiler version
configure:5366: f77 --version </dev/null >&5
GNU Fortran 0.5.25 20010315 (release) (NetBSD nb3)
Copyright (C) 1997 Free Software Foundation, Inc.
For more version information on components of the GNU Fortran
compilation system, especially useful when reporting bugs,
type the command `g77 --verbose'.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
configure:5369: $? = 0
configure:5371: f77 -v </dev/null >&5
g77 version 2.95.3 20010315 (release) (NetBSD nb3) (from FSF-g77 version 0.5.25 20010315 (release) (NetBSD nb3))
Driving: /usr/bin/g77 -v -c -xf77-version /dev/null -xnone
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
/usr/libexec/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__NetBSD__ -D__ELF__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386) -D_LANGUAGE_FORTRAN -traditional -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ /dev/null /dev/null
GNU CPP version 2.95.3 20010315 (release) (NetBSD nb3) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/include/g++
End of omitted list.
/usr/libexec/f771 -fnull-version -quiet -dumpbase g77-version.f -version -fversion -o /var/tmp/cck8VtYN.s /dev/null
GNU F77 version 2.95.3 20010315 (release) (NetBSD nb3) (i386--netbsdelf) compiled by GNU C version 2.95.3 20010315 (release) (NetBSD nb3).
GNU Fortran Front End version 0.5.25 20010315 (release) (NetBSD nb3)
as -o /var/tmp/ccTHcRNZ.o /var/tmp/cck8VtYN.s
ld -m elf_i386 -dc -dp -e __start -dynamic-linker /usr/libexec/ld.elf_so -o /var/tmp/ccyeYNAf /var/tmp/ccTHcRNZ.o /usr/lib/crt0.o /usr/lib/crtbegin.o -lg2c -lm -lgcc -lc -lgcc /usr/lib/crtend.o
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/lib/libg2c.so: warning: reference to compatibility lstat(); include <sys/stat.h> to generate correct reference
/var/tmp/ccyeYNAf
__G77_LIBF77_VERSION__: 0.5.25 20010315 (release)
@(#)LIBF77 VERSION 19990503
__G77_LIBI77_VERSION__: 0.5.25 20010315 (release)
@(#) LIBI77 VERSION pjw,dmg-mods 19990503
__G77_LIBU77_VERSION__: 0.5.25 20010315 (release)
@(#) LIBU77 VERSION 19980709
configure:5374: $? = 0
configure:5376: f77 -V </dev/null >&5
g77: invalid version number format
configure:5379: $? = 1
configure:5387: checking whether we are using the GNU Fortran 77 compiler
configure:5401: f77 -c -O conftest.F >&5
configure:5407: $? = 0
configure:5411: test -z
|| test ! -s conftest.err
configure:5414: $? = 0
configure:5417: test -s conftest.o
configure:5420: $? = 0
configure:5433: result: yes
configure:5439: checking whether f77 accepts -g
configure:5451: f77 -c -g conftest.f >&5
configure:5457: $? = 0
configure:5461: test -z
|| test ! -s conftest.err
configure:5464: $? = 0
configure:5467: test -s conftest.o
configure:5470: $? = 0
configure:5482: result: yes
configure:5512: checking the maximum length of command line arguments
configure:5591: result: 262144
configure:5602: checking command to parse nm output from cc object
configure:5691: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:5694: $? = 0
configure:5698: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:5701: $? = 0
configure:5753: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c conftstm.o >&5
configure:5756: $? = 0
configure:5794: result: ok
configure:5798: checking for objdir
configure:5813: result: .libs
configure:5865: checking for i386--netbsdelf-ar
configure:5894: result: no
configure:5903: checking for ar
configure:5919: found /usr/bin/ar
configure:5930: result: ar
configure:5945: checking for i386--netbsdelf-ranlib
configure:5974: result: no
configure:5983: checking for ranlib
configure:5999: found /usr/bin/ranlib
configure:6010: result: ranlib
configure:6025: checking for i386--netbsdelf-strip
configure:6051: result: strip
configure:6354: checking if cc static flag works
configure:6377: result: yes
configure:6395: checking if cc supports -fno-rtti -fno-exceptions
configure:6413: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include -fno-rtti -fno-exceptions conftest.c >&5
configure:6417: $? = 0
configure:6428: result: yes
configure:6443: checking for cc option to produce PIC
configure:6630: result: -fPIC
configure:6638: checking if cc PIC flag -fPIC works
configure:6656: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include -fPIC -DPIC conftest.c >&5
configure:6660: $? = 0
configure:6671: result: yes
configure:6695: checking if cc supports -c -o file.o
configure:6716: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include -o out/conftest2.o conftest.c >&5
configure:6720: $? = 0
configure:6740: result: yes
configure:6766: checking whether the cc linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) supports shared libraries
configure:7615: result: yes
configure:7641: checking whether -lc should be explicitly linked in
configure:7646: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:7649: $? = 0
configure:7663: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
configure:7666: $? = 1
configure:7678: result: yes
configure:7686: checking dynamic linker characteristics
configure:8226: result: NetBSD ld.elf_so
configure:8230: checking how to hardcode library paths into programs
configure:8255: result: immediate
configure:8269: checking whether stripping libraries is possible
configure:8274: result: yes
configure:9104: checking if libtool supports shared libraries
configure:9106: result: yes
configure:9109: checking whether to build shared libraries
configure:9130: result: yes
configure:9133: checking whether to build static libraries
configure:9137: result: yes
configure:9229: creating libtool
configure:9776: checking for ld used by c++
configure:9843: result: /usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld
configure:9852: checking if the linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) is GNU ld
configure:9867: result: yes
configure:9918: checking whether the c++ linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) supports shared libraries
configure:10783: result: yes
configure:10801: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.cc >&5
configure:10804: $? = 0
configure:10900: checking for c++ option to produce PIC
configure:11162: result: -fPIC
configure:11170: checking if c++ PIC flag -fPIC works
configure:11188: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include -fPIC -DPIC conftest.cc >&5
configure:11192: $? = 0
configure:11203: result: yes
configure:11227: checking if c++ supports -c -o file.o
configure:11248: c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/include -o out/conftest2.o conftest.cc >&5
configure:11252: $? = 0
configure:11272: result: yes
configure:11298: checking whether the c++ linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) supports shared libraries
configure:11323: result: yes
configure:11394: checking dynamic linker characteristics
configure:11934: result: NetBSD ld.elf_so
configure:11938: checking how to hardcode library paths into programs
configure:11963: result: immediate
configure:11977: checking whether stripping libraries is possible
configure:11982: result: yes
configure:13289: checking if libtool supports shared libraries
configure:13291: result: yes
configure:13294: checking whether to build shared libraries
configure:13312: result: yes
configure:13315: checking whether to build static libraries
configure:13319: result: yes
configure:13331: checking for f77 option to produce PIC
configure:13518: result: -fPIC
configure:13526: checking if f77 PIC flag -fPIC works
configure:13544: f77 -c -O -fPIC conftest.f >&5
configure:13548: $? = 0
configure:13559: result: yes
configure:13583: checking if f77 supports -c -o file.o
configure:13604: f77 -c -O -o out/conftest2.o conftest.f >&5
configure:13608: $? = 0
configure:13628: result: yes
configure:13654: checking whether the f77 linker (/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld) supports shared libraries
configure:14483: result: yes
configure:14554: checking dynamic linker characteristics
configure:15094: result: NetBSD ld.elf_so
configure:15098: checking how to hardcode library paths into programs
configure:15123: result: immediate
configure:15137: checking whether stripping libraries is possible
configure:15142: result: yes
configure:19239: checking whether make sets $(MAKE)
configure:19259: result: yes
configure:19269: checking for inline
configure:19290: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:19296: $? = 0
configure:19300: test -z
|| test ! -s conftest.err
configure:19303: $? = 0
configure:19306: test -s conftest.o
configure:19309: $? = 0
configure:19321: result: inline
configure:19348: checking for ISO C99 varargs macros in C
configure:19370: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:19376: $? = 0
configure:19380: test -z
|| test ! -s conftest.err
configure:19383: $? = 0
configure:19386: test -s conftest.o
configure:19389: $? = 0
configure:19393: result: yes
configure:19421: checking for string.h
configure:19426: result: yes
configure:19580: checking math.h usability
configure:19592: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:19598: $? = 0
configure:19602: test -z
|| test ! -s conftest.err
configure:19605: $? = 0
configure:19608: test -s conftest.o
configure:19611: $? = 0
configure:19621: result: yes
configure:19625: checking math.h presence
configure:19635: cc -E -I/usr/pkg/include conftest.c
configure:19641: $? = 0
configure:19661: result: yes
configure:19696: checking for math.h
configure:19703: result: yes
configure:19730: checking sys/time.h usability
configure:19742: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:19748: $? = 0
configure:19752: test -z
|| test ! -s conftest.err
configure:19755: $? = 0
configure:19758: test -s conftest.o
configure:19761: $? = 0
configure:19771: result: yes
configure:19775: checking sys/time.h presence
configure:19785: cc -E -I/usr/pkg/include conftest.c
configure:19791: $? = 0
configure:19811: result: yes
configure:19846: checking for sys/time.h
configure:19853: result: yes
configure:19866: checking whether time.h and sys/time.h may both be included
configure:19891: cc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c >&5
configure:19897: $? = 0
configure:19901: test -z
|| test ! -s conftest.err
configure:19904: $? = 0
configure:19907: test -s conftest.o
configure:19910: $? = 0
configure:19921: result: yes
configure:19935: checking for strlcpy
configure:19992: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:19998: $? = 0
configure:20002: test -z
|| test ! -s conftest.err
configure:20005: $? = 0
configure:20008: test -s conftest
configure:20011: $? = 0
configure:20023: result: yes
configure:20037: checking for strsep
configure:20094: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:20100: $? = 0
configure:20104: test -z
|| test ! -s conftest.err
configure:20107: $? = 0
configure:20110: test -s conftest
configure:20113: $? = 0
configure:20125: result: yes
configure:20139: checking for strtok_r
configure:20196: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:20202: $? = 0
configure:20206: test -z
|| test ! -s conftest.err
configure:20209: $? = 0
configure:20212: test -s conftest
configure:20215: $? = 0
configure:20227: result: yes
configure:20241: checking for getpwnam_r
configure:20298: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
/var/tmp/ccKRiW5H.o: In function `main':
/var/tmp/ccKRiW5H.o(.text+0x9): undefined reference to `getpwnam_r'
/var/tmp/ccKRiW5H.o(.data+0x0): undefined reference to `getpwnam_r'
configure:20304: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| /* end confdefs.h. */
| /* Define getpwnam_r to an innocuous variant, in case <limits.h> declares getpwnam_r.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getpwnam_r innocuous_getpwnam_r
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getpwnam_r (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getpwnam_r
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char getpwnam_r ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_getpwnam_r) || defined (__stub___getpwnam_r)
| choke me
| #else
| char (*f) () = getpwnam_r;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != getpwnam_r;
| ;
| return 0;
| }
configure:20329: result: no
configure:20343: checking for getpwuid_r
configure:20400: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
/var/tmp/ccgCLWkO.o: In function `main':
/var/tmp/ccgCLWkO.o(.text+0x9): undefined reference to `getpwuid_r'
/var/tmp/ccgCLWkO.o(.data+0x0): undefined reference to `getpwuid_r'
configure:20406: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| /* end confdefs.h. */
| /* Define getpwuid_r to an innocuous variant, in case <limits.h> declares getpwuid_r.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getpwuid_r innocuous_getpwuid_r
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getpwuid_r (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getpwuid_r
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char getpwuid_r ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_getpwuid_r) || defined (__stub___getpwuid_r)
| choke me
| #else
| char (*f) () = getpwuid_r;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != getpwuid_r;
| ;
| return 0;
| }
configure:20431: result: no
configure:20446: checking for memcpy
configure:20503: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
conftest.c:55: warning: conflicting types for built-in function `memcpy'
configure:20509: $? = 0
configure:20513: test -z
|| test ! -s conftest.err
configure:20516: $? = 0
configure:20519: test -s conftest
configure:20522: $? = 0
configure:20534: result: yes
configure:20446: checking for memset
configure:20503: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
conftest.c:56: warning: conflicting types for built-in function `memset'
configure:20509: $? = 0
configure:20513: test -z
|| test ! -s conftest.err
configure:20516: $? = 0
configure:20519: test -s conftest
configure:20522: $? = 0
configure:20534: result: yes
configure:20548: checking for localtime_r
configure:20605: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:20611: $? = 0
configure:20615: test -z
|| test ! -s conftest.err
configure:20618: $? = 0
configure:20621: test -s conftest
configure:20624: $? = 0
configure:20636: result: yes
configure:20650: checking for inet_ntoa_r
configure:20707: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
/var/tmp/cc9gSTnl.o: In function `main':
/var/tmp/cc9gSTnl.o(.text+0x9): undefined reference to `inet_ntoa_r'
/var/tmp/cc9gSTnl.o(.data+0x0): undefined reference to `inet_ntoa_r'
configure:20713: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMSET 1
| #define HAVE_LOCALTIME_R 1
| /* end confdefs.h. */
| /* Define inet_ntoa_r to an innocuous variant, in case <limits.h> declares inet_ntoa_r.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define inet_ntoa_r innocuous_inet_ntoa_r
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char inet_ntoa_r (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef inet_ntoa_r
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char inet_ntoa_r ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_inet_ntoa_r) || defined (__stub___inet_ntoa_r)
| choke me
| #else
| char (*f) () = inet_ntoa_r;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != inet_ntoa_r;
| ;
| return 0;
| }
configure:20738: result: no
configure:20752: checking for strcasestr
configure:20809: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
/var/tmp/cc5Qwp9Y.o: In function `main':
/var/tmp/cc5Qwp9Y.o(.text+0x9): undefined reference to `strcasestr'
/var/tmp/cc5Qwp9Y.o(.data+0x0): undefined reference to `strcasestr'
configure:20815: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMSET 1
| #define HAVE_LOCALTIME_R 1
| /* end confdefs.h. */
| /* Define strcasestr to an innocuous variant, in case <limits.h> declares strcasestr.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strcasestr innocuous_strcasestr
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strcasestr (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strcasestr
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strcasestr ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_strcasestr) || defined (__stub___strcasestr)
| choke me
| #else
| char (*f) () = strcasestr;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != strcasestr;
| ;
| return 0;
| }
configure:20840: result: no
configure:20860: checking whether to enable daemon mode
configure:20886: result: yes
configure:20903: checking how you like your pthreads
configure:20937: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lm -pthread >&5
gcc: unrecognized option `-pthread'
/var/tmp/ccJVU5ti.o: In function `main':
/var/tmp/ccJVU5ti.o(.text+0x10): undefined reference to `pthread_mutex_init'
/var/tmp/ccJVU5ti.o(.text+0x1a): undefined reference to `pthread_exit'
configure:20940: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMSET 1
| #define HAVE_LOCALTIME_R 1
| #define DAEMON 1
| /* end confdefs.h. */
|
| #include <pthread.h>
| #include <stdlib.h>
|
| int main() {
|
| pthread_mutex_t m;
| pthread_mutex_init(&m, NULL);
| pthread_exit(0);
| exit(EXIT_FAILURE);
| }
|
|
configure:20995: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lm -lpthread >&5
configure:20998: $? = 0
configure:21000: ./conftest
conftest in malloc(): warning: recursive call.
Segmentation fault - core dumped
configure:21003: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMSET 1
| #define HAVE_LOCALTIME_R 1
| #define DAEMON 1
| /* end confdefs.h. */
|
| #include <pthread.h>
| #include <stdlib.h>
|
| int main() {
| pthread_mutex_t m;
| pthread_mutex_init(&m, NULL);
| pthread_exit(0);
| exit(EXIT_FAILURE);
| }
|
|
configure:21054: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lm -lpthread -mt >&5
cc1: Invalid option `t'
configure:21057: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dspam"
| #define PACKAGE_TARNAME "dspam"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "dspam 3.6.1"
| #define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
| #define PACKAGE "dspam"
| #define VERSION "3.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
| #define HAVE_ISO_VARARGS 1
| #define HAVE_STRING_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMSET 1
| #define HAVE_LOCALTIME_R 1
| #define DAEMON 1
| /* end confdefs.h. */
|
| #include <pthread.h>
| #include <stdlib.h>
|
| int main() {
| pthread_mutex_t m;
| pthread_mutex_init(&m, NULL);
| pthread_exit(0);
| exit(EXIT_FAILURE);
| }
|
|
configure:21084: result: unknown
configure:21086: error: Unable to determine how to compile with pthreads
## ---------------- ##
## Cache variables. ##
## ---------------- ##
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"'
am_cv_CC_dependencies_compiler_type='gcc'
ac_cv_path_FALSE='false'
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_env_CXXFLAGS_value='-O2 -I/usr/pkg/include'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
ac_cv_f77_compiler_gnu='yes'
ac_cv_env_F77_value='f77'
ac_cv_path_ECHO='echo'
ac_cv_header_stdlib_h='yes'
lt_cv_file_magic_cmd='$MAGIC_CMD'
ac_cv_header_sys_time_h='yes'
lt_cv_prog_gnu_ldcxx='yes'
ac_cv_prog_cc_g='yes'
ac_cv_env_CXXCPP_set=''
ac_cv_env_LDFLAGS_set='set'
lt_cv_prog_compiler_c_o_CXX='yes'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_c_compiler_gnu='yes'
ac_cv_exeext=''
ac_cv_env_CFLAGS_set='set'
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
ac_cv_prog_CXX='c++'
ac_cv_path_EGREP='/usr/bin/egrep'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
ac_cv_env_FFLAGS_set='set'
lt_cv_sys_max_cmd_len='262144'
ac_cv_func_getpwnam_r='no'
ac_cv_env_CPP_value=''
ac_cv_env_CPPFLAGS_set='set'
ac_cv_prog_STRIP='strip'
ac_cv_cxx_compiler_gnu='yes'
ac_cv_env_CXX_set='set'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
ac_cv_env_host_alias_set='set'
ac_cv_func_memset='yes'
ac_cv_func_memcpy='yes'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_cv_ld_reload_flag='-r'
ac_cv_func_getpwuid_r='no'
ac_cv_prog_CC='cc'
ac_cv_func_strtok_r='yes'
lt_cv_prog_gnu_ld='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_env_build_alias_set=''
ac_cv_path_GREP='/usr/bin/grep'
ac_cv_func_localtime_r='yes'
lt_cv_prog_compiler_c_o='yes'
ac_cv_prog_f77_g='yes'
ac_cv_env_CXXCPP_value=''
ac_cv_env_LDFLAGS_value='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib'
ac_cv_env_target_alias_set=''
ac_cv_prog_cc_stdc=''
ac_cv_host_alias='i386--netbsdelf'
ac_cv_env_CFLAGS_value='-O2 -I/usr/pkg/include'
ac_cv_env_CC_set='set'
ac_cv_header_math_h='yes'
lt_cv_prog_compiler_c_o_F77='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_stdc='yes'
ac_cv_header_time='yes'
ac_cv_header_strings_h='yes'
lt_cv_path_SED='/usr/pkgsrc/mail/dspam/work/.tools/bin/sed'
ac_cv_prog_F77='f77'
ac_cv_header_stdint_h='yes'
ac_cv_header_inttypes_h='yes'
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set='yes'
ac_cv_env_FFLAGS_value='-O'
ac_cv_c_inline='inline'
lt_cv_path_LD='/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld'
lt_cv_prog_compiler_rtti_exceptions='yes'
ac_cv_header_unistd_h='yes'
ac_cv_header_string_h='yes'
ac_cv_build_alias='i386-unknown-netbsdelf1.6.'
ac_cv_env_CPPFLAGS_value='-I/usr/pkg/include'
ac_cv_func_inet_ntoa_r='no'
lt_lt_cv_prog_compiler_c_o='"yes"'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_header_memory_h='yes'
ac_cv_env_CXXFLAGS_set='set'
ac_cv_env_CXX_value='c++'
ac_cv_path_ENV='/usr/bin/env'
ac_cv_host='i386--netbsdelf'
ac_cv_prog_ac_ct_STRIP='strip'
ac_cv_env_F77_set='set'
ac_cv_env_host_alias_value='i386--netbsdelf'
lt_lt_cv_prog_compiler_c_o_F77='"yes"'
lt_cv_objdir='.libs'
ac_cv_prog_cxx_g='yes'
lt_cv_file_magic_test_file=''
ac_cv_func_strlcpy='yes'
am_cv_CXX_dependencies_compiler_type='gcc'
ac_cv_prog_CPP='cc -E'
ac_cv_build='i386-unknown-netbsdelf1.6.'
ac_cv_prog_AWK='/usr/bin/awk'
ac_cv_env_build_alias_value=''
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
lt_cv_path_LDCXX='/usr/pkgsrc/mail/dspam/work/.wrapper/bin/ld'
ac_cv_env_target_alias_value=''
ac_cv_env_CC_value='cc'
lt_cv_path_NM='nm'
ac_cv_env_CPP_set=''
ac_cv_path_TRUE='true'
ac_cv_path_TEST='test'
ac_cv_func_strcasestr='no'
ac_cv_func_strsep='yes'
ac_cv_header_dlfcn_h='yes'
ac_cv_objext='o'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/pkgsrc/mail/dspam/work/dspam-3.6.1/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/pkgsrc/mail/dspam/work/dspam-3.6.1/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /usr/pkgsrc/mail/dspam/work/dspam-3.6.1/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/pkgsrc/mail/dspam/work/dspam-3.6.1/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/pkgsrc/mail/dspam/work/dspam-3.6.1/missing --run automake-1.9'
AWK='/usr/bin/awk'
BUILD_DB3_DRV_FALSE=''
BUILD_DB3_DRV_TRUE=''
BUILD_DB4_DRV_FALSE=''
BUILD_DB4_DRV_TRUE=''
BUILD_HASH_DRV_FALSE=''
BUILD_HASH_DRV_TRUE=''
BUILD_MYSQL_DRV_FALSE=''
BUILD_MYSQL_DRV_TRUE=''
BUILD_NCORE_FALSE=''
BUILD_NCORE_TRUE=''
BUILD_ORA_DRV_FALSE=''
BUILD_ORA_DRV_TRUE=''
BUILD_PGSQL_DRV_FALSE=''
BUILD_PGSQL_DRV_TRUE=''
BUILD_SQLITE3_DRV_FALSE=''
BUILD_SQLITE3_DRV_TRUE=''
BUILD_SQLITE_DRV_FALSE=''
BUILD_SQLITE_DRV_TRUE=''
CC='cc'
CCDEPMODE='depmode=gcc'
CFLAGS='-O2 -I/usr/pkg/include'
CPP='cc -E'
CPPFLAGS='-I/usr/pkg/include'
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc'
CXXFLAGS='-O2 -I/usr/pkg/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DYNAMIC_DRIVER_FALSE=''
DYNAMIC_DRIVER_TRUE=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
F77='f77'
FFLAGS='-O'
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'
LIBOBJS=''
LIBS='-lm -lpthread -mt'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='/usr/pkgsrc/mail/dspam/work/.tools/bin/makeinfo'
NCORELIBS=''
NETLIBS=''
OBJEXT='o'
PACKAGE='dspam'
PACKAGE_BUGREPORT='dspam-dev@nuclearelephant.com'
PACKAGE_NAME='dspam'
PACKAGE_STRING='dspam 3.6.1'
PACKAGE_TARNAME='dspam'
PACKAGE_VERSION='3.6.1'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STATIC_DRIVER_FALSE=''
STATIC_DRIVER_TRUE=''
STRIP='strip'
VERSION='3.6.1'
ac_ct_AR='ar'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
active_driver=''
adapter_objects=''
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.'
build_alias=''
build_cpu='i386'
build_os='netbsdelf1.6.'
build_vendor='unknown'
datadir='${prefix}/share'
delivery_agent=''
dspam_group=''
dspam_home=''
dspam_home_group=''
dspam_home_mode=''
dspam_home_owner=''
dspam_mode=''
dspam_owner=''
exec_prefix='NONE'
host='i386--netbsdelf'
host_alias='i386--netbsdelf'
host_cpu='i386'
host_os='netbsdelf'
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/bin/install'
libdb3_drv_cppflags=''
libdb3_drv_ldflags=''
libdb3_drv_libs=''
libdb4_drv_cppflags=''
libdb4_drv_ldflags=''
libdb4_drv_libs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libmysql_drv_cppflags=''
libmysql_drv_ldflags=''
libmysql_drv_libs=''
libora_drv_cppflags=''
libora_drv_ldflags=''
libora_drv_libs=''
libpgsql_drv_cppflags=''
libpgsql_drv_ldflags=''
libpgsql_drv_libs=''
libsqlite_drv_cppflags=''
libsqlite_drv_ldflags=''
libsqlite_drv_libs=''
localstatedir='${prefix}/var'
logdir=''
mandir='/usr/pkg/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
storage_drv_subdirs=''
sysconfdir='/usr/pkg/etc/dspam'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define CONFIGURE_ARGS "--with-signature-life=14 --with-dspam-home=/var/dspam --with-dspam-home-owner=dspam --with-dspam-home-group=dspam --with-dspam-owner=dspam --with-dspam-group=dspam --with-dspam-mode=4511 --with-logdir=/var/dspam/log --sysconfdir=/usr/pkg/etc/dspam --with-delivery-agent=/usr/pkg/bin/procmail --with-storage-driver=hash_drv --enable-daemon --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man"
#define DAEMON 1
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_ISO_VARARGS 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MATH_H 1
#define HAVE_MEMCPY 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_STRLCPY 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "dspam"
#define PACKAGE_BUGREPORT "dspam-dev@nuclearelephant.com"
#define PACKAGE_NAME "dspam"
#define PACKAGE_STRING "dspam 3.6.1"
#define PACKAGE_TARNAME "dspam"
#define PACKAGE_VERSION "3.6.1"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "3.6.1"
configure: exit 1