Re: BUG #2674: libedit not detected

From: Bob Friesenhahn <bfriesen(at)simple(dot)dallas(dot)tx(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2674: libedit not detected
Date: 2006-10-04 21:37:30
Message-ID: Pine.SOC.4.60.0610041631240.909@blade.simplesystems.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 4 Oct 2006, Tom Lane wrote:

> Bob Friesenhahn <bfriesen(at)simple(dot)dallas(dot)tx(dot)us> writes:
>> Actually, it does. The current version of libedit
>> (http://www.thrysoee.dk/editline/) does not provide a history.h
>> header.
>
> Well, that was a pretty silly decision on their part ... are they just
> trying to tick off people who are supporting both readline and libedit?

Probably so.

>> The reason why I used this approach is that Apple's OS X
>> provides a version of libedit which does not include the readline
>> emulation
>
> Really? Apple's version works just fine for me.

I am using the "Panther" version of OS X and there there is only a
/usr/include/histedit.h there are no readline-related headers supplied
with the OS and the emulation function does not exist in
/usr/lib/libedit.dylib:

% nm /usr/lib/libedit.dylib |grep ' T '
88e94d04 T _el_beep
88e943dc T _el_deletestr
88e946f8 T _el_end
88e94a38 T _el_get
88e97780 T _el_getc
88e97884 T _el_gets
88e945ec T _el_init
88e94330 T _el_insertstr
88e94b3c T _el_line
88e96e20 T _el_parse
88e975bc T _el_push
88e94780 T _el_reset
88e94c88 T _el_resize
88e947b4 T _el_set
88e94b44 T _el_source
88e9e858 T _history
88e9e058 T _history_end
88e9df9c T _history_init
88e9eca0 T _tok_end
88e9ebb8 T _tok_init
88e9ece8 T _tok_line
88e9ec80 T _tok_reset

Bob
======================================
Bob Friesenhahn
bfriesen(at)simple(dot)dallas(dot)tx(dot)us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-10-04 22:34:12 Re: BUG #2674: libedit not detected
Previous Message Tom Lane 2006-10-04 21:29:58 Re: BUG #2674: libedit not detected