Re: libedit on OS X?

From: Tore Halset <halset(at)pvv(dot)ntnu(dot)no>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: libedit on OS X?
Date: 2003-12-07 20:50:36
Message-ID: 020FC63A-28F7-11D8-A5F9-000A95CD827E@pvv.ntnu.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2003-12-07 21:07:49 Re: libedit on OS X?
Previous Message Tom Lane 2003-12-07 20:07:06 Re: geometry check failes on OS X with 7.4