cannot configure postgres - Mailing list pgsql-admin

From Michael Stenitzer
Subject cannot configure postgres
Date
Msg-id 8utLb.27735$Tz1.15693@news.chello.at
Whole thread Raw
Responses Re: cannot configure postgres
Tablerights for User in Group
List pgsql-admin
hi,

i'm in troubles. i have to compile postgres 7.1.3 on suse 9.
[yes, i have to use this old version, because lyris listmanager insists
on that]

unfortuantely it stops with an error
  > checking types of arguments for accept()... configure: error: could
not determine argument types

attached you'll find my log file.

please help
thanx/michael


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

configure:629: checking host system type
configure:655: checking which template to use
configure:818: checking whether to build with locale support
configure:847: checking whether to build with recode support
configure:877: checking whether to build with multibyte character support
configure:929: checking whether to build with Unicode conversion support
configure:960: checking for default port number
configure:994: checking for default soft limit on number of connections
configure:1118: checking for gcc
configure:1231: checking whether the C compiler (gcc  ) works
configure:1247: gcc -o conftest    conftest.c  1>&5
configure:1273: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1278: checking whether we are using GNU C
configure:1287: gcc -E conftest.c
configure:1306: checking whether gcc accepts -g
configure:1349: checking whether the C compiler (gcc -O2 ) works
configure:1365: gcc -o conftest -O2   conftest.c  1>&5
configure:1391: checking whether the C compiler (gcc -O2 ) is a cross-compiler
configure:1396: checking for Cygwin environment
configure:1412: gcc -c -O2  conftest.c 1>&5
configure: In function `main':
configure:1408: `__CYGWIN32__' undeclared (first use in this function)
configure:1408: (Each undeclared identifier is reported only once
configure:1408: for each function it appears in.)
configure: failed program was:
#line 1401 "configure"
#include "confdefs.h"

int main() {

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

int main() {
return __MINGW32__;
; return 0; }
configure:1460: checking for executable suffix
configure:1470: gcc -o conftest -O2   conftest.c  1>&5
configure:1491: checking how to run the C preprocessor
configure:1512: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1572: checking whether gcc needs -traditional
configure:1718: checking whether to build with Tcl
configure:1742: checking whether to build with Tk
configure:1804: checking whether to build Perl modules
configure:1831: checking whether to build Python modules
configure:1913: checking whether to build Java/JDBC tools
configure:2153: checking whether to build the ODBC driver
configure:2235: checking whether to build C++ modules
configure:2628: checking for mawk
configure:2628: checking for gawk
configure:2658: checking for flex
configure:2723: checking whether ln -s works
configure:2755: checking for ld used by GCC
configure:2823: checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld
GNU ld version 2.11.92.0.10 20011021 (SuSE)
configure:2878: checking for ranlib
configure:2910: checking for lorder
configure:2942: checking for tar
configure:2979: checking for perl
configure:3014: checking for bison
configure:3100: checking for readline
configure:3122: gcc -o conftest -O2     conftest.c -lreadline  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -ledit  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -lreadline -ltermcap  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -ledit -ltermcap  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -lreadline -lncurses  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -ledit -lncurses  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -lreadline -lcurses  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3122: gcc -o conftest -O2     conftest.c -ledit -lcurses  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 3111 "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:3149: checking for library containing using_history
configure:3167: gcc -o conftest -O2     conftest.c  1>&5
/tmp/ccRy7Tbg.o: In function `main':
/tmp/ccRy7Tbg.o(.text+0x7): undefined reference to `using_history'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3156 "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:3189: gcc -o conftest -O2     conftest.c -lhistory   1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lhistory
collect2: ld returned 1 exit status
configure: failed program was:
#line 3178 "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:3216: checking for main in -lbsd
configure:3231: gcc -o conftest -O2     conftest.c -lbsd   1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lbsd
collect2: ld returned 1 exit status
configure: failed program was:
#line 3224 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3260: checking for setproctitle in -lutil
configure:3279: gcc -o conftest -O2     conftest.c -lutil   1>&5
/tmp/ccOdP537.o: In function `main':
/tmp/ccOdP537.o(.text+0x7): undefined reference to `setproctitle'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3268 "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:3307: checking for main in -lm
configure:3322: gcc -o conftest -O2     conftest.c -lm   1>&5
configure:3350: checking for main in -ldl
configure:3365: gcc -o conftest -O2     conftest.c -ldl  -lm  1>&5
configure:3393: checking for main in -lsocket
configure:3408: gcc -o conftest -O2     conftest.c -lsocket  -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 3401 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3436: checking for main in -lnsl
configure:3451: gcc -o conftest -O2     conftest.c -lnsl  -ldl -lm  1>&5
configure:3479: checking for main in -lipc
configure:3494: gcc -o conftest -O2     conftest.c -lipc  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lipc
collect2: ld returned 1 exit status
configure: failed program was:
#line 3487 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3522: checking for main in -lIPC
configure:3537: gcc -o conftest -O2     conftest.c -lIPC  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lIPC
collect2: ld returned 1 exit status
configure: failed program was:
#line 3530 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3565: checking for main in -llc
configure:3580: gcc -o conftest -O2     conftest.c -llc  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -llc
collect2: ld returned 1 exit status
configure: failed program was:
#line 3573 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3608: checking for main in -ldld
configure:3623: gcc -o conftest -O2     conftest.c -ldld  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 3616 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3651: checking for main in -lld
configure:3666: gcc -o conftest -O2     conftest.c -lld  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lld
collect2: ld returned 1 exit status
configure: failed program was:
#line 3659 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3694: checking for main in -lcompat
configure:3709: gcc -o conftest -O2     conftest.c -lcompat  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3702 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3737: checking for main in -lBSD
configure:3752: gcc -o conftest -O2     conftest.c -lBSD  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lBSD
collect2: ld returned 1 exit status
configure: failed program was:
#line 3745 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3780: checking for main in -lgen
configure:3795: gcc -o conftest -O2     conftest.c -lgen  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lgen
collect2: ld returned 1 exit status
configure: failed program was:
#line 3788 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3823: checking for main in -lPW
configure:3838: gcc -o conftest -O2     conftest.c -lPW  -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lPW
collect2: ld returned 1 exit status
configure: failed program was:
#line 3831 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3866: checking for main in -lresolv
configure:3881: gcc -o conftest -O2     conftest.c -lresolv  -lnsl -ldl -lm  1>&5
configure:3909: checking for main in -lunix
configure:3924: gcc -o conftest -O2     conftest.c -lunix  -lresolv -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lunix
collect2: ld returned 1 exit status
configure: failed program was:
#line 3917 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3953: checking for library containing crypt
configure:3971: gcc -o conftest -O2     conftest.c -lresolv -lnsl -ldl -lm  1>&5
/tmp/ccZn3BmN.o: In function `main':
/tmp/ccZn3BmN.o(.text+0x7): undefined reference to `crypt'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3960 "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 crypt();

int main() {
crypt()
; return 0; }
configure:3993: gcc -o conftest -O2     conftest.c -lcrypt  -lresolv -lnsl -ldl -lm  1>&5
configure:4014: checking for __inet_ntoa in -lbind
configure:4033: gcc -o conftest -O2     conftest.c -lbind  -lcrypt -lresolv -lnsl -ldl -lm  1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 4022 "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:4070: checking for inflate in -lz
configure:4089: gcc -o conftest -O2     conftest.c -lz  -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:4522: checking for crypt.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for dld.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: dld.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <dld.h>
configure:4522: checking for endian.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for fp_class.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: fp_class.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <fp_class.h>
configure:4522: checking for getopt.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for ieeefp.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: ieeefp.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:4522: checking for pwd.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/ipc.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/pstat.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: sys/pstat.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <sys/pstat.h>
configure:4522: checking for sys/select.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/sem.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/socket.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/shm.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/types.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for sys/un.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for termios.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4522: checking for kernel/OS.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: kernel/OS.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <kernel/OS.h>
configure:4522: checking for kernel/image.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: kernel/image.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <kernel/image.h>
configure:4522: checking for SupportDefs.h
configure:4532: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4528: SupportDefs.h: No such file or directory
configure: failed program was:
#line 4527 "configure"
#include "confdefs.h"
#include <SupportDefs.h>
configure:4563: checking for netinet/in.h
configure:4573: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4600: checking for netinet/tcp.h
configure:4612: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4630: checking whether string.h and strings.h may both be included
configure:4642: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4656: gcc -c -O2   conftest.c 1>&5
configure:4688: checking for readline/readline.h
configure:4698: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4694: readline/readline.h: No such file or directory
configure: failed program was:
#line 4693 "configure"
#include "confdefs.h"
#include <readline/readline.h>
configure:4688: checking for readline.h
configure:4698: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4694: readline.h: No such file or directory
configure: failed program was:
#line 4693 "configure"
#include "confdefs.h"
#include <readline.h>
configure:4728: checking for readline/history.h
configure:4738: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4734: readline/history.h: No such file or directory
configure: failed program was:
#line 4733 "configure"
#include "confdefs.h"
#include <readline/history.h>
configure:4728: checking for history.h
configure:4738: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:4734: history.h: No such file or directory
configure: failed program was:
#line 4733 "configure"
#include "confdefs.h"
#include <history.h>
configure:4949: checking for working const
configure:5003: gcc -c -O2   conftest.c 1>&5
configure:5024: checking for inline
configure:5038: gcc -c -O2   conftest.c 1>&5
configure:5066: checking for preprocessor stringizing operator
configure:5101: checking for signed types
configure:5113: gcc -c -O2   conftest.c 1>&5
configure:5133: checking for volatile
configure:5145: gcc -c -O2   conftest.c 1>&5
configure:5165: checking whether struct tm is in sys/time.h or time.h
configure:5178: gcc -c -O2   conftest.c 1>&5
configure:5199: checking for tm_zone in struct tm
configure:5212: gcc -c -O2   conftest.c 1>&5
configure:5269: checking for union semun
configure:5283: gcc -c -O2   conftest.c 1>&5
configure: In function `main':
configure:5279: storage size of `semun' isn't known
configure: failed program was:
#line 5274 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
int main() {
union semun semun;
; return 0; }
configure:5303: checking for struct sockaddr_un
configure:5318: gcc -c -O2   conftest.c 1>&5
configure:5342: checking for int timezone
configure:5355: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5375: checking types of arguments for accept()
configure:5402: gcc -c -O2   conftest.c 1>&5
configure:5396: conflicting types for `accept'
/usr/include/sys/socket.h:191: previous declaration of `accept'
configure: failed program was:
#line 5389 "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:5402: gcc -c -O2   conftest.c 1>&5
configure:5442: checking whether gettimeofday takes only one argument
configure:5456: gcc -c -O2   conftest.c 1>&5
configure:5479: checking for fcvt
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for getopt_long
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for memmove
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for pstat
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
/tmp/ccLctdId.o: In function `main':
/tmp/ccLctdId.o(.text+0x7): undefined reference to `pstat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5484 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pstat(); below.  */
#include <assert.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 pstat();

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_pstat) || defined (__stub___pstat)
choke me
#else
pstat();
#endif

; return 0; }
configure:5479: checking for setproctitle
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
/tmp/cc7gI17K.o: In function `main':
/tmp/cc7gI17K.o(.text+0x7): undefined reference to `setproctitle'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5484 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setproctitle(); below.  */
#include <assert.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() {

/* 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_setproctitle) || defined (__stub___setproctitle)
choke me
#else
setproctitle();
#endif

; return 0; }
configure:5479: checking for setsid
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for sigprocmask
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for sysconf
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for waitpid
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for dlopen
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5479: checking for fdatasync
configure:5507: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5549: checking for PS_STRINGS
configure:5564: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5555: machine/vmparam.h: No such file or directory
configure:5556: sys/exec.h: No such file or directory
configure: failed program was:
#line 5554 "configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>

int main() {
PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
configure:5586: checking for snprintf
configure:5614: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5638: checking for vsnprintf
configure:5666: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5723: checking for isinf
configure:5736: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5818: checking for getrusage
configure:5846: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5871: checking for srandom
configure:5899: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5924: checking for gethostname
configure:5952: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:5977: checking for random
configure:6005: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6030: checking for inet_aton
configure:6058: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6083: checking for strerror
configure:6111: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6136: checking for strdup
configure:6164: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6189: checking for strtol
configure:6217: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6242: checking for strtoul
configure:6270: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6295: checking for strcasecmp
configure:6323: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6348: checking for cbrt
configure:6376: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6454: checking for rint
configure:6482: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6551: checking for rl_completion_append_character
configure:6566: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure: In function `main':
configure:6562: `rl_completion_append_character' undeclared (first use in this function)
configure:6562: (Each undeclared identifier is reported only once
configure:6562: for each function it appears in.)
configure: failed program was:
#line 6553 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
#elif defined(HAVE_READLINE_H)
# include <readline.h>
#endif

int main() {
rl_completion_append_character = 'x';
; return 0; }
configure:6584: checking for rl_completion_matches
configure:6612: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
/tmp/ccUChs0z.o: In function `main':
/tmp/ccUChs0z.o(.text+0x7): undefined reference to `rl_completion_matches'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6589 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char rl_completion_matches(); below.  */
#include <assert.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 rl_completion_matches();

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_rl_completion_matches) || defined (__stub___rl_completion_matches)
choke me
#else
rl_completion_matches();
#endif

; return 0; }
configure:6639: checking for finite
configure:6648: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6663: checking for sigsetjmp
configure:6672: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6759: checking for optreset
configure:6771: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
/tmp/cc25S4Jl.o: In function `main':
/tmp/cc25S4Jl.o(.text+0x5): undefined reference to `optreset'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6764 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
configure:6797: checking test program
configure:6806: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6826: checking whether long int is 64 bits
configure:6864: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure: failed program was:
#line 6835 "configure"
#include "confdefs.h"
typedef long int int64;

/*
 * These are globals to discourage the compiler from folding all the
 * arithmetic tests down to compile-time constants.
 */
int64 a = 20000001;
int64 b = 40000005;

int does_int64_work()
{
  int64 c,d;

  if (sizeof(int64) != 8)
    return 0;            /* definitely not the right size */

  /* Do perfunctory checks to see if 64-bit arithmetic seems to work */
  c = a * b;
  d = (c + b) / b;
  if (d != a+1)
    return 0;
  return 1;
}
main() {
  exit(! does_int64_work());
}
configure:6891: checking whether long long int is 64 bits
configure:6929: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:6969: gcc -c -O2   conftest.c 1>&5
configure:6987: checking whether snprintf handles 'long long int' as %lld
configure:7023: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7110: checking for strtoll
configure:7138: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7165: checking for strtoull
configure:7193: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7219: checking for atexit
configure:7247: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7331: checking size of unsigned long
configure:7350: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7376: checking alignment of short
configure:7396: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7416: checking alignment of int
configure:7436: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7456: checking alignment of long
configure:7476: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7497: checking alignment of long long int
configure:7517: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7538: checking alignment of double
configure:7558: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7596: checking for POSIX signal interface
configure:7612: gcc -o conftest -O2     conftest.c -lz -lcrypt -lresolv -lnsl -ldl -lm  1>&5
configure:7750: checking for onsgmls
configure:7750: checking for nsgmls


pgsql-admin by date:

Previous
From: "Likit Younboon"
Date:
Subject: pg_dump problem
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_dump problem