From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Serge To: sisyphus@altlinux.ru Date: Mon, 23 Dec 2002 15:32:13 +0300 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_NJwB+l+elW/ojQS" Message-Id: <200212231532.13625.sergeyssv@mail.ru> Subject: [sisyphus] postgresql Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: --Boundary-00=_NJwB+l+elW/ojQS Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Пытаюсь собрать новый postgres-7.3-alt2 checking for readline... no configure: 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. ошибка: Неверный код возврата из /var/tmp/rpm-tmp.54923 (%build) Ошибки сборки пакетов: Неверный код возврата из /var/tmp/rpm-tmp.54923 (%build) [serge@lin01 SPECS]$ rpm -qa | grep readline libreadline-devel-4.3-alt3 libtclreadline-devel-2.1.0-alt1 libreadline-4.3-alt3 tclreadline-2.1.0-alt1 libreadline-devel-static-4.3-alt3 libtclreadline-2.1.0-alt1 Что бы это значило? postgres из MASTER пересобирается нормально. config.log приложен. Regards, Serge. --Boundary-00=_NJwB+l+elW/ojQS Content-Type: text/x-log; charset="koi8-r"; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="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 7.3, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure i586-alt-linux --prefix=/usr --mandir=/usr/share/man --docdir=/usr/share/doc --includedir=/usr/include/pgsql --sysconfdir=/etc/pgsql --datadir=/usr/share/pgsql --localstatedir=/var/lib --enable-hba --enable-recode --enable-nls --with-pam --with-openssl --with-CXX --with-perl --with-x --with-tcl --with-tclconfig=/usr/lib --with-tk --with-tkconfig=/usr/lib --with-readline --with-python --disable-rpath ## --------- ## ## Platform. ## ## --------- ## hostname = lin01.com2t.com uname -m = i686 uname -r = 2.4.18-alt8-up uname -s = Linux uname -v = #1 Thu Aug 22 20:57:21 MSD 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: /home/serge/bin PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1295: checking build system type configure:1313: result: i586-alt-linux-gnu configure:1321: checking host system type configure:1335: result: i586-alt-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: yes configure:1638: checking whether NLS is wanted configure:1672: result: yes 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:1905: checking for i586-alt-linux-gcc configure:1921: found /usr/bin/i586-alt-linux-gcc configure:1931: result: i586-alt-linux-gcc configure:1992: checking for C compiler version configure:1995: i586-alt-linux-gcc --version &5 2.96 configure:1998: $? = 0 configure:2000: i586-alt-linux-gcc -v &5 Reading specs from /usr/lib/gcc-lib/i586-alt-linux/2.96/specs gcc version 2.96 20000731 (ALT Linux, build 2.96-ipl15mdk) configure:2003: $? = 0 configure:2005: i586-alt-linux-gcc -V &5 i586-alt-linux-gcc: argument to `-V' is missing configure:2008: $? = 1 configure:2034: checking for C compiler default output configure:2037: i586-alt-linux-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: i586-alt-linux-gcc -o conftest conftest.c >&5 configure:2119: $? = 0 configure:2141: result: configure:2147: checking for suffix of object files configure:2171: i586-alt-linux-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: i586-alt-linux-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 i586-alt-linux-gcc accepts -g configure:2275: i586-alt-linux-gcc -c -g conftest.c >&5 configure:2278: $? = 0 configure:2281: test -s conftest.o configure:2284: $? = 0 configure:2294: result: yes configure:2321: i586-alt-linux-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: i586-alt-linux-gcc -o conftest -O2 conftest.c >&5 configure:2472: $? = 0 configure:2475: test -s conftest configure:2478: $? = 0 configure:2480: result: yes configure:2516: i586-alt-linux-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: i586-alt-linux-gcc -E conftest.c configure:2575: $? = 0 configure:2602: i586-alt-linux-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 configure:2645: result: i586-alt-linux-gcc -E configure:2660: i586-alt-linux-gcc -E conftest.c configure:2666: $? = 0 configure:2693: i586-alt-linux-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 configure:2856: checking whether to build with Tcl configure:2884: result: yes configure:2889: checking whether to build with Tk configure:2921: result: yes configure:2987: checking whether to build Perl modules configure:3015: result: yes configure:3022: checking whether to build Python modules configure:3050: result: yes 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: yes configure:3435: result: building with OpenSSL support configure:3553: using CPPFLAGS= configure:3555: using LDFLAGS= configure:3563: checking for gawk configure:3579: found /bin/gawk configure:3589: result: gawk configure:3599: checking for flex configure:3638: result: /usr/bin/flex 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.12.90.0.4 20020408 configure:3779: result: yes configure:3842: checking for i586-alt-linux-ranlib configure:3871: result: no 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:4002: checking for i586-alt-linux-strip configure:4031: result: no 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:4117: found /usr/bin/bison configure:4127: result: bison -y configure:4159: checking for perl configure:4177: found /usr/bin/perl configure:4189: result: /usr/bin/perl configure:4198: checking for Perl archlibexp configure:4201: result: /usr/lib/perl5/i386-linux configure:4203: checking for Perl privlibexp configure:4206: result: /usr/lib/perl5 configure:4208: checking for Perl useshrplib configure:4211: result: true configure:4214: checking for flags to link embedded Perl configure:4219: result: -L/usr/local/lib /usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil configure:4226: checking for python configure:4244: found /usr/bin/python configure:4256: result: /usr/bin/python configure:4270: checking Python installation directories configure:4288: result: /usr/lib/python2.2 configure:4296: checking how to link an embedded Python application configure:4316: result: -L/usr/lib/python2.2/config -ldl -lpthread -lutil -lm -lpython2.2 configure:4330: checking for main in -lbsd configure:4357: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 conftest.c -lutil -lbsd >&5 /home/serge/tmp/ccoAqExi.o: In function `main': /home/serge/tmp/ccoAqExi.o(.text+0x6): 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 conftest.c -lresolv -lnsl -ldl -lm -lbsd >&5 /home/serge/tmp/ccPIbRRI.o: In function `main': /home/serge/tmp/ccPIbRRI.o(.text+0x6): 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../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: i586-alt-linux-gcc -o conftest -O2 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: i586-alt-linux-gcc -o conftest -O2 conftest.c -lreadline -ltinfo -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 /usr/bin/ld: cannot find -ltinfo 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: i586-alt-linux-gcc -o conftest -O2 conftest.c -ledit -ltinfo -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=i586-alt-linux-gnu ac_cv_build_alias=i586-alt-linux 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=set ac_cv_env_build_alias_value=i586-alt-linux ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i586-alt-linux ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i586-alt-linux ac_cv_exeext= ac_cv_host=i586-alt-linux-gnu ac_cv_host_alias=i586-alt-linux 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_PYTHON=/usr/bin/python ac_cv_path_TAR=/bin/tar ac_cv_prog_AWK=gawk ac_cv_prog_CC=i586-alt-linux-gcc ac_cv_prog_CPP=$'i586-alt-linux-gcc -E' ac_cv_prog_YACC=$'bison -y' 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 "7.3" #define PACKAGE_STRING "PostgreSQL 7.3" #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" #define PG_VERSION "7.3" #define CYR_RECODE 1 #define ENABLE_NLS 1 #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" #define DEF_MAXBACKENDS 32 #define PG_VERSION_STR "PostgreSQL 7.3 on i586-alt-linux-gnu, compiled by GCC 2.96" #define PG_KRB_SRVNAM "postgres" #define USE_PAM 1 #define USE_SSL 1 #define HAVE_LIBBSD 1 #define HAVE_LIBM 1 #define HAVE_LIBDL 1 #define HAVE_LIBNSL 1 #define HAVE_LIBRESOLV 1 configure: exit 1 --Boundary-00=_NJwB+l+elW/ojQS--