bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cfservd don't like tcp4 sockets


From: José M. Fandiño
Subject: cfservd don't like tcp4 sockets
Date: Wed, 03 Apr 2002 14:09:00 +0000

Hello,

 I'm deploying cfenfine 2.0.0 to several machines, but I'm having
any problems with different unix flavors.

The main problem is the policy host (a vanilla OpenBSD 3.0)
and the cfservd program.

from the commandline I can see the cfservd start

address@hidden:/var/cfengine> /usr/local/sbin/cfservd
address@hidden:/var/cfengine> Apr  3 12:28:10 info39 info39[9758]: cfservd 
Multithreaded version
Apr  3 12:28:10 info39 info39[9758]: cfservd starting Wed Apr  3 12:28:10 2002 


but the network port of cfservd(5308/tcp) is attached to the tcp
port of inet6 and it isn't attached to the tcp port of inet4. 
it's funny, isn't it?

address@hidden:/var/cfengine/inputs> netstat -an -f inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  10.20.13.39.15286      10.20.3.1.53           TIME_WAIT
tcp        0    312  10.20.13.39.22         10.20.3.1.7751         ESTABLISHED
tcp        0      0  127.0.0.1.587          *.*                    LISTEN
tcp        0      0  127.0.0.1.25           *.*                    LISTEN
tcp        0      0  *.22                   *.*                    LISTEN
tcp        0      0  *.37                   *.*                    LISTEN
tcp        0      0  *.13                   *.*                    LISTEN
tcp        0      0  *.113                  *.*                    LISTEN
tcp        0      0  127.0.0.1.111          *.*                    LISTEN
tcp        0      0  *.111                  *.*                    LISTEN
udp        0      0  *.673                  *.*
udp        0      0  *.618                  *.*
udp        0      0  *.512                  *.*
udp        0      0  127.0.0.1.111          *.*
udp        0      0  *.514                  *.*
udp        0      0  *.111                  *.*

address@hidden:/var/cfengine/inputs> netstat -an -f inet6
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp6       0      0  *.5308                 *.*                    LISTEN
tcp6       0      0  ::1.587                *.*                    LISTEN
tcp6       0      0  ::1.25                 *.*                    LISTEN
tcp6       0      0  *.22                   *.*                    LISTEN
tcp6       0      0  *.37                   *.*                    LISTEN
tcp6       0      0  *.13                   *.*                    LISTEN
tcp6       0      0  *.113                  *.*                    LISTEN
udp6       0      0  *.512                  *.*
    

(another possible bug in the below output of the configure script 
is the not detection of pthreads, which is -llibc_r for OpenBSD)

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 configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure 

## ---------- ##
## Platform.  ##
## ---------- ##

hostname = info39
uname -m = i386
uname -r = 3.0
uname -s = OpenBSD
uname -v = NUCLEO#2

/usr/bin/uname -p = Intel Pentium Pro ("GenuineIntel" 686-class, 256KB L2 cache)
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = OpenBSD.i386
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

## ------------ ##
## Core tests.  ##
## ------------ ##

configure:967: PATH=".;."; conftest.sh
./configure[975]: conftest.sh: not found
configure:970: $? = 127
configure:1010: checking build system type
configure:1028: result: i386-unknown-openbsd3.0
configure:1038: checking host system type
configure:1052: result: i386-unknown-openbsd3.0
configure:1062: checking target system type
configure:1076: result: i386-unknown-openbsd3.0
configure:1104: checking for a BSD compatible install
configure:1153: result: /usr/bin/install -c
configure:1164: checking whether build environment is sane
configure:1207: result: yes
configure:1222: checking whether make sets ${MAKE}
configure:1242: result: yes
configure:1270: checking for working aclocal
configure:1277: result: found
configure:1285: checking for working autoconf
configure:1292: result: found
configure:1300: checking for working automake
configure:1307: result: found
configure:1315: checking for working autoheader
configure:1322: result: found
configure:1330: checking for working makeinfo
configure:1337: result: found
configure:1419: checking for gcc
configure:1434: found /usr/bin/gcc
configure:1442: result: gcc
configure:1670: checking for C compiler version
configure:1673: gcc --version </dev/null >&5
2.95.3
configure:1676: $? = 0
configure:1678: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.0/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease)
configure:1681: $? = 0
configure:1683: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1686: $? = 1
configure:1706: checking for C compiler default output
configure:1709: gcc    conftest.c  >&5
configure:1712: $? = 0
configure:1741: result: a.out
configure:1746: checking whether the C compiler works
configure:1752: ./a.out
configure:1755: $? = 0
configure:1770: result: yes
configure:1777: checking whether we are cross compiling
configure:1779: result: no
configure:1782: checking for executable suffix
configure:1784: gcc -o conftest    conftest.c  >&5
configure:1787: $? = 0
configure:1809: result: 
configure:1815: checking for object suffix
configure:1833: gcc -c   conftest.c >&5
configure:1836: $? = 0
configure:1855: result: o
configure:1859: checking whether we are using the GNU C compiler
configure:1880: gcc -c   conftest.c >&5
configure:1883: $? = 0
configure:1886: test -s conftest.o
configure:1889: $? = 0
configure:1901: result: yes
configure:1907: checking whether gcc accepts -g
configure:1925: gcc -c -g  conftest.c >&5
configure:1928: $? = 0
configure:1931: test -s conftest.o
configure:1934: $? = 0
configure:1944: result: yes
configure:1971: gcc -c -g -O2  conftest.c >&5
conftest.c:2: syntax error before `me'
configure:1974: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2077: checking for flex
configure:2092: found /usr/bin/flex
configure:2100: result: flex
configure:2115: checking for flex
configure:2138: result: flex
configure:2151: checking for yywrap in -lfl
configure:2178: gcc -o conftest -g -O2   conftest.c -lfl   >&5
configure:2181: $? = 0
configure:2184: test -s conftest
configure:2187: $? = 0
configure:2198: result: yes
configure:2261: checking lex output file root
configure:2280: result: lex.yy
configure:2284: checking whether yytext is a pointer
configure:2300: gcc -o conftest -g -O2   conftest.c  -lfl >&5
configure:2303: $? = 0
configure:2306: test -s conftest
configure:2309: $? = 0
configure:2321: result: yes
configure:2337: checking for bison
configure:2363: result: no
configure:2337: checking for byacc
configure:2363: result: no
configure:2409: checking for ranlib
configure:2424: found /usr/bin/ranlib
configure:2433: result: ranlib
configure:2457: checking for a BSD compatible install
configure:2506: result: /usr/bin/install -c
configure:2519: checking for latex
configure:2548: result: false
configure:2557: checking for texi2dvi
configure:2574: found /usr/bin/texi2dvi
configure:2586: result: /usr/bin/texi2dvi
configure:2595: checking for dvips
configure:2624: result: false
configure:2633: checking for makeinfo
configure:2650: found /usr/bin/makeinfo
configure:2662: result: /usr/bin/makeinfo
configure:2669: checking for main in -lm
configure:2689: gcc -o conftest -g -O2   conftest.c -lm   >&5
configure:2692: $? = 0
configure:2695: test -s conftest
configure:2698: $? = 0
configure:2709: result: yes
configure:2720: checking for door_create
configure:2757: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:2748: Undefined symbol `_door_create' referenced from text segment
collect2: ld returned 1 exit status
configure:2760: $? = 1
configure: failed program was:
#line 2726 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char door_create (); below.  */
#include <assert.h>
/* 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 door_create ();
char (*f) ();

int
main ()
{
/* 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_door_create) || defined (__stub___door_create)
choke me
#else
f = door_create;
#endif

  ;
  return 0;
}
configure:2776: result: no
configure:2782: checking for setsockopt
configure:2819: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:2822: $? = 0
configure:2825: test -s conftest
configure:2828: $? = 0
configure:2838: result: yes
configure:2904: checking for gethostent
configure:2941: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:2944: $? = 0
configure:2947: test -s conftest
configure:2950: $? = 0
configure:2960: result: yes
configure:3026: checking for getaddrinfo
configure:3063: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:3066: $? = 0
configure:3069: test -s conftest
configure:3072: $? = 0
configure:3082: result: yes
configure:3148: checking for library containing socket
configure:3175: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:3178: $? = 0
configure:3181: test -s conftest
configure:3184: $? = 0
configure:3237: result: none required
configure:3305: checking whether BerkeleyDB is desired
configure:3314: result: yes
configure:3316: checking for BerkeleyDB location
configure:3365: result: /usr/local/BerkeleyDB.4.0
configure:3382: checking whether OpenSSL is desired
configure:3394: result: yes
configure:3396: checking for OpenSSL location
configure:3412: result: /usr/local/ssl
configure:3428: checking for main in -lcrypto
configure:3448: gcc -o conftest -g -O2  -I/usr/local/ssl/include  
-L/usr/local/ssl/lib conftest.c -lcrypto  -lm  -lcrypto >&5
configure:3451: $? = 0
configure:3454: test -s conftest
configure:3457: $? = 0
configure:3468: result: yes
configure:3497: checking for main in -lrx
configure:3517: gcc -o conftest -g -O2   conftest.c -lrx  -lm  >&5
ld: -lrx: no match
collect2: ld returned 1 exit status
configure:3520: $? = 1
configure: failed program was:
#line 3505 "configure"
#include "confdefs.h"

int
main ()
{
main ();
  ;
  return 0;
}
configure:3537: result: no
configure:3553: checking how to run the C preprocessor
configure:3579: gcc -E  conftest.c
configure:3585: $? = 0
configure:3612: gcc -E  conftest.c
configure:3609: ac_nonexistent.h: No such file or directory
configure:3618: $? = 1
configure: failed program was:
#line 3608 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3655: result: gcc -E
configure:3670: gcc -E  conftest.c
configure:3676: $? = 0
configure:3703: gcc -E  conftest.c
configure:3700: ac_nonexistent.h: No such file or directory
configure:3709: $? = 1
configure: failed program was:
#line 3699 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3751: checking for unistd.h
configure:3761: gcc -E  conftest.c
configure:3767: $? = 0
configure:3786: result: yes
configure:3751: checking for stdlib.h
configure:3761: gcc -E  conftest.c
configure:3767: $? = 0
configure:3786: result: yes
configure:3799: checking for sys/mount.h
configure:3809: gcc -E  conftest.c
configure:3815: $? = 0
configure:3834: result: yes
configure:3847: checking for utime.h
configure:3857: gcc -E  conftest.c
configure:3863: $? = 0
configure:3882: result: yes
configure:3895: checking for time.h
configure:3905: gcc -E  conftest.c
configure:3911: $? = 0
configure:3930: result: yes
configure:3943: checking for sys/time.h
configure:3953: gcc -E  conftest.c
configure:3959: $? = 0
configure:3978: result: yes
configure:3991: checking for malloc.h
configure:4001: gcc -E  conftest.c
In file included from configure:3998:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use 
<stdlib.h>"
configure:4007: $? = 0
configure:4026: result: yes
configure:4039: checking for vfs.h
configure:4049: gcc -E  conftest.c
configure:4046: vfs.h: No such file or directory
configure:4055: $? = 1
configure: failed program was:
#line 4045 "configure"
#include "confdefs.h"
#include <vfs.h>
configure:4074: result: no
configure:4087: checking for sys/vfs.h
configure:4097: gcc -E  conftest.c
configure:4094: sys/vfs.h: No such file or directory
configure:4103: $? = 1
configure: failed program was:
#line 4093 "configure"
#include "confdefs.h"
#include <sys/vfs.h>
configure:4122: result: no
configure:4135: checking for sys/sockio.h
configure:4145: gcc -E  conftest.c
configure:4151: $? = 0
configure:4170: result: yes
configure:4183: checking for sys/statvfs.h
configure:4193: gcc -E  conftest.c
configure:4190: sys/statvfs.h: No such file or directory
configure:4199: $? = 1
configure: failed program was:
#line 4189 "configure"
#include "confdefs.h"
#include <sys/statvfs.h>
configure:4218: result: no
configure:4231: checking for sys/statfs.h
configure:4241: gcc -E  conftest.c
configure:4238: sys/statfs.h: No such file or directory
configure:4247: $? = 1
configure: failed program was:
#line 4237 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
configure:4266: result: no
configure:4279: checking for sys/param.h
configure:4289: gcc -E  conftest.c
configure:4295: $? = 0
configure:4314: result: yes
configure:4327: checking for fcntl.h
configure:4337: gcc -E  conftest.c
configure:4343: $? = 0
configure:4362: result: yes
configure:4375: checking for sys/filesys.h
configure:4385: gcc -E  conftest.c
configure:4382: sys/filesys.h: No such file or directory
configure:4391: $? = 1
configure: failed program was:
#line 4381 "configure"
#include "confdefs.h"
#include <sys/filesys.h>
configure:4410: result: no
configure:4423: checking for dustat.h
configure:4433: gcc -E  conftest.c
configure:4430: dustat.h: No such file or directory
configure:4439: $? = 1
configure: failed program was:
#line 4429 "configure"
#include "confdefs.h"
#include <dustat.h>
configure:4458: result: no
configure:4471: checking for tcpd.h
configure:4481: gcc -E  conftest.c
configure:4487: $? = 0
configure:4506: result: yes
configure:4519: checking for db.h
configure:4529: gcc -E  conftest.c
configure:4535: $? = 0
configure:4554: result: yes
configure:4519: checking for regex.h
configure:4529: gcc -E  conftest.c
configure:4535: $? = 0
configure:4554: result: yes
configure:4519: checking for rxposix.h
configure:4529: gcc -E  conftest.c
configure:4526: rxposix.h: No such file or directory
configure:4535: $? = 1
configure: failed program was:
#line 4525 "configure"
#include "confdefs.h"
#include <rxposix.h>
configure:4554: result: no
configure:4567: checking for sys/systeminfo.h
configure:4577: gcc -E  conftest.c
configure:4574: sys/systeminfo.h: No such file or directory
configure:4583: $? = 1
configure: failed program was:
#line 4573 "configure"
#include "confdefs.h"
#include <sys/systeminfo.h>
configure:4602: result: no
configure:4615: checking for sys/acl.h
configure:4625: gcc -E  conftest.c
configure:4622: sys/acl.h: No such file or directory
configure:4631: $? = 1
configure: failed program was:
#line 4621 "configure"
#include "confdefs.h"
#include <sys/acl.h>
configure:4650: result: no
configure:4660: checking for ANSI C header files
configure:4674: gcc -E  conftest.c
configure:4680: $? = 0
configure:4767: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:4770: $? = 0
configure:4772: ./conftest
configure:4775: $? = 0
configure:4788: result: yes
configure:4798: checking whether time.h and sys/time.h may both be included
configure:4820: gcc -c -g -O2  conftest.c >&5
configure:4823: $? = 0
configure:4826: test -s conftest.o
configure:4829: $? = 0
configure:4839: result: yes
configure:4849: checking for sys/wait.h that is POSIX.1 compatible
configure:4877: gcc -c -g -O2  conftest.c >&5
configure:4880: $? = 0
configure:4883: test -s conftest.o
configure:4886: $? = 0
configure:4896: result: yes
configure:4909: checking for dirent.h that defines DIR
configure:4930: gcc -c -g -O2  conftest.c >&5
configure:4933: $? = 0
configure:4936: test -s conftest.o
configure:4939: $? = 0
configure:4949: result: yes
configure:4962: checking for opendir in -ldir
configure:4989: gcc -o conftest -g -O2   conftest.c -ldir  -lm  >&5
ld: -ldir: no match
collect2: ld returned 1 exit status
configure:4992: $? = 1
configure: failed program was:
#line 4970 "configure"
#include "confdefs.h"

/* 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 opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
configure:5009: result: no
configure:5077: checking for sys/types.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for sys/stat.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for stdlib.h
configure:5108: result: yes
configure:5077: checking for string.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for memory.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for strings.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for inttypes.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5092: $? = 0
configure:5095: test -s conftest.o
configure:5098: $? = 0
configure:5108: result: yes
configure:5077: checking for stdint.h
configure:5089: gcc -c -g -O2  conftest.c >&5
configure:5118: stdint.h: No such file or directory
configure:5092: $? = 1
configure: failed program was:
#line 5083 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdint.h>
configure:5108: result: no
configure:5077: checking for unistd.h
configure:5108: result: yes
configure:5118: checking for mode_t
configure:5139: gcc -c -g -O2  conftest.c >&5
configure:5142: $? = 0
configure:5145: test -s conftest.o
configure:5148: $? = 0
configure:5158: result: yes
configure:5170: checking for size_t
configure:5191: gcc -c -g -O2  conftest.c >&5
configure:5194: $? = 0
configure:5197: test -s conftest.o
configure:5200: $? = 0
configure:5210: result: yes
configure:5222: checking for uid_t in sys/types.h
configure:5242: result: yes
configure:5256: checking for pid_t
configure:5277: gcc -c -g -O2  conftest.c >&5
configure:5280: $? = 0
configure:5283: test -s conftest.o
configure:5286: $? = 0
configure:5296: result: yes
configure:5308: checking for gcc option to accept ANSI C
configure:5365: gcc  -c -g -O2  conftest.c >&5
configure:5368: $? = 0
configure:5371: test -s conftest.o
configure:5374: $? = 0
configure:5391: result: none needed
configure:5399: checking for an ANSI C-conforming const
configure:5463: gcc -c -g -O2  conftest.c >&5
configure:5466: $? = 0
configure:5469: test -s conftest.o
configure:5472: $? = 0
configure:5482: result: yes
configure:5495: checking for getcwd
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for getnetgrent
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for waitpid
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for seteuid
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for setegid
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for setreuid
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5523: warning: this program uses setreuid(), which is deprecated.
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5495: checking for setregid
configure:5532: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5523: warning: this program uses setregid(), which is deprecated.
configure:5535: $? = 0
configure:5538: test -s conftest
configure:5541: $? = 0
configure:5551: result: yes
configure:5564: checking for uname
configure:5601: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5604: $? = 0
configure:5607: test -s conftest
configure:5610: $? = 0
configure:5620: result: yes
configure:5564: checking for gethostname
configure:5601: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5604: $? = 0
configure:5607: test -s conftest
configure:5610: $? = 0
configure:5620: result: yes
configure:5564: checking for realpath
configure:5601: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5604: $? = 0
configure:5607: test -s conftest
configure:5610: $? = 0
configure:5620: result: yes
configure:5564: checking for regcomp
configure:5601: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5604: $? = 0
configure:5607: test -s conftest
configure:5610: $? = 0
configure:5620: result: yes
configure:5564: checking for chflags
configure:5601: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5604: $? = 0
configure:5607: test -s conftest
configure:5610: $? = 0
configure:5620: result: yes
configure:5633: checking for strstr
configure:5670: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5673: $? = 0
configure:5676: test -s conftest
configure:5679: $? = 0
configure:5689: result: yes
configure:5633: checking for putenv
configure:5670: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5673: $? = 0
configure:5676: test -s conftest
configure:5679: $? = 0
configure:5689: result: yes
configure:5633: checking for drand48
configure:5670: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5673: $? = 0
configure:5676: test -s conftest
configure:5679: $? = 0
configure:5689: result: yes
configure:5633: checking for srand48
configure:5670: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5673: $? = 0
configure:5676: test -s conftest
configure:5679: $? = 0
configure:5689: result: yes
configure:5633: checking for getaddrinfo
configure:5689: result: yes
configure:5702: checking for bcopy
configure:5739: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5742: $? = 0
configure:5745: test -s conftest
configure:5748: $? = 0
configure:5758: result: yes
configure:5702: checking for mkfifo
configure:5739: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5742: $? = 0
configure:5745: test -s conftest
configure:5748: $? = 0
configure:5758: result: yes
configure:5702: checking for statfs
configure:5739: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5742: $? = 0
configure:5745: test -s conftest
configure:5748: $? = 0
configure:5758: result: yes
configure:5702: checking for statvfs
configure:5739: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5730: Undefined symbol `_statvfs' referenced from text segment
collect2: ld returned 1 exit status
configure:5742: $? = 1
configure: failed program was:
#line 5708 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char statvfs (); below.  */
#include <assert.h>
/* 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 statvfs ();
char (*f) ();

int
main ()
{
/* 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_statvfs) || defined (__stub___statvfs)
choke me
#else
f = statvfs;
#endif

  ;
  return 0;
}
configure:5758: result: no
configure:5702: checking for door
configure:5739: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5730: Undefined symbol `_door' referenced from text segment
collect2: ld returned 1 exit status
configure:5742: $? = 1
configure: failed program was:
#line 5708 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char door (); below.  */
#include <assert.h>
/* 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 door ();
char (*f) ();

int
main ()
{
/* 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_door) || defined (__stub___door)
choke me
#else
f = door;
#endif

  ;
  return 0;
}
configure:5758: result: no
configure:5771: checking for sysinfo
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5799: Undefined symbol `_sysinfo' referenced from text segment
collect2: ld returned 1 exit status
configure:5811: $? = 1
configure: failed program was:
#line 5777 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sysinfo (); below.  */
#include <assert.h>
/* 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 sysinfo ();
char (*f) ();

int
main ()
{
/* 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_sysinfo) || defined (__stub___sysinfo)
choke me
#else
f = sysinfo;
#endif

  ;
  return 0;
}
configure:5827: result: no
configure:5771: checking for setsid
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5811: $? = 0
configure:5814: test -s conftest
configure:5817: $? = 0
configure:5827: result: yes
configure:5771: checking for strdup
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5811: $? = 0
configure:5814: test -s conftest
configure:5817: $? = 0
configure:5827: result: yes
configure:5771: checking for strrchr
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5811: $? = 0
configure:5814: test -s conftest
configure:5817: $? = 0
configure:5827: result: yes
configure:5771: checking for strerror
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5811: $? = 0
configure:5814: test -s conftest
configure:5817: $? = 0
configure:5827: result: yes
configure:5771: checking for snprintf
configure:5808: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:5811: $? = 0
configure:5814: test -s conftest
configure:5817: $? = 0
configure:5827: result: yes
configure:5838: checking for either struct rtentry or struct ortentry
configure:5870: result: ortentry
configure:5873: checking for main in -lpthread
configure:5893: gcc -o conftest -g -O2   conftest.c -lpthread  -lm  >&5
ld: -lpthread: no match
collect2: ld returned 1 exit status
configure:5896: $? = 1
configure: failed program was:
#line 5881 "configure"
#include "confdefs.h"

int
main ()
{
main ();
  ;
  return 0;
}
configure:5913: result: no
configure:6024: checking for lchown
configure:6061: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:6064: $? = 0
configure:6067: test -s conftest
configure:6070: $? = 0
configure:6080: result: yes
configure:6089: checking for pthread_attr_setstacksize
configure:6126: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:6117: Undefined symbol `_pthread_attr_setstacksize' referenced from 
text segment
collect2: ld returned 1 exit status
configure:6129: $? = 1
configure: failed program was:
#line 6095 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_attr_setstacksize (); below.  */
#include <assert.h>
/* 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 pthread_attr_setstacksize ();
char (*f) ();

int
main ()
{
/* 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_pthread_attr_setstacksize) || defined 
(__stub___pthread_attr_setstacksize)
choke me
#else
f = pthread_attr_setstacksize;
#endif

  ;
  return 0;
}
configure:6145: result: no
configure:6154: checking for pthread_create in -lpthread
configure:6181: gcc -o conftest -g -O2   conftest.c -lpthread  -lm  >&5
ld: -lpthread: no match
collect2: ld returned 1 exit status
configure:6184: $? = 1
configure: failed program was:
#line 6162 "configure"
#include "confdefs.h"

/* 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 pthread_create ();
int
main ()
{
pthread_create ();
  ;
  return 0;
}
configure:6201: result: no
configure:6214: checking for pthread_sigmask
configure:6251: gcc -o conftest -g -O2   conftest.c -lm  >&5
configure:6242: Undefined symbol `_pthread_sigmask' referenced from text segment
collect2: ld returned 1 exit status
configure:6254: $? = 1
configure: failed program was:
#line 6220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_sigmask (); below.  */
#include <assert.h>
/* 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 pthread_sigmask ();
char (*f) ();

int
main ()
{
/* 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_pthread_sigmask) || defined (__stub___pthread_sigmask)
choke me
#else
f = pthread_sigmask;
#endif

  ;
  return 0;
}
configure:6270: result: no
configure:6279: checking for pthread_create in -lpthread
configure:6326: result: no
configure:7208: checking 8-bit support in Flex
configure:7214: result: 8-bit support added
configure:7225: checking Checking for GCC Specific compile flags
configure:7229: result: yes
configure:7241: checking for hostname
configure:7258: found /bin/hostname
configure:7270: result: /bin/hostname
configure:7365: creating ./config.status

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by config.status 2.52, executed with
  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  > ./config.status 
on info39

config.status:7858: creating pub/Makefile
config.status:7858: creating src/Makefile
config.status:7858: creating contrib/Makefile
config.status:7858: creating inputs/Makefile
config.status:7858: creating Makefile
config.status:7858: creating doc/Makefile
config.status:7858: creating src/cflex.l
config.status:7858: creating contrib/vicf
config.status:7950: creating src/conf.h
configure:8172: WARNING: =====================================================
configure:8174: WARNING: 
configure:8176: WARNING: DFS users should use --enable-DCE
configure:8178: WARNING: 
configure:8180: WARNING: This version requires Berkeley db version 3.2 or later 
configure:8182: WARNING: installed at /usr/local/BerkeleyDB from 
www.sleepycat.com.
configure:8184: WARNING: 
configure:8186: WARNING: This version requires the latest OpenSSL from 
www.openssl.org
configure:8188: WARNING: 
configure:8190: WARNING: ====================================================="
configure:8193: result: DONE: Configuration done. Run make/gmake to build 
cfengine.

## ----------------- ##
## Cache variables.  ##
## ----------------- ##

ac_cv_build=i386-unknown-openbsd3.0
ac_cv_build_alias=i386-unknown-openbsd3.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_bcopy=yes
ac_cv_func_chflags=yes
ac_cv_func_door=no
ac_cv_func_door_create=no
ac_cv_func_drand48=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_gethostent=yes
ac_cv_func_gethostname=yes
ac_cv_func_getnetgrent=yes
ac_cv_func_lchown=yes
ac_cv_func_mkfifo=yes
ac_cv_func_pthread_attr_setstacksize=no
ac_cv_func_pthread_sigmask=no
ac_cv_func_putenv=yes
ac_cv_func_realpath=yes
ac_cv_func_regcomp=yes
ac_cv_func_setegid=yes
ac_cv_func_seteuid=yes
ac_cv_func_setregid=yes
ac_cv_func_setreuid=yes
ac_cv_func_setsid=yes
ac_cv_func_setsockopt=yes
ac_cv_func_snprintf=yes
ac_cv_func_srand48=yes
ac_cv_func_statfs=yes
ac_cv_func_statvfs=no
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strrchr=yes
ac_cv_func_strstr=yes
ac_cv_func_sysinfo=no
ac_cv_func_uname=yes
ac_cv_func_waitpid=yes
ac_cv_header_db_h=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_dustat_h=no
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_regex_h=yes
ac_cv_header_rxposix_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_acl_h=no
ac_cv_header_sys_filesys_h=no
ac_cv_header_sys_mount_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_sockio_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_statfs_h=no
ac_cv_header_sys_statvfs_h=no
ac_cv_header_sys_systeminfo_h=no
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_vfs_h=no
ac_cv_header_sys_wait_h=yes
ac_cv_header_tcpd_h=yes
ac_cv_header_time=yes
ac_cv_header_time_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_header_vfs_h=no
ac_cv_host=i386-unknown-openbsd3.0
ac_cv_host_alias=i386-unknown-openbsd3.0
ac_cv_lib_crypto_main=yes
ac_cv_lib_dir_opendir=no
ac_cv_lib_fl_yywrap=yes
ac_cv_lib_m_main=yes
ac_cv_lib_pthread_main=no
ac_cv_lib_pthread_pthread_create=no
ac_cv_lib_rx_main=no
ac_cv_objext=o
ac_cv_path_DVIPS=false
ac_cv_path_HOSTNAME=/bin/hostname
ac_cv_path_LATEX=false
ac_cv_path_MAKEINFO=/usr/bin/makeinfo
ac_cv_path_TEXI2DVI=/usr/bin/texi2dvi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LEX=flex
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_lex_root=lex.yy
ac_cv_prog_lex_yytext_pointer=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_socket='none required'
ac_cv_target=i386-unknown-openbsd3.0
ac_cv_target_alias=i386-unknown-openbsd3.0
ac_cv_type_mode_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
ac_cv_type_uid_t=yes

## ------------ ##
## confdefs.h.  ##
## ------------ ##

#define PACKAGE "cfengine"
#define VERSION "2.0.0"
#define YYTEXT_POINTER 1
#define HAVE_LIBM 1
#define USE_BERKELEY_DB 1
#define USE_OPENSSL_LIB 1
#define HAVE_LIBCRYPTO 1
#define HAVE_UNISTD_H 1
#define HAVE_STDLIB_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_UTIME_H 1
#define HAVE_TIME_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_MALLOC_H 1
#define HAVE_SYS_SOCKIO_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_FCNTL_H 1
#define HAVE_TCPD_H 1
#define HAVE_DB_H 1
#define HAVE_REGEX_H 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DIRENT_H 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_UNISTD_H 1
#define HAVE_GETCWD 1
#define HAVE_GETNETGRENT 1
#define HAVE_WAITPID 1
#define HAVE_SETEUID 1
#define HAVE_SETEGID 1
#define HAVE_SETREUID 1
#define HAVE_SETREGID 1
#define HAVE_UNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_REALPATH 1
#define HAVE_REGCOMP 1
#define HAVE_CHFLAGS 1
#define HAVE_STRSTR 1
#define HAVE_PUTENV 1
#define HAVE_DRAND48 1
#define HAVE_SRAND48 1
#define HAVE_GETADDRINFO 1
#define HAVE_BCOPY 1
#define HAVE_MKFIFO 1
#define HAVE_STATFS 1
#define HAVE_SETSID 1
#define HAVE_STRDUP 1
#define HAVE_STRRCHR 1
#define HAVE_STRERROR 1
#define HAVE_SNPRINTF 1
#define HAVE_RTENTRY 1
#define HAVE_ORTENTRY 1
#define HAVE_LCHOWN 1
#define OPENBSD 1
#define WORKDIR "/var/cfengine"
#define AUTOCONF_HOSTNAME "info39"
#define AUTOCONF_SYSNAME "openbsd3.0"


configure: exit 0

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]