The following bug has been logged online:
Bug reference: 2674
Logged by: Bob Friesenhahn
Email address: bfriesen@simple.dallas.tx.us
PostgreSQL version: 8.1.4
Operating system: Apple OS X
Description: libedit not detected
Details:
After carefully removing all traces of GNU readline from the system,
libedit-20060829-2.9 was installed to /usr/local.
Configure was executed like:
LDFLAGS=-L/usr/local/lib ./configure '--prefix=/opt/foo/postgresql'
'--with-openssl' '--enable-thread-safety' '--with-pam' '--with-python'
'--enable-integer-datetimes'
The configure run terminates with:
checking editline/readline.h usability... yes
checking editline/readline.h presence... yes
checking for editline/readline.h... yes
checking editline/history.h usability... no
checking editline/history.h presence... no
checking for editline/history.h... no
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
configure: error: history 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.
The libedit package does not provide a history.h header file.
It is valuable for PostgreSQL to support libedit since it is BSD licensed
while GNU readline is GPL licensed.