Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group