Bug #902

1.9.1 preview 1 does not build on mac OSX 10.5.5

Added by erik scheirer about 3 years ago. Updated 10 months ago.

[ruby-core:20615]
Status:Rejected Start date:12/18/2008
Priority:Low Due date:12/24/2008
Assignee:Kouji Takao % Done:

0%

Category:ext
Target version:1.9.1 Release Candidate
ruby -v:

Description

I downloaded the tarball from uby-lang.org, untarred and ran ./configure, which succeeded.

I am of the opinion that things should  'work out of the box' on each platform, with just ./configure, make, and sudo make install required to build and install.

Running make reveals problems with readline.c :

gcc -I. -I../../.ext/include/i386-darwin9.5.0 -I../.././include -I../.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\"  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common  -O2 -g -Wall -Wno-parentheses -pipe -fno-common  -o readline.o -c readline.c
readline.c: In function ‘filename_completion_proc_call’:
readline.c:1131: warning: implicit declaration of function ‘completion_matches’
readline.c:1132: error: ‘filename_completion_function’ undeclared (first use in this function)
readline.c:1132: error: (Each undeclared identifier is reported only once
readline.c:1132: error: for each function it appears in.)
readline.c:1132: warning: assignment makes pointer from integer without a cast
readline.c: In function ‘username_completion_proc_call’:
readline.c:1157: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:1157: warning: assignment makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
make: *** [exts] Error 1

History

Updated by Yuki Sonoda about 3 years ago

  • Category set to ext
  • Assignee set to Kouji Takao
  • Target version set to 1.9.1 Release Candidate

Updated by Yuki Sonoda about 3 years ago

  • Due date set to 12/24/2008
  • Priority changed from Normal to High

Updated by Kouji Takao about 3 years ago

  • Status changed from Open to Assigned
I am working.

Updated by Kouji Takao about 3 years ago

Hi erik scheirer.

I tried to check the reported problem. But I did not reproduce it.
Please report your environment and more information for this problem.

My environment:

OS: Mac OSX 10.5.5

Mac ID: MacBook3,1

Xcode: 
  Version: 3.1.1
  Xcode IDE: 1115.0
  Xcode Core: 1114.0
  ToolSupport: 1102.0

readline:
  /usr/include/readline/readline.h -> ../editline/readline.h
  /usr/include/editline/readline.h
  /*      $NetBSD: readline.h,v 1.18 2006/08/21 12:45:30 christos Exp $   */
  ... snip ...
  char            *filename_completion_function(const char *, int);
  char            *username_completion_function(const char *, int);

Thanks, Kouji.

Updated by Yuki Sonoda about 3 years ago

  • Priority changed from High to Low

Updated by Yuki Sonoda about 3 years ago

  • Status changed from Assigned to Rejected
can't reproduce.

Also available in: Atom PDF