Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running 'requirements_osx_brew_libs_install...' on Mac 10.7

Tags:

homebrew

ruby

rvm

Trying to install brew on a last generation Macbook Pro and keep getting the following error:

Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqlite',

please read /Users/allegrascrugham/.rvm/log/ruby-1.9.3-p392/1368142352_package_install_autoconf_automake_libtool_pkg-config_apple-gcc42_libyaml_readline_libxml2_libxslt_libksba_openssl_sqlite.log

I tried removing and reinstalling RVM & Brew with no luck.

like image 852
user1883951 Avatar asked May 10 '13 00:05

user1883951


2 Answers

I had the exact same error when running rvm requirements. That log file doesn't give any hints other than a package failed to install.

This is what worked for me:

go from the last package before it fails, in your case sqlite. Then install manually like so:

brew install sqlite

Then run rvm requirements again, it will probably fail at an earlier package. Repeat the steps above.

like image 160
Nik Avatar answered Oct 02 '22 15:10

Nik


You have to install these dependences manually, try

brew install automake

if it gives you error of missing link of automake something like this

You must `brew link autoconf' before automake can be installed

then try these commands

brew link --overwrite --dry-run autoconf

brew link --overwrite autoconf

brew install automake

it will install automake and then you can try again to install ruby.

like image 29
mfq Avatar answered Oct 02 '22 13:10

mfq