Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 13D20475DD7 for ; Thu, 5 Dec 2002 21:43:39 -0500 (EST) Received: from little.gearcc.com (offback-ip05.wmis.net [216.109.193.78]) by postgresql.org (Postfix) with ESMTP id 1CD584767FC for ; Thu, 5 Dec 2002 21:16:50 -0500 (EST) Received: from offback2000 (wkst74.gearcc.com [216.109.193.74]) by little.gearcc.com (Postfix on SuSE Linux 7.2 (i386)) with SMTP id 5B0A718B22; Thu, 5 Dec 2002 21:33:03 -0500 (EST) Message-ID: <00bf01c29ccd$e6be38d0$4ac16dd8@offback2000> From: "Phil Geer" To: "David Busby" , References: <025b01c29cbd$023169e0$4000000a@busbydev> Subject: Re: Error while compiling 7.3 Date: Thu, 5 Dec 2002 21:19:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/6 X-Sequence-Number: 1681 I'm running the SuSE 8.0 Distro of Linux and got this same error I had to install another package from the distro called readline-devel. It includes all the header files and the libraries used by the linker to include the readline library into other programs. Not sure that's your problem but its a place to start.. Good Luck Phil ----- Original Message ----- From: "David Busby" To: Sent: Thursday, December 05, 2002 7:18 PM Subject: [PHP] Error while compiling 7.3 > List, > I'm getting a compile error, perhaps someone could help. > My ./configure cannot find readline, but I NEED that feature. > > The output in config.log about readline is below. What is going on? (I'm > kindof a noob and don't know how to figure out this one) > > Thanks!! > > Config.log > > configure:5786: result: no > configure:5800: checking for readline > configure:5837: gcc -o conftest -O2 > conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd > >&5 > /usr/local/lib/libreadline.so: undefined reference to `tgetnum' > /usr/local/lib/libreadline.so: undefined reference to `tgoto' > /usr/local/lib/libreadline.so: undefined reference to `tgetflag' > /usr/local/lib/libreadline.so: undefined reference to `BC' > /usr/local/lib/libreadline.so: undefined reference to `tputs' > /usr/local/lib/libreadline.so: undefined reference to `PC' > /usr/local/lib/libreadline.so: undefined reference to `tgetent' > /usr/local/lib/libreadline.so: undefined reference to `UP' > /usr/local/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; > } > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >