user2334434
user2334434

Reputation: 91

homebrew install hangs on mac

I can't figure this one out when I try to install rvm it just hangs (on mac 10.8.5):

Installing required packages: libksba....

Doing a cntrl+c i can see in the log:

current path: /Users/markewest/.rvm/src/rvm
command(2): requirements_osx_brew_libs_install libksba
Error: No such keg: /usr/local/Cellar/libksba
==> Installing dependencies for libksba: libgpg-error
==> Installing libksba dependency: libgpg-error
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2

I have tried manually installing "libgpg-error" and it doesn't seem to help. Any ideas?

Edit: Tried the below suggestion but it gets stuck. Nothing ever download, it shows below (after letting it sit for 1 hour):

==> Installing dependencies for libksba: libgpg-error
==> Installing libksba dependency: libgpg-error
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2

Upvotes: 5

Views: 22844

Answers (1)

user2334434
user2334434

Reputation: 91

Got this to work by downloading the files from a mirror and dropping them into the Homebrew Cache. More here: Homebrew Tips N' Tricks

After that I was able to run brew install on both files libksba, libgpg-error and they installed fine.

Upvotes: 2

Related Questions