pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Busby <busby@pnts.com>
To: pgsql-php@postgresql.org
Subject: Error while compiling 7.3
Date: Thu, 5 Dec 2002 16:18:31 -0800
Message-ID: <025b01c29cbd$023169e0$4000000a@busbydev> (raw)

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 <snip>

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;
}




view thread (2+ messages)  latest in thread

Message-ID: <025b01c29cbd$023169e0$4000000a@busbydev>
Permalink:  ../025b01c29cbd$023169e0$4000000a@busbydev/
Also on:    postgresql.org/message-id/025b01c29cbd$023169e0$4000000a@busbydev

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: busby@pnts.com
  Subject: Re: Error while compiling 7.3
  In-Reply-To: <025b01c29cbd$023169e0$4000000a@busbydev>
  References: <025b01c29cbd$023169e0$4000000a@busbydev>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox