Re:RethinkDB: An open-source distributed database built with...
by statictype on Saturday November 10, 2012 @01:59AM
(#4766139)
Interesting. This has not been my experience at all.
I had to fight for days to get MacPorts to install anything properly. It gives me flashbacks to the horrors from 3-4 years ago of compiling open source software on Linux.
Homebrew has been fuzzy kittens in comparison.
Re:RethinkDB: An open-source distributed database built with...
by benregn on Saturday November 10, 2012 @02:33AM
(#4766185)
I'm a relatively new Mac user and never used MacPorts. When I search brew I get these results:
$ brew search gcc
apple-gcc42 gcc
homebrew/versions/gcc45 homebrew/versions/llvm-gcc28
I'm a bit confused since I thought that these are gcc. Can someone tell me what those results mean? :S
Re:RethinkDB: An open-source distributed database built with...
by mmariani on Saturday November 10, 2012 @05:37AM
(#4766421)
This is the way to go:
$ brew tap homebrew/dupes
$ brew install gcc --enable-all-languages
To use your new gcc-4.7.2 when installing new packages just add '--use-gcc' at the end of the command.
Re:RethinkDB: An open-source distributed database built with...
by tbrock on Saturday November 10, 2012 @12:07AM
(#4765994)
Hahah don't be naive. Use homebrew. Macports has been broken for years.
Re:RethinkDB: An open-source distributed database built with...
by merlincorey on Friday November 09, 2012 @11:47PM
(#4765953)
clang is better than gcc, IMO
Re:RethinkDB: An open-source distributed database built with...
by irahul on Saturday November 10, 2012 @01:54AM
(#4766136)
> clang is better than gcc, IMO
Maybe. Maybe not. But I don't think that's the reason homebrew doesn't have gcc. The OP is pointing out homebrew isn't extensive, and misses some commonly used utilities.
Re:RethinkDB: An open-source distributed database built with...
by hyperbovine on Saturday November 10, 2012 @05:46AM
(#4766432)
clang either does not build or defectively builds certain things on OS X, for instance Ruby 1.9.3. I had to acquire vanilla GCC for this reason the other day, and was relieved to find it in HomeBrew.
Re:RethinkDB: An open-source distributed database built with...
by getsat on Sunday November 11, 2012 @02:47AM
(#4769014)
Old-ass versions of Clang would build Ruby and PostgreSQL (client) binaries which would segfault upon execution. Try grabbing the latest XCode/command line tools package and you should be fine. I've been running Ruby 1.9.3 with Clang for quite a while.
brew install rbenv ruby-build; /* rc file shenanigans */; rbenv install 1.9.3-p327; rbenv global 1.9.3-p327; ruby --version
I am not a Mac user, but a designer using MacBook joined our team last week, and we struggled for half a day with Homebrew. The next day, we installed MacPorts instead, and with just:
$ sudo port install python27 py27-virtualenv gcc46
we were able to proceed and get the whole stack up and running. Not to mention everything from MacPorts is installed nicely under /opt/local.
MacPorts is just way ahead of Homebrew. OTOH, Portage is way ahead of MacPorts ;)