Install autoreconf on OS X v10.7 (Lion)?

Brian picture Brian · Mar 6, 2012 · Viewed 97.7k times · Source

I'm attempting to re-install Ruby 1.9.3 with a patch that will allow me to use ruby-debug.

When following the instructions and running

rvm reinstall 1.9.3 --patch debug --force-autoconf

It runs through and after applying the patch spits out:

rvm requires autoreconf to install the selected ruby interpreter however autoreconf was not found in the PATH.

Unfortunately, googling around for how to install autoreconf on OS X v10.7 (Lion) (or much information about it at all) seems to be a dead end.

Answer

foz picture foz · Mar 20, 2012

If you are using Homebrew, try

brew install automake

Which should also install autoconf and allow rvm to finish installing.