|
藍森林 http://www.lslnet.com 2006年8月18日 15:18
在線求助!!!
本人新裝suse 9.0 servers下,解壓安裝"postgresql-8.0.2",在執行
"./configure --prefix=/pgsql8"(其中psql8為用root身份建立的一個
目錄,權限為'777'),發生錯誤,各位大蝦幫忙看看並提示解決方案.不勝
感激!!!可直髮郵件至(hyp0909@126.com)
下為執行後的錯誤提示,附件為config.log文檔.
configure:error:readline library not found
If you have readline already installed,seee config.log for details on the failure. It is possible thie compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
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 PostgreSQL configure 8.0.2, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure --prefix=/psql8
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.6.5-7.97-smp
uname -s = Linux
uname -v = #1 SMP Fri Jul 2 14:21:59 UTC 2004
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/compu_staff/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/java/jre/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1298: checking build system type
configure:1316: result: i686-pc-linux-gnu
configure:1324: checking host system type
configure:1338: result: i686-pc-linux-gnu
configure:1348: checking which template to use
configure:1449: result: linux
configure:1587: checking whether to build with 64-bit integer date/time support
configure:1618: result: no
configure:1625: checking whether NLS is wanted
configure:1659: result: no
configure:1667: checking for default port number
configure:1696: result: 5432
configure:1921: checking for gcc
configure:1937: found /usr/bin/gcc
configure:1947: result: gcc
configure:1966: checking for C compiler version
configure:1969: gcc --version </dev/null >;&5
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1972: $? = 0
configure:1974: gcc -v </dev/null >;&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
configure:1977: $? = 0
configure:1979: gcc -V </dev/null >;&5
gcc: `-V' option must have argument
configure:1982: $? = 1
configure:2008: checking for C compiler default output
configure:2011: gcc conftest.c >;&5
configure:2014: $? = 0
configure:2047: result: a.out
configure:2052: checking whether the C compiler works
configure:2058: ./a.out
configure:2061: $? = 0
configure:2076: result: yes
configure:2083: checking whether we are cross compiling
configure:2085: result: no
configure:2088: checking for suffix of executables
configure:2090: gcc -o conftest conftest.c >;&5
configure:2093: $? = 0
configure:2115: result:
configure:2121: checking for suffix of object files
configure:2145: gcc -c conftest.c >;&5
configure:2148: $? = 0
configure:2167: result: o
configure:2171: checking whether we are using the GNU C compiler
configure:2198: gcc -c conftest.c >;&5
configure:2201: $? = 0
configure:2204: test -s conftest.o
configure:2207: $? = 0
configure:2219: result: yes
configure:2225: checking whether gcc accepts -g
configure:2249: gcc -c -g conftest.c >;&5
configure:2252: $? = 0
configure:2255: test -s conftest.o
configure:2258: $? = 0
configure:2268: result: yes
configure:2295: gcc -c -g -O2 conftest.c >;&5
conftest.c:2: error: parse error before "me"
configure:2298: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2440: checking if gcc supports -Wdeclaration-after-statement
configure:2463: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -D_GNU_SOURCE conftest.c >;&5
cc1: error: unrecognized option `-Wdeclaration-after-statement'
configure:2466: $? = 1
configure: failed program was:
#line 2444 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
;
return 0;
}
configure:2480: result: no
configure:2485: checking if gcc supports -Wold-style-definition
configure:2508: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -D_GNU_SOURCE conftest.c >;&5
cc1: error: unrecognized option `-Wold-style-definition'
configure:2511: $? = 1
configure: failed program was:
#line 2489 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
;
return 0;
}
configure:2525: result: no
configure:2530: checking if gcc supports -Wendif-labels
configure:2553: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -D_GNU_SOURCE conftest.c >;&5
configure:2556: $? = 0
configure:2559: test -s conftest.o
configure:2562: $? = 0
configure:2564: result: yes
configure:2577: checking if gcc supports -fno-strict-aliasing
configure:2600: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c >;&5
configure:2603: $? = 0
configure:2606: test -s conftest.o
configure:2609: $? = 0
configure:2611: result: yes
configure:2629: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing
configure:2638: checking whether the C compiler still works
configure:2660: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c >;&5
configure:2663: $? = 0
configure:2666: test -s conftest
configure:2669: $? = 0
configure:2671: result: yes
configure:2707: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c >;&5
configure:2710: $? = 0
configure:2713: test -s conftest.o
configure:2716: $? = 0
configure:2734: checking how to run the C preprocessor
configure:2760: gcc -E -D_GNU_SOURCE conftest.c
configure:2766: $? = 0
configure:2793: gcc -E -D_GNU_SOURCE conftest.c
configure:2789:28: ac_nonexistent.h: No such file or directory
configure:2799: $? = 1
configure: failed program was:
#line 2788 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>;
configure:2836: result: gcc -E
configure:2851: gcc -E -D_GNU_SOURCE conftest.c
configure:2857: $? = 0
configure:2884: gcc -E -D_GNU_SOURCE conftest.c
configure:2880:28: ac_nonexistent.h: No such file or directory
configure:2890: $? = 1
configure: failed program was:
#line 2879 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>;
configure:3061: checking allow thread-safe client libraries
configure:3122: result: no
configure:3129: checking whether to build with Tcl
configure:3157: result: no
configure:3193: checking whether to build Perl modules
configure:3221: result: no
configure:3228: checking whether to build Python modules
configure:3256: result: no
configure:3263: checking whether to build with Kerberos 4 support
configure:3298: result: no
configure:3306: checking whether to build with Kerberos 5 support
configure:3341: result: no
configure:3396: checking whether to build with PAM support
configure:3428: result: no
configure:3436: checking whether to build with Rendezvous support
configure:3468: result: no
configure:3476: checking whether to build with OpenSSL support
configure:3508: result: no
configure:3625: using CPPFLAGS=-D_GNU_SOURCE
configure:3627: using LDFLAGS=
configure:3636: checking for gawk
configure:3652: found /usr/bin/gawk
configure:3662: result: gawk
configure:3672: checking for flex
configure:3711: result: /usr/bin/flex
configure:3746: checking whether ln -s works
configure:3750: result: yes
configure:3768: checking for ld used by GCC
configure:3831: result: /usr/i586-suse-linux/bin/ld
configure:3840: checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
configure:3852: result: yes
configure:3953: checking for ranlib
configure:3969: found /usr/bin/ranlib
configure:3980: result: ranlib
configure:3996: checking for lorder
configure:4025: result: no
configure:4034: checking for tar
configure:4052: found /bin/tar
configure:4064: result: /bin/tar
configure:4113: checking for strip
configure:4129: found /usr/bin/strip
configure:4140: result: strip
configure:4153: checking whether it is possible to strip libraries
configure:4158: result: yes
configure:4174: checking for bison
configure:4190: found /usr/bin/bison
configure:4200: result: bison -y
configure:4244: checking for perl
configure:4262: found /usr/bin/perl
configure:4274: result: /usr/bin/perl
configure:4414: checking for main in -lbsd
configure:4441: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lbsd >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lbsd
collect2: ld returned 1 exit status
configure:4444: $? = 1
configure: failed program was:
#line 4421 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4461: result: no
configure:4474: checking for setproctitle in -lutil
configure:4507: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lutil >;&5
/tmp/ccmnSrZJ.o(.text+0xc): In function `main':
: undefined reference to `setproctitle'
collect2: ld returned 1 exit status
configure:4510: $? = 1
configure: failed program was:
#line 4481 "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 setproctitle ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
setproctitle ();
;
return 0;
}
configure:4527: result: no
configure:4539: checking for main in -lm
configure:4566: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lm >;&5
configure:4569: $? = 0
configure:4572: test -s conftest
configure:4575: $? = 0
configure:4586: result: yes
configure:4598: checking for main in -ldl
configure:4625: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ldl -lm >;&5
configure:4628: $? = 0
configure:4631: test -s conftest
configure:4634: $? = 0
configure:4645: result: yes
configure:4657: checking for main in -lnsl
configure:4684: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lnsl -ldl -lm >;&5
configure:4687: $? = 0
configure:4690: test -s conftest
configure:4693: $? = 0
configure:4704: result: yes
configure:4716: checking for main in -lsocket
configure:4743: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lsocket -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
configure:4746: $? = 1
configure: failed program was:
#line 4723 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4763: result: no
configure:4775: checking for main in -lipc
configure:4802: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lipc -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lipc
collect2: ld returned 1 exit status
configure:4805: $? = 1
configure: failed program was:
#line 4782 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4822: result: no
configure:4834: checking for main in -lIPC
configure:4861: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lIPC -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lIPC
collect2: ld returned 1 exit status
configure:4864: $? = 1
configure: failed program was:
#line 4841 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4881: result: no
configure:4893: checking for main in -llc
configure:4920: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -llc -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -llc
collect2: ld returned 1 exit status
configure:4923: $? = 1
configure: failed program was:
#line 4900 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4940: result: no
configure:4952: checking for main in -ldld
configure:4979: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ldld -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure:4982: $? = 1
configure: failed program was:
#line 4959 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:4999: result: no
configure:5011: checking for main in -lld
configure:5038: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lld -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lld
collect2: ld returned 1 exit status
configure:5041: $? = 1
configure: failed program was:
#line 5018 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5058: result: no
configure:5070: checking for main in -lcompat
configure:5097: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lcompat -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure:5100: $? = 1
configure: failed program was:
#line 5077 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5117: result: no
configure:5129: checking for main in -lBSD
configure:5156: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lBSD -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lBSD
collect2: ld returned 1 exit status
configure:5159: $? = 1
configure: failed program was:
#line 5136 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5176: result: no
configure:5188: checking for main in -lgen
configure:5215: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lgen -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lgen
collect2: ld returned 1 exit status
configure:5218: $? = 1
configure: failed program was:
#line 5195 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5235: result: no
configure:5247: checking for main in -lPW
configure:5274: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lPW -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lPW
collect2: ld returned 1 exit status
configure:5277: $? = 1
configure: failed program was:
#line 5254 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5294: result: no
configure:5306: checking for main in -lresolv
configure:5333: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lresolv -lnsl -ldl -lm >;&5
configure:5336: $? = 0
configure:5339: test -s conftest
configure:5342: $? = 0
configure:5353: result: yes
configure:5364: checking for library containing getopt_long
configure:5397: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lresolv -lnsl -ldl -lm >;&5
configure:5400: $? = 0
configure:5403: test -s conftest
configure:5406: $? = 0
configure:5465: result: none required
configure:5474: checking for main in -lunix
configure:5501: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lunix -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lunix
collect2: ld returned 1 exit status
configure:5504: $? = 1
configure: failed program was:
#line 5481 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
configure:5521: result: no
configure:5532: checking for library containing crypt
configure:5565: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lresolv -lnsl -ldl -lm >;&5
/tmp/ccI9yufE.o(.text+0xc): In function `main':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
configure:5568: $? = 1
configure: failed program was:
#line 5539 "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 crypt ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
crypt ();
;
return 0;
}
configure:5611: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lcrypt -lresolv -lnsl -ldl -lm >;&5
configure:5614: $? = 0
configure:5617: test -s conftest
configure:5620: $? = 0
configure:5633: result: -lcrypt
configure:5710: checking for library containing fdatasync
configure:5743: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lcrypt -lresolv -lnsl -ldl -lm >;&5
configure:5746: $? = 0
configure:5749: test -s conftest
configure:5752: $? = 0
configure:5811: result: none required
configure:5820: checking for shmget in -lcygipc
configure:5853: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lcygipc -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lcygipc
collect2: ld returned 1 exit status
configure:5856: $? = 1
configure: failed program was:
#line 5827 "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 shmget ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
shmget ();
;
return 0;
}
configure:5873: result: no
configure:5950: checking for readline
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lreadline -lncurses -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lreadline -lcurses -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ledit -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ledit -ltermcap -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ledit -lncurses -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -ledit -lcurses -lcrypt -lresolv -lnsl -ldl -lm >;&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure:5990: $? = 1
configure: failed program was:
#line 5961 "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 readline ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
readline ();
;
return 0;
}
configure:6033: result: no
configure:6040: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=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_DOCBOOKSTYLE_set=
ac_cv_env_DOCBOOKSTYLE_value=
ac_cv_env_LDFLAGS_SL_set=
ac_cv_env_LDFLAGS_SL_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_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_BSD_main=no
ac_cv_lib_IPC_main=no
ac_cv_lib_PW_main=no
ac_cv_lib_bsd_main=no
ac_cv_lib_compat_main=no
ac_cv_lib_cygipc_shmget=no
ac_cv_lib_dl_main=yes
ac_cv_lib_dld_main=no
ac_cv_lib_gen_main=no
ac_cv_lib_ipc_main=no
ac_cv_lib_lc_main=no
ac_cv_lib_ld_main=no
ac_cv_lib_m_main=yes
ac_cv_lib_nsl_main=yes
ac_cv_lib_resolv_main=yes
ac_cv_lib_socket_main=no
ac_cv_lib_unix_main=no
ac_cv_lib_util_setproctitle=no
ac_cv_objext=o
ac_cv_path_LD=/usr/i586-suse-linux/bin/ld
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_TAR=/bin/tar
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_gnu_ld=yes
ac_cv_search_crypt=-lcrypt
ac_cv_search_fdatasync='none required'
ac_cv_search_getopt_long='none required'
pgac_cv_check_readline=no
pgac_cv_path_flex=/usr/bin/flex
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "8.0.2"
#define PACKAGE_STRING "PostgreSQL 8.0.2"
#define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
#define PG_VERSION "8.0.2"
#define DEF_PGPORT 5432
#define DEF_PGPORT_STR "5432"
#define PG_VERSION_STR "PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.3 (SuSE Linux)"
#define PG_KRB_SRVNAM "postgres"
#define HAVE_LIBM 1
#define HAVE_LIBDL 1
#define HAVE_LIBNSL 1
#define HAVE_LIBRESOLV 1
configure: exit 1 |
| |