[MacRuby-devel] [ruby] #54: build on Leopard fails on readline
ruby
ruby-noreply at macosforge.org
Wed May 7 22:40:08 PDT 2008
#54: build on Leopard fails on readline
---------------------------------+------------------------------------------
Reporter: edarocket at gmail.com | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: readline
---------------------------------+------------------------------------------
I am running Leopard 10.5.2. I have readline5.2 installed in /usr/local
with patch #12 added to allow for Darwin9.
I configured MacRuby0.1 with the following command:
./configure --enable-framework --enable-fat-binary --program-prefix=mac
--prefix=/usr/local --with-readline-dir=/usr/local
I get the following error during make:
compiling readline
gcc -I. -I../../.ext/include/universal-darwin9.0 -I..//.././include
-I..//.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\"
-I/usr/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g
-O2 -I/usr/include/libxml2 -g -O2 -arch ppc -arch i386 -fno-common -pipe
-fno-common -arch ppc -arch i386 -o readline.o -c readline.c
readline.c: In function ‘filename_completion_proc_call’:
readline.c:669: error: ‘filename_completion_function’ undeclared (first
use in this function)
readline.c:669: error: (Each undeclared identifier is reported only once
readline.c:669: error: for each function it appears in.)
readline.c:669: warning: assignment makes pointer from integer without a
cast
readline.c: In function ‘username_completion_proc_call’:
readline.c:694: error: ‘username_completion_function’ undeclared (first
use in this function)
readline.c:694: warning: assignment makes pointer from integer without a
cast
readline.c: In function ‘filename_completion_proc_call’:
readline.c:669: error: ‘filename_completion_function’ undeclared (first
use in this function)
readline.c:669: error: (Each undeclared identifier is reported only once
readline.c:669: error: for each function it appears in.)
readline.c:669: warning: assignment makes pointer from integer without a
cast
readline.c: In function ‘username_completion_proc_call’:
readline.c:694: error: ‘username_completion_function’ undeclared (first
use in this function)
readline.c:694: warning: assignment makes pointer from integer without a
cast
lipo: can't open input file:
/var/folders/qi/qiRsmsrKFyGifWoVhWoCz++++TM/-Tmp-//ccyYzZ4h.out (No such
file or directory)
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1
This is similar to Ticket #5, which was closed with a "wontfix" status. I
tried this on several machines with a similar /usr/local set-up, several
build attempts, and several Google searches. I'm running out of ideas.
Thanks,
RyanR>
--
Ticket URL: <http://ruby.macosforge.org/trac/ticket/54>
ruby <http://ruby.macosforge.org/>
More information about the MacRuby-devel
mailing list