On Dec 7, 2003, at 21:06, Tom Lane wrote:
> configure looks for libedit too; that case allegedly works on some BSD
> variants. Do you have a complete installation of libedit (headers as
> well as library)? If so, let's see the full trace of configure probing
> for this feature ...
I am running a standard Mac OS X Panther with developer tools and the
10.3.1 update.
% ls -l /usr/include/*edit*
-r--r--r-- 1 root wheel 5802 13 Sep 02:23 /usr/include/histedit.h
% head -1 /usr/include/histedit.h
/* $NetBSD: histedit.h,v 1.19 2002/03/18 16:00:54 christos Exp $
*/
% ls -l /usr/lib/*edit*
-rwxr-xr-x 1 root wheel 85680 24 Sep 08:46 /usr/lib/libedit.2.dylib
lrwxr-xr-x 1 root wheel 15 6 Oct 16:35 /usr/lib/libedit.dylib ->
libedit.2.dylib
% PATH=$PATH:/usr/local/apache-ant-1.5.4/bin ./configure \
--prefix=/usr/local/postgresql \
--with-java --with-rendezvous
[..output removed..]
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.
I have not included the huge config.log, but it can be viewed at this
URL:
http://www.pvv.ntnu.no/~halset/tmp/20031207-config.log
It tries to link with readline, doesnt find that and tries once more
with libedit. ld report that _readline are undefined. /
- Tore.