From: Joseph Pecoraro Date: 2008-01-28T11:11:22+09:00 Subject: I Get A Ruby Trunk Make Error On Readline I have had difficulties with a number of programs since I installed Ruby version 1.9 so I decided to rebuild completely from the svn trunk. In case it is relevant I am running Mac OS X Leopard 10.5.1. Here are the steps I followed: 1) Checkout from trunk using: $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby 2) Go into the new ruby directory and create the configure file $ cd ruby $ autoconf 3) Run the configure script $ ./configure 4) Now the next step is make and I always get the following error: $ make ... compiling readline gcc -I. -I../../.ext/include/i686-darwin9.1.0 -I../.././include -I../.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -g -O2 -pipe -fno-common -o readline.o -c readline.c readline.c: In function ‘filename_completion_proc_call’: readline.c:658: error: ‘filename_completion_function’ undeclared (first use in this function) readline.c:658: error: (Each undeclared identifier is reported only once readline.c:658: error: for each function it appears in.) readline.c:658: warning: assignment makes pointer from integer without a cast readline.c: In function ‘username_completion_proc_call’: readline.c:683: error: ‘username_completion_function’ undeclared (first use in this function) readline.c:683: warning: assignment makes pointer from integer without a cast make[1]: *** [readline.o] Error 1 make: *** [all] Error 1 5) I can't seem to get around this error. I checked where all the occurrence of "filename_completion_function" are in the repository (using ack which is a lot like grep) and they are only in readline files: $ ack filename_completion_function ext/readline/extconf.rb 45:have_func("rl_filename_completion_function") ext/readline/readline.c 37:# define rl_filename_completion_function filename_completion_function 658: rl_filename_completion_function); Please, please, please help me out or point me in the right direction to getting this resolved. -- Posted via http://www.ruby-forum.com/.