Project

General

Profile

Actions

Bug #4261

closed

readline compilation error

Added by yugui (Yuki Sonoda) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-01-11 trunk 30447) [i386-darwin9.8.0]
Backport:
[ruby-core:34331]

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

Actions #1

Updated by yugui (Yuki Sonoda) about 13 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

Actions

Also available in: Atom PDF

Like0
Like0