readline problem during configure (Red Hat 8) - Mailing list pgsql-ports
From | Thomas Brightbill |
---|---|
Subject | readline problem during configure (Red Hat 8) |
Date | |
Msg-id | Pine.LNX.4.40.0308141907510.28281-100000@bolt.sonic.net Whole thread Raw |
Responses |
Re: readline problem during configure (Red Hat 8)
|
List | pgsql-ports |
Hi, I'm having a problem compiling PostgreSQL on a clean Red Hat 8 box (Intel). The readline-4.3-3 RPM was already installed and I installed readline-devel-4.3-3 and readline41-4.1-14. I tried ./configure ./configure --with-libraries=/usr/lib ./configure --with-libraries=/usr/include I also tried ./configure --without-readline but then it couldn't find zlib! I've pasted a copy of config.log from running ./configure --with-libraries=/usr/lib below. Thanks for your help! Thomas Thomas Brightbill thomas@brightbill.net http://www.brightbill.net 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 7.3.4, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-libraries=/usr/lib ## --------- ## ## Platform. ## ## --------- ## hostname = test.brightbill.net uname -m = i686 uname -r = 2.4.18-14 uname -s = Linux uname -v = #1 Wed Sep 4 12:13:11 EDT 2002 /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: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin PATH: /usr/local/pgsql/bin PATH: /usr/local/pgsql/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1295: checking build system type configure:1313: result: i686-pc-linux-gnu configure:1321: checking host system type configure:1335: result: i686-pc-linux-gnu configure:1345: checking which template to use configure:1444: result: linux configure:1563: checking whether to build with 64-bit integer date/time support configure:1594: result: no configure:1600: checking whether to build with recode support configure:1631: result: no configure:1638: checking whether NLS is wanted configure:1672: result: no configure:1680: checking for default port number configure:1709: result: 5432 configure:1727: checking for default soft limit on number of connections configure:1756: result: 32 configure:1947: checking for gcc configure:1963: found /usr/bin/gcc configure:1973: result: gcc configure:1992: checking for C compiler version configure:1995: gcc --version </dev/null >&5 gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Copyright (C) 2002 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:1998: $? = 0 configure:2000: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix--disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) configure:2003: $? = 0 configure:2005: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2008: $? = 1 configure:2034: checking for C compiler default output configure:2037: gcc conftest.c >&5 configure:2040: $? = 0 configure:2073: result: a.out configure:2078: checking whether the C compiler works configure:2084: ./a.out configure:2087: $? = 0 configure:2102: result: yes configure:2109: checking whether we are cross compiling configure:2111: result: no configure:2114: checking for suffix of executables configure:2116: gcc -o conftest conftest.c >&5 configure:2119: $? = 0 configure:2141: result: configure:2147: checking for suffix of object files configure:2171: gcc -c conftest.c >&5 configure:2174: $? = 0 configure:2193: result: o configure:2197: checking whether we are using the GNU C compiler configure:2224: gcc -c conftest.c >&5 configure:2227: $? = 0 configure:2230: test -s conftest.o configure:2233: $? = 0 configure:2245: result: yes configure:2251: checking whether gcc accepts -g configure:2275: gcc -c -g conftest.c >&5 configure:2278: $? = 0 configure:2281: test -s conftest.o configure:2284: $? = 0 configure:2294: result: yes configure:2321: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:2324: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2443: using CFLAGS=-O2 configure:2447: checking whether the C compiler still works configure:2469: gcc -o conftest -O2 conftest.c >&5 configure:2472: $? = 0 configure:2475: test -s conftest configure:2478: $? = 0 configure:2480: result: yes configure:2516: gcc -c -O2 conftest.c >&5 configure:2519: $? = 0 configure:2522: test -s conftest.o configure:2525: $? = 0 configure:2543: checking how to run the C preprocessor configure:2569: gcc -E conftest.c configure:2575: $? = 0 configure:2602: gcc -E conftest.c configure:2598:28: ac_nonexistent.h: No such file or directory configure:2608: $? = 1 configure: failed program was: #line 2597 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:2645: result: gcc -E configure:2660: gcc -E conftest.c configure:2666: $? = 0 configure:2693: gcc -E conftest.c configure:2689:28: ac_nonexistent.h: No such file or directory configure:2699: $? = 1 configure: failed program was: #line 2688 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:2856: checking whether to build with Tcl configure:2884: result: no configure:2889: checking whether to build with Tk configure:2921: result: no configure:2987: checking whether to build Perl modules configure:3015: result: no configure:3022: checking whether to build Python modules configure:3050: result: no configure:3057: checking whether to build Java/JDBC tools configure:3195: result: no configure:3205: checking whether to build with Kerberos 4 support configure:3252: result: no configure:3263: checking whether to build with Kerberos 5 support configure:3310: result: no configure:3368: checking whether to build with PAM support configure:3400: result: no configure:3553: using CPPFLAGS= configure:3555: using LDFLAGS= -L/usr/lib configure:3563: checking for gawk configure:3579: found /bin/gawk configure:3589: result: gawk configure:3599: checking for flex configure:3638: result: no configure:3655: WARNING: *** Without Flex you will not be able to build PostgreSQL from CVS or *** change any of the scanner definition files. You can obtain Flex from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Flex *** output is pre-generated.) configure:3673: checking whether ln -s works configure:3677: result: yes configure:3695: checking for ld used by GCC configure:3758: result: /usr/bin/ld configure:3767: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.13.90.0.2 20020802 configure:3779: result: yes configure:3880: checking for ranlib configure:3896: found /usr/bin/ranlib configure:3907: result: ranlib configure:3923: checking for lorder configure:3952: result: no configure:3961: checking for tar configure:3979: found /bin/tar configure:3991: result: /bin/tar configure:4040: checking for strip configure:4056: found /usr/bin/strip configure:4067: result: strip configure:4080: checking whether it is possible to strip libraries configure:4085: result: yes configure:4101: checking for bison configure:4130: result: no configure:4145: WARNING: *** Without Bison you will not be able to build PostgreSQL from CVS or *** change any of the parser definition files. You can obtain Bison from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Bison *** output is pre-generated.) To use a different yacc program (possible, *** but not recommended), set the environment variable YACC before running *** 'configure'. configure:4159: checking for perl configure:4177: found /usr/bin/perl configure:4189: result: /usr/bin/perl configure:4330: checking for main in -lbsd configure:4357: gcc -o conftest -O2 -L/usr/lib conftest.c -lbsd >&5 configure:4360: $? = 0 configure:4363: test -s conftest configure:4366: $? = 0 configure:4377: result: yes configure:4390: checking for setproctitle in -lutil configure:4423: gcc -o conftest -O2 -L/usr/lib conftest.c -lutil -lbsd >&5 /tmp/ccaJkDTb.o: In function `main': /tmp/ccaJkDTb.o(.text+0xa): undefined reference to `setproctitle' collect2: ld returned 1 exit status configure:4426: $? = 1 configure: failed program was: #line 4397 "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:4443: result: no configure:4455: checking for main in -lm configure:4482: gcc -o conftest -O2 -L/usr/lib conftest.c -lm -lbsd >&5 configure:4485: $? = 0 configure:4488: test -s conftest configure:4491: $? = 0 configure:4502: result: yes configure:4514: checking for main in -ldl configure:4541: gcc -o conftest -O2 -L/usr/lib conftest.c -ldl -lm -lbsd >&5 configure:4544: $? = 0 configure:4547: test -s conftest configure:4550: $? = 0 configure:4561: result: yes configure:4573: checking for main in -lnsl configure:4600: gcc -o conftest -O2 -L/usr/lib conftest.c -lnsl -ldl -lm -lbsd >&5 configure:4603: $? = 0 configure:4606: test -s conftest configure:4609: $? = 0 configure:4620: result: yes configure:4632: checking for main in -lsocket configure:4659: gcc -o conftest -O2 -L/usr/lib conftest.c -lsocket -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure:4662: $? = 1 configure: failed program was: #line 4639 "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:4679: result: no configure:4691: checking for main in -lipc configure:4718: gcc -o conftest -O2 -L/usr/lib conftest.c -lipc -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lipc collect2: ld returned 1 exit status configure:4721: $? = 1 configure: failed program was: #line 4698 "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:4738: result: no configure:4750: checking for main in -lIPC configure:4777: gcc -o conftest -O2 -L/usr/lib conftest.c -lIPC -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lIPC collect2: ld returned 1 exit status configure:4780: $? = 1 configure: failed program was: #line 4757 "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:4797: result: no configure:4809: checking for main in -llc configure:4836: gcc -o conftest -O2 -L/usr/lib conftest.c -llc -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -llc collect2: ld returned 1 exit status configure:4839: $? = 1 configure: failed program was: #line 4816 "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:4856: result: no configure:4868: checking for main in -ldld configure:4895: gcc -o conftest -O2 -L/usr/lib conftest.c -ldld -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:4898: $? = 1 configure: failed program was: #line 4875 "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:4915: result: no configure:4927: checking for main in -lld configure:4954: gcc -o conftest -O2 -L/usr/lib conftest.c -lld -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lld collect2: ld returned 1 exit status configure:4957: $? = 1 configure: failed program was: #line 4934 "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:4974: result: no configure:4986: checking for main in -lcompat configure:5013: gcc -o conftest -O2 -L/usr/lib conftest.c -lcompat -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lcompat collect2: ld returned 1 exit status configure:5016: $? = 1 configure: failed program was: #line 4993 "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:5033: result: no configure:5045: checking for main in -lBSD configure:5072: gcc -o conftest -O2 -L/usr/lib conftest.c -lBSD -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lBSD collect2: ld returned 1 exit status configure:5075: $? = 1 configure: failed program was: #line 5052 "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:5092: result: no configure:5104: checking for main in -lgen configure:5131: gcc -o conftest -O2 -L/usr/lib conftest.c -lgen -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lgen collect2: ld returned 1 exit status configure:5134: $? = 1 configure: failed program was: #line 5111 "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:5151: result: no configure:5163: checking for main in -lPW configure:5190: gcc -o conftest -O2 -L/usr/lib conftest.c -lPW -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lPW collect2: ld returned 1 exit status configure:5193: $? = 1 configure: failed program was: #line 5170 "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:5210: result: no configure:5222: checking for main in -lresolv configure:5249: gcc -o conftest -O2 -L/usr/lib conftest.c -lresolv -lnsl -ldl -lm -lbsd >&5 configure:5252: $? = 0 configure:5255: test -s conftest configure:5258: $? = 0 configure:5269: result: yes configure:5280: checking for library containing getopt_long configure:5313: gcc -o conftest -O2 -L/usr/lib conftest.c -lresolv -lnsl -ldl -lm -lbsd >&5 configure:5316: $? = 0 configure:5319: test -s conftest configure:5322: $? = 0 configure:5381: result: none required configure:5390: checking for main in -lunix configure:5417: gcc -o conftest -O2 -L/usr/lib conftest.c -lunix -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lunix collect2: ld returned 1 exit status configure:5420: $? = 1 configure: failed program was: #line 5397 "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:5437: result: no configure:5448: checking for library containing crypt configure:5481: gcc -o conftest -O2 -L/usr/lib conftest.c -lresolv -lnsl -ldl -lm -lbsd >&5 /tmp/cc8SVNpF.o: In function `main': /tmp/cc8SVNpF.o(.text+0xa): undefined reference to `crypt' collect2: ld returned 1 exit status configure:5484: $? = 1 configure: failed program was: #line 5455 "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:5527: gcc -o conftest -O2 -L/usr/lib conftest.c -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 configure:5530: $? = 0 configure:5533: test -s conftest configure:5536: $? = 0 configure:5549: result: -lcrypt configure:5558: checking for __inet_ntoa in -lbind configure:5591: gcc -o conftest -O2 -L/usr/lib conftest.c -lbind -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lbind collect2: ld returned 1 exit status configure:5594: $? = 1 configure: failed program was: #line 5565 "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 __inet_ntoa (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { __inet_ntoa (); ; return 0; } configure:5611: result: no configure:5623: checking for library containing fdatasync configure:5656: gcc -o conftest -O2 -L/usr/lib conftest.c -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 configure:5659: $? = 0 configure:5662: test -s conftest configure:5665: $? = 0 configure:5724: result: none required configure:5733: checking for shmget in -lcygipc configure:5766: gcc -o conftest -O2 -L/usr/lib conftest.c -lcygipc -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lcygipc collect2: ld returned 1 exit status configure:5769: $? = 1 configure: failed program was: #line 5740 "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:5786: result: no configure:5800: checking for readline configure:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/lib/libreadline.so: undefined reference to `tgetnum' /usr/lib/libreadline.so: undefined reference to `tgoto' /usr/lib/libreadline.so: undefined reference to `tgetflag' /usr/lib/libreadline.so: undefined reference to `BC' /usr/lib/libreadline.so: undefined reference to `tputs' /usr/lib/libreadline.so: undefined reference to `PC' /usr/lib/libreadline.so: undefined reference to `tgetent' /usr/lib/libreadline.so: undefined reference to `UP' /usr/lib/libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -ledit -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -ledit -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -lreadline -lncurses -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -ledit -lncurses -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -lreadline -lcurses -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5837: gcc -o conftest -O2 -L/usr/lib conftest.c -ledit -lcurses -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 "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:5883: result: no configure:5890: 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_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_bind___inet_ntoa=no ac_cv_lib_bsd_main=yes 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/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_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=no ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "7.3.4" #define PACKAGE_STRING "PostgreSQL 7.3.4" #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" #define PG_VERSION "7.3.4" #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" #define DEF_MAXBACKENDS 32 #define PG_VERSION_STR "PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2 20020903 (Red Hat Linux 8.03.2-7)" #define PG_KRB_SRVNAM "postgres" #define HAVE_LIBBSD 1 #define HAVE_LIBM 1 #define HAVE_LIBDL 1 #define HAVE_LIBNSL 1 #define HAVE_LIBRESOLV 1 configure: exit 1
pgsql-ports by date: