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

Re: libedit on OS X?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tore Halset <halset(at)pvv(dot)ntnu(dot)no>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: libedit on OS X?
Date: 2003-12-07 21:07:49
Message-ID: 200312072107.hB7L7nE25892@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Also, I am thinking we might just ship libedit with PostgreSQL in 7.5
and get rid of the readline dependency.

---------------------------------------------------------------------------

Tore Halset wrote:
> 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.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2003-12-08 03:02:25
Subject: Re: libedit on OS X?
Previous:From: Tore HalsetDate: 2003-12-07 20:50:36
Subject: Re: libedit on OS X?

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