bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] rl_bind_key does not work on Mac OSX


From: Chet Ramey
Subject: Re: [Bug-readline] rl_bind_key does not work on Mac OSX
Date: Mon, 10 Nov 2014 08:15:27 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 11/9/14, 9:45 PM, Ryo Tomidokoro wrote:
> Hi, Chet
> 
> Thank you for your reply.
> 
> I tried following, and still rl_bind_key does not work.
> 
> 1. Remove existing readline (editline) header files from /usr/include. 
> 
> 2. Change complie option as below
> gcc -I/usr/local/Cellar/readline/6.3.6/include -lreadline sample.c
> 
> 3. Check include order with gcc -v option

OK.  You might consider taking my suggestion and using the -L option to
tell the linker in which directory homebrew installed the readline library.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]