Bug #4261: readline compilation error
http://redmine.ruby-lang.org/issues/show/4261

Author: Yuki Sonoda
Status: Assigned, Priority: Normal
Assigned to: Kouji Takao, Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-01-11 trunk 30447) [i386-darwin9.8.0] 

r30496 causes compilation error of ext/readline on MacOS X 10.5.

It seems because libedit does not have neither RL_PROMPT_START_IGNORE nor RL_PROMPT_END_IGNORE.

 compiling ../../../../ext/readline/readline.c
 ../../../../ext/readline/readline.c: In function ???insert_ignore_escape???:
 ../../../../ext/readline/readline.c:166: error: ???RL_PROMPT_START_IGNORE??? undeclared (first use in this function)
 ../../../../ext/readline/readline.c:166: error: (Each undeclared identifier is reported only once
 ../../../../ext/readline/readline.c:166: error: for each function it appears in.)
 ../../../../ext/readline/readline.c:166: error: ???RL_PROMPT_END_IGNORE??? undeclared (first use in this function)
 ../../../../ext/readline/readline.c: In function ???Init_readline???:
 ../../../../ext/readline/readline.c:1557: warning: assignment from incompatible pointer type
 make[1]: *** [readline.o] Error 1


----------------------------------------
http://redmine.ruby-lang.org