Re: Can't run configure - Mailing list pgsql-general

From Williams, Travis L, NPONS
Subject Re: Can't run configure
Date
Msg-id AB815D267EC31A4693CC24D234F8291602651E22@ACCLUST02EVS1.ugd.att.com
Whole thread Raw
In response to Can't run configure  ("Williams, Travis L, NPONS" <tlw@att.com>)
List pgsql-general
Didn't see my first email come through.. so here is the config.log..
sorry if it gets duplicated..

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:635: checking host system type
configure:661: checking which template to use
configure:824: checking whether to build with locale support
configure:853: checking whether to build with recode support
configure:883: checking whether to build with multibyte character
support
configure:937: checking whether NLS is wanted
configure:972: checking for default port number
configure:1006: checking for default soft limit on number of connections
configure:1130: checking for gcc
configure:1243: checking whether the C compiler (gcc  ) works
configure:1259: gcc -o conftest    conftest.c  1>&5
configure:1285: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1290: checking whether we are using GNU C
configure:1299: gcc -E conftest.c
configure:1318: checking whether gcc accepts -g
configure:1361: checking whether the C compiler (gcc -O2 ) works
configure:1377: gcc -o conftest -O2   conftest.c  1>&5
configure:1403: checking whether the C compiler (gcc -O2 ) is a
cross-compiler
configure:1408: checking for Cygwin environment
configure:1424: gcc -c -O2  conftest.c 1>&5
configure: In function `main':
configure:1420: `__CYGWIN32__' undeclared (first use in this function)
configure:1420: (Each undeclared identifier is reported only once
configure:1420: for each function it appears in.)
configure: failed program was:
#line 1413 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1441: checking for mingw32 environment
configure:1453: gcc -c -O2  conftest.c 1>&5
configure: In function `main':
configure:1449: `__MINGW32__' undeclared (first use in this function)
configure:1449: (Each undeclared identifier is reported only once
configure:1449: for each function it appears in.)
configure: failed program was:
#line 1446 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1472: checking for executable suffix
configure:1482: gcc -o conftest -O2   conftest.c  1>&5
configure:1503: checking how to run the C preprocessor
configure:1524: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1584: checking whether gcc needs -traditional
configure:1730: checking whether to build with Tcl
configure:1754: checking whether to build with Tk
configure:1815: checking whether to build Perl modules
configure:1841: checking whether to build Python modules
configure:1867: checking whether to build Java/JDBC tools
configure:2105: checking whether to build with PAM support
configure:2185: checking whether to build the ODBC driver
configure:2323: checking whether to build C++ modules
configure:2716: checking for mawk
configure:2716: checking for gawk
configure:2716: checking for nawk
configure:2716: checking for awk
configure:2746: checking for flex
configure:2811: checking whether ln -s works
configure:2843: checking for ld used by GCC
configure:2911: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:2966: checking for ranlib
configure:2998: checking for lorder
configure:3030: checking for tar
configure:3068: checking for bison
configure:3151: checking for perl
configure:3288: checking for readline
configure:3310: gcc -o conftest -O2     conftest.c -lreadline  1>&5
/usr/ccs/bin/ld: Can't find library for -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -ledit  1>&5
/usr/ccs/bin/ld: Can't find library for -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -lreadline -ltermcap
1>&5
/usr/ccs/bin/ld: Can't find library for -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -ledit -ltermcap
1>&5
/usr/ccs/bin/ld: Can't find library for -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -lreadline -lncurses
1>&5
/usr/ccs/bin/ld: Can't find library for -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -ledit -lncurses
1>&5
/usr/ccs/bin/ld: Can't find library for -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -lreadline -lcurses
1>&5
/usr/ccs/bin/ld: Can't find library for -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3310: gcc -o conftest -O2     conftest.c -ledit -lcurses  1>&5
/usr/ccs/bin/ld: Can't find library for -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
configure:3349: checking for library containing using_history
configure:3367: gcc -o conftest -O2     conftest.c  1>&5
/usr/ccs/bin/ld: Unsatisfied symbols:
   using_history (code)
collect2: ld returned 1 exit status
configure: failed program was:
#line 3356 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char using_history();

int main() {
using_history()
; return 0; }
configure:3389: gcc -o conftest -O2     conftest.c -lhistory   1>&5
/usr/ccs/bin/ld: Can't find library for -lhistory
collect2: ld returned 1 exit status
configure: failed program was:
#line 3378 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char using_history();

int main() {
using_history()
; return 0; }
configure:3416: checking for main in -lbsd
configure:3431: gcc -o conftest -O2     conftest.c -lbsd   1>&5
/usr/ccs/bin/ld: Can't find library for -lbsd
collect2: ld returned 1 exit status
configure: failed program was:
#line 3424 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3460: checking for setproctitle in -lutil
configure:3479: gcc -o conftest -O2     conftest.c -lutil   1>&5
/usr/ccs/bin/ld: Can't find library for -lutil
collect2: ld returned 1 exit status
configure: failed program was:
#line 3468 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setproctitle();

int main() {
setproctitle()
; return 0; }
configure:3507: checking for main in -lm
configure:3522: gcc -o conftest -O2     conftest.c -lm   1>&5
configure:3550: checking for main in -ldl
configure:3565: gcc -o conftest -O2     conftest.c -ldl  -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -ldl
collect2: ld returned 1 exit status
configure: failed program was:
#line 3558 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3593: checking for main in -lsocket
configure:3608: gcc -o conftest -O2     conftest.c -lsocket  -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 3601 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3636: checking for main in -lnsl
configure:3651: gcc -o conftest -O2     conftest.c -lnsl  -lm  1>&5
configure:3679: checking for main in -lipc
configure:3694: gcc -o conftest -O2     conftest.c -lipc  -lnsl -lm
1>&5
/usr/ccs/bin/ld: Can't find library for -lipc
collect2: ld returned 1 exit status
configure: failed program was:
#line 3687 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3722: checking for main in -lIPC
configure:3737: gcc -o conftest -O2     conftest.c -lIPC  -lnsl -lm
1>&5
/usr/ccs/bin/ld: Can't find library for -lIPC
collect2: ld returned 1 exit status
configure: failed program was:
#line 3730 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3765: checking for main in -llc
configure:3780: gcc -o conftest -O2     conftest.c -llc  -lnsl -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -llc
collect2: ld returned 1 exit status
configure: failed program was:
#line 3773 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3808: checking for main in -ldld
configure:3823: gcc -o conftest -O2     conftest.c -ldld  -lnsl -lm
1>&5
configure:3851: checking for main in -lld
configure:3866: gcc -o conftest -O2     conftest.c -lld  -ldld -lnsl -lm
1>&5
/usr/ccs/bin/ld: Can't find library for -lld
collect2: ld returned 1 exit status
configure: failed program was:
#line 3859 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3894: checking for main in -lcompat
configure:3909: gcc -o conftest -O2     conftest.c -lcompat  -ldld -lnsl
-lm  1>&5
/usr/ccs/bin/ld: Can't find library for -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3902 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3937: checking for main in -lBSD
configure:3952: gcc -o conftest -O2     conftest.c -lBSD  -ldld -lnsl
-lm  1>&5
configure:3980: checking for main in -lgen
configure:3995: gcc -o conftest -O2     conftest.c -lgen  -lBSD -ldld
-lnsl -lm  1>&5
configure:4023: checking for main in -lPW
configure:4038: gcc -o conftest -O2     conftest.c -lPW  -lgen -lBSD
-ldld -lnsl -lm  1>&5
configure:4066: checking for main in -lresolv
configure:4081: gcc -o conftest -O2     conftest.c -lresolv  -lPW -lgen
-lBSD -ldld -lnsl -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -lresolv
collect2: ld returned 1 exit status
configure: failed program was:
#line 4074 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4110: checking for main in -lunix
configure:4125: gcc -o conftest -O2     conftest.c -lunix  -lPW -lgen
-lBSD -ldld -lnsl -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -lunix
collect2: ld returned 1 exit status
configure: failed program was:
#line 4118 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4154: checking for library containing crypt
configure:4172: gcc -o conftest -O2     conftest.c -lPW -lgen -lBSD
-ldld -lnsl -lm  1>&5
configure:4216: checking for __inet_ntoa in -lbind
configure:4235: gcc -o conftest -O2     conftest.c -lbind  -lPW -lgen
-lBSD -ldld -lnsl -lm  1>&5
/usr/ccs/bin/ld: Can't find library for -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 4224 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* 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();

int main() {
__inet_ntoa()
; return 0; }
configure:4268:18: zlib.h: No such file or directory
configure:4329: checking for library containing fdatasync
configure:4347: gcc -o conftest -O2     conftest.c -lPW -lgen -lBSD
-ldld -lnsl -lm  1>&5
configure:5060: checking for crypt.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for dld.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:17: dld.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <dld.h>
configure:5060: checking for endian.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:20: endian.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <endian.h>
configure:5060: checking for fp_class.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:22: fp_class.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <fp_class.h>
configure:5060: checking for getopt.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:20: getopt.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <getopt.h>
configure:5060: checking for ieeefp.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:5060: checking for pwd.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/ipc.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/pstat.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/select.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:24: sys/select.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <sys/select.h>
configure:5060: checking for sys/sem.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/socket.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/shm.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/types.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for sys/un.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for termios.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5060: checking for kernel/OS.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:23: kernel/OS.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <kernel/OS.h>
configure:5060: checking for kernel/image.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:26: kernel/image.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <kernel/image.h>
configure:5060: checking for SupportDefs.h
configure:5070: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5066:25: SupportDefs.h: No such file or directory
configure: failed program was:
#line 5065 "configure"
#include "confdefs.h"
#include <SupportDefs.h>
configure:5101: checking for netinet/in.h
configure:5111: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5138: checking for netinet/tcp.h
configure:5150: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5168: checking whether string.h and strings.h may both be
included
configure:5180: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5194: gcc -c -O2   conftest.c 1>&5
configure:5226: checking for readline/readline.h
configure:5236: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5232:31: readline/readline.h: No such file or directory
configure: failed program was:
#line 5231 "configure"
#include "confdefs.h"
#include <readline/readline.h>
configure:5226: checking for readline.h
configure:5236: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5232:22: readline.h: No such file or directory
configure: failed program was:
#line 5231 "configure"
#include "confdefs.h"
#include <readline.h>
configure:5266: checking for readline/history.h
configure:5276: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5272:30: readline/history.h: No such file or directory
configure: failed program was:
#line 5271 "configure"
#include "confdefs.h"
#include <readline/history.h>
configure:5266: checking for history.h
configure:5276: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:5272:21: history.h: No such file or directory
configure: failed program was:
#line 5271 "configure"
#include "confdefs.h"
#include <history.h>
configure:5524: checking for working const
configure:5578: gcc -c -O2   conftest.c 1>&5
configure:5599: checking for inline
configure:5613: gcc -c -O2   conftest.c 1>&5
configure:5641: checking for preprocessor stringizing operator
configure:5676: checking for signed types
configure:5688: gcc -c -O2   conftest.c 1>&5
configure:5708: checking for volatile
configure:5720: gcc -c -O2   conftest.c 1>&5
configure:5740: checking whether struct tm is in sys/time.h or time.h
configure:5753: gcc -c -O2   conftest.c 1>&5
configure:5774: checking for tm_zone in struct tm
configure:5787: gcc -c -O2   conftest.c 1>&5
configure: In function `main':
configure:5783: structure has no member named `tm_zone'
configure: failed program was:
#line 5779 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
int main() {
struct tm tm; tm.tm_zone;
; return 0; }
configure:5807: checking for tzname
configure:5822: gcc -o conftest -O2     conftest.c -lPW -lgen -lBSD
-ldld -lnsl -lm  1>&5
configure:5844: checking for union semun
configure:5858: gcc -c -O2   conftest.c 1>&5
configure: In function `main':
configure:5854: storage size of `semun' isn't known
configure: failed program was:
#line 5849 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
int main() {
union semun semun;
; return 0; }
configure:5878: checking for struct cmsgcred
configure:5892: gcc -c -O2   conftest.c 1>&5
In file included from configure:5885:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:5886:23: sys/ucred.h: No such file or directory
configure: In function `main':
configure:5888: storage size of `sockcred' isn't known
configure: failed program was:
#line 5883 "configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ucred.h>
int main() {
struct cmsgcred sockcred;
; return 0; }
configure:5912: checking for struct fcred
configure:5926: gcc -c -O2   conftest.c 1>&5
In file included from configure:5919:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:5920:23: sys/ucred.h: No such file or directory
configure: In function `main':
configure:5922: storage size of `sockcred' isn't known
configure: failed program was:
#line 5917 "configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ucred.h>
int main() {
struct fcred sockcred;
; return 0; }
configure:5946: checking for struct sockcred
configure:5960: gcc -c -O2   conftest.c 1>&5
In file included from configure:5953:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:5954:23: sys/ucred.h: No such file or directory
configure: In function `main':
configure:5956: storage size of `sockcred' isn't known
configure: failed program was:
#line 5951 "configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ucred.h>
int main() {
struct sockcred sockcred;
; return 0; }
configure:5980: checking for struct sockaddr_un
configure:5995: gcc -c -O2   conftest.c 1>&5
configure:6019: checking for int timezone
configure:6032: gcc -o conftest -O2     conftest.c -lPW -lgen -lBSD
-ldld -lnsl -lm  1>&5
configure:6052: checking types of arguments for accept()
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, struct sockaddr *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, struct sockaddr *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, struct sockaddr *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, struct sockaddr *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, struct sockaddr *, void *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, const struct sockaddr *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, const struct sockaddr *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, const struct sockaddr *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, const struct sockaddr *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, const struct sockaddr *, void *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, void *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, void *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, void *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, void *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (int, void *, void *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, struct sockaddr *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, struct sockaddr *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, struct sockaddr *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, struct sockaddr *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, struct sockaddr *, void *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, const struct sockaddr *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, const struct sockaddr *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, const struct sockaddr *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, const struct sockaddr *, unsigned int
*);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, const struct sockaddr *, void *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, size_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, socklen_t *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c -O2   conftest.c 1>&5
In file included from configure:6071:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
configure:6073: conflicting types for `accept'
/usr/include/sys/socket.h:467: previous declaration of `accept'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, void *);
int main() {

; return 0; }

-----Original Message-----
From: Williams, Travis L, NPONS
Sent: Saturday, September 14, 2002 10:37 AM
To: 'Tom Lane'
Cc: Nigel J. Andrews; pgsql-general
Subject: RE: [GENERAL] Can't run configure


I attached my config.log.. if attachments don't get forwarded.. then
I'll resend.. I have compiled a couple of different programs since I got
the machine (I'm moving from a 386/solaris 8 machine)..  Like I said
earlier on 7.1.3 the configure runs fine, but 7.2 and 7.2.2 fail.

Travis

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Saturday, September 14, 2002 10:31 AM
To: Williams, Travis L, NPONS
Cc: Nigel J. Andrews; pgsql-general
Subject: Re: [GENERAL] Can't run configure


"Williams, Travis L, NPONS" <tlw@att.com> writes:
> You know.. sometimes I amaze myself when I send off something like
> below.. yet freak out when people do the same to me..  ;)(feel free to
> beat the newbie!) anyway hpux 11.20.. I installed the GNU gcc and
make..
> I can copy the config.log.. but it is a little to much..

I think we need to see the part of config.log that shows configure
trying to test the argument types of accept().  It works fine on HPUX
10.20, which seems to have the same definition of accept() as 11.20
does, according to your grep of /usr/include/sys/socket.h.  Certainly
the correct set of type names *does* get tried; why does the test
program fail to compile anyway?

Are you sure that your gcc installation is working (can you compile and
run a trivial test program)?

            regards, tom lane

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: psql: \pset pager 'always'?
Next
From: Michael und Katrin Rudolph
Date:
Subject: Re: mod_auth_pgsql