Re: libedit on OS X? - Mailing list pgsql-ports

From Tore Halset
Subject Re: libedit on OS X?
Date
Msg-id 020FC63A-28F7-11D8-A5F9-000A95CD827E@pvv.ntnu.no
Whole thread Raw
In response to Re: libedit on OS X?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: libedit on OS X?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: libedit on OS X?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
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.


pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: geometry check failes on OS X with 7.4
Next
From: Bruce Momjian
Date:
Subject: Re: libedit on OS X?