Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Broken mirrors for gmp4 #23542

Closed
benbuckman opened this issue Oct 24, 2013 · 7 comments
Closed

Broken mirrors for gmp4 #23542

benbuckman opened this issue Oct 24, 2013 · 7 comments

Comments

@benbuckman
Copy link

Trying to install gcc46, which requires gmp4, I got this:

==> Installing gcc46 dependency: gmp4
==> Downloading ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2
curl: (28) connect() timed out!
Trying a mirror...
==> Downloading ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2
curl: (7) couldn't connect to host
Error: Download failed: ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2

I found a working mirror here:
http://gnu.mirrors.hoobly.com/gnu/gmp/gmp-4.3.2.tar.bz2

I replaced the mirror in /usr/local/Library/Formula/gmp4.rb with that URL, and brew install gmp4 worked.

Perhaps update the official mirror list accordingly?

Also, it would be nice if there was a simpler way to add a mirror URL for installing a particular package. It took a while to figure out where that /Formula/ file lived.

@manphiz
Copy link
Contributor

manphiz commented Oct 24, 2013

Cannot reproduce here. Maybe transient issue of your network. I suggest retry later and see.

@MikeMcQuaid
Copy link
Member

Please report homebrew-versions issues to their issue tracker.

@xiuyetang
Copy link

it is a real Issue .

@REngstrom
Copy link

I am having this issue right now. Also tried earlier this afternoon and got the same.

brew install gcc47 --use-llvm
Warning: "--use-llvm" is deprecated and will be removed in a future version.
Please use "--cc=llvm-gcc" instead.
==> Installing dependencies for gcc47: gmp4, mpfr2, libmpc08, ppl011, cloog-ppl015
==> Installing gcc47 dependency: gmp4
==> Downloading ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gmp4-4.3.2.tar.bz2
==> Patching
patching file gmp-h.in
Hunk #1 succeeded at 46 with fuzz 2.
==> ./configure --prefix=/usr/local/Cellar/gmp4/4.3.2 --enable-cxx --build=x86_64-apple-darwin
checking whether we are using the GNU C++ compiler... no
checking whether llvm-g++ accepts -g... no
checking C++ compiler llvm-g++ -O2 -pedantic -m64 -mtune=k8... no
checking C++ compiler llvm-g++ ... no
configure: error: C++ compiler not available, see config.log for details

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-versions/issues

These open issues may also help:
Broken mirrors for gmp4 (#23542)
Add gmp4 formula (#7051)

Read and tried both, also ran brew update and brew doctor - there are no missing links...

Thanks
Ryan

@MikeMcQuaid
Copy link
Member

Why are you using --with-llvm?

@REngstrom
Copy link

Following the instructions I have to install Metasploit, I am a network admin and lately we've been having problems with one of our web servers so I want to be able to see how they are getting in so I can plug those holes. Here is the site I am getting the instructions from - http://www.darkoperator.com/installing-metasploit-framewor/
Thanks for the help...

@REngstrom
Copy link

leaving off the --use-llvm it seems to be working.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants