readline/libedit selection

From: Kris Jurka <books(at)ejurka(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: readline/libedit selection
Date: 2004-12-02 05:17:44
Message-ID: Pine.BSO.4.56.0412020004150.17806@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


This recent change to readline/libedit selection isn't quite right.

http://archives.postgresql.org/pgsql-committers/2004-11/msg00330.php

It doesn't link in libtermcap with libedit which leads to:

checking for readline.h... no
configure: error: readline header not found
If you have libedit 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 libedit support.

And in config.log:

configure:5987: gcc -o conftest -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -fno-strict-aliasing conftest.c -ledit -lcrypt -lresolv
-lcompat -lm -lutil >&5
/usr/lib/libedit.so: undefined reference to `tgetnum'
/usr/lib/libedit.so: undefined reference to `tgoto'
/usr/lib/libedit.so: undefined reference to `tgetflag'
/usr/lib/libedit.so: undefined reference to `tputs'
/usr/lib/libedit.so: undefined reference to `tgetent'
/usr/lib/libedit.so: undefined reference to `tgetstr'

This is on x86 NetBSD 1.6.

Kris Jurka

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-12-02 05:33:20 Re: nodeAgg perf tweak
Previous Message Neil Conway 2004-12-02 04:55:43 Re: lwlocks and starvation