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 OSX Lion (or much info about it at all) seems to be a dead end.
If you are using homebrew, try
brew install automake
Which should also install autoconf
and allow rvm
to finish installing.
If you want to do this using macports instead of homebrew, you can do:
sudo port install automake autoconf libtool
I had the same problem and this solved it for me.
If you're using brew
, then autoreconf
utility is part of autoconf
package, so install it via:
brew install autoconf
If the problem persist, consider either reinstall
or link
it again. Use locate autoreconf
to find out where it is, also check if /usr/local/bin/autoreconf
exists (and linked into the right place) and you've /usr/local/bin
path added in your /etc/paths
file.
Little old post but still want to answer so that it'll help others.
By downloading the .pkg file from MacPort
and installing it done the trick for me.
I was trying to install autoconf by:
sudo port install automake autoconf libtool.
I could not install that.
Finally this worked for me.
I solved my autoreconf problem adding the path to my shell:
sudo pico /etc/paths
then I added the line
/sw/bin
where I found the autoreconf
and autoconf files and saved everything.
Since then I can use autoreconf without any problems.
I had a similar problem, but because homebrew moved away from the Cellar directory, but for some reasons binaries of this package were still there. I reinstalled autoconf with the following command and autoreconf is in the right PATH now: brew reinstall autoconf