Topic: There has been an error while running make

Hello guys,
I have successfully installed rvm in order to be able to use different versions of Ruby but when I try to install a version (any version)

rvm install 1.8.7

I get

Installing Ruby from source to: /Users/s/.rvm/rubies/ruby-1.8.7-p249
/Users/s/.rvm/src/ruby-1.8.7-p249 has already been extracted.

Configuring ruby-1.8.7-p249, this may take a while depending on your cpu(s)...
Compiling ruby-1.8.7-p249, this may take a while, depending on your cpu(s)...

Error running 'make ', please check /Users/s/.rvm/log/ruby-1.8.7-p249/make*.log
There has been an error while running make. Aborting the installation.

Here make.error.log

[2010-04-19 18:42:44] make 
readline.c: In function ‘filename_completion_proc_call’:
readline.c:703: error: ‘filename_completion_function’ undeclared (first use in this function)
readline.c:703: error: (Each undeclared identifier is reported only once
readline.c:703: error: for each function it appears in.)
readline.c:703: warning: assignment makes pointer from integer without a cast
readline.c: In function ‘username_completion_proc_call’:
readline.c:730: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:730: warning: assignment makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1

And make.log

[2010-04-19 18:42:44] make 
gcc -g -O2 -pipe -fno-common    -DRUBY_EXPORT  -L.    main.o dmydln.o libruby-static.a -ldl -lobjc   -o miniruby
rbconfig.rb unchanged
compiling Win32API
make[1]: Nothing to be done for `all'.
compiling bigdecimal
make[1]: Nothing to be done for `all'.
compiling curses
make[1]: Nothing to be done for `all'.
compiling dbm
make[1]: Nothing to be done for `all'.
compiling digest
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/i686-darwin9.8.0
compiling digest/bubblebabble
make[1]: Nothing to be done for `all'.
compiling digest/md5
make[1]: Nothing to be done for `all'.
compiling digest/rmd160
make[1]: Nothing to be done for `all'.
compiling digest/sha1
make[1]: Nothing to be done for `all'.
compiling digest/sha2
make[1]: Nothing to be done for `all'.
compiling dl
cp dlconfig.h ../../.ext/i686-darwin9.8.0
cp ../.././ext/dl/dl.h ../../.ext/i686-darwin9.8.0
compiling etc
make[1]: Nothing to be done for `all'.
compiling fcntl
make[1]: Nothing to be done for `all'.
compiling gdbm
make[1]: Nothing to be done for `all'.
compiling iconv
make[1]: Nothing to be done for `all'.
compiling io/wait
make[1]: Nothing to be done for `all'.
compiling nkf
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
compiling openssl
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
compiling pty
make[1]: Nothing to be done for `all'.
compiling racc/cparse
make[1]: Nothing to be done for `all'.
compiling readline
gcc -I. -I../.. -I../../. -I../.././ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -g -O2 -pipe -fno-common   -c readline.c

Does anyone have an idea of what is going on?  How can I fix this issue?

Thanks and have a nice day

Re: There has been an error while running make

Thanks to rvm google group I fixed it.
if anyone is interested on the issue was related to readline.

http://rvm.beginrescueend.com/packages/readline/