Isaiah
Isaiah

Reputation: 617

Can not brew install gcc48 on Mac

Who have already successfully used homebrew to install the latest GCC 4.8.1 on Mac OS X(10.8.4)? I am always stuck when it runs to "make bootstrap".

$brew install gcc48
==> Downloading ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.8.1/gcc-4.8.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc48-4.8.1.tar.bz2
==> ../configure --build=x86_64-apple-darwin12.4.1 --prefix=/usr/local/Cellar/gc
==> make bootstrap

Upvotes: 45

Views: 19054

Answers (4)

Jakob Ryden
Jakob Ryden

Reputation: 347

I found this page searching google, and while I know compiling can take a long time, gcc48 on a Core2Duo 2010 Macbook Air really drags it out: /usr/local/Cellar/gcc48/4.8.2: 1028 files, 142M, built in 79.5 minutes

just hang in there!

Upvotes: 1

Tyler Pfaff
Tyler Pfaff

Reputation: 5032

Just to give more evidence of the long build time,

/usr/local/Cellar/gcc48/4.8.2: 1028 files, 142M, built in 36.6 minutes

Upvotes: 1

jmartos89
jmartos89

Reputation: 158

I managed to install it but the process has been slow, about 70 minutes:

/ usr/local/Cellar/gcc48/4.8.2: 1028 files, 142M, built in 73.8 minutes

Is this normal?

Upvotes: 1

Caspar
Caspar

Reputation: 1186

I've just done precisely this install. Be patient – that step does take a long time and is very CPU intensive. On my (admittedly old) Macbook Pro it took over 30 minutes to complete. I suggest you try running it again and just leaving it until it's done.

Upvotes: 70

Related Questions