Bug #4261

readline compilation error

Added by Yuki Sonoda about 4 years ago. Updated almost 4 years ago.

[ruby-core:34331]
Status:Closed
Priority:Normal
Assignee:Kouji Takao
ruby -v:ruby 1.9.3dev (2011-01-11 trunk 30447) [i386-darwin9.8.0] Backport:

Description

=begin
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
=end

History

#1 Updated by Yuki Sonoda about 4 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30519.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF