wayneeseguin/rvm — Issue #642: 1.9.3/p0/debug.diff
Author: jrochkind
Created: 2011-12-15 20:35:53+00:00
State: open

I noticed that rvm source has a patch in it that appears to be intended maybe to make ruby-debug19 work with 1.9.3?

https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p0/debug.diff

So I tried installing with this patch, but it did not work.

$ rvm install 1.9.3-p0 --patch ~/.rvm/patches/ruby/1.9.3/p0/debug.diff
...
ERROR: Error running 'make ', please read /home/rochkind/.rvm/log/ruby-1.9.3-p0/make.log
ERROR: There has been an error while running make. Halting the installation.

$ tail /home/rochkind/.rvm/log/ruby-1.9.3-p0/autoreconf.log
configure.in:429: warning: underquoted definition of RUBY_TRY_CFLAGS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:444: warning: underquoted definition of RUBY_TRY_LDFLAGS
configure.in:1751: warning: underquoted definition of RUBY_STACK_GROW_DIRECTION
configure.in:6: error: Autoconf version 2.60 or higher is required
configure.in:6: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63

Since `RUBY_TRY_CLFAGS` is in the line that debug.diff eliminates, this seems related to the patch. Also, I can install 1.9.3-p0 without the patch, no problem.

Any advice? It seems to be complaining about my version of Autoconf; why would my version of Autoconf be enough without that patch, but not with the one-line patch? Or without the patch, does rvm not actually compile from source, somehow?

I am running RHEL5, which is kind of an old distro at this point, but it's sufficient to install 1.9.3 without the patch. Any idea what's going on, any hope for me?

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)