mxcl/homebrew — Issue #10502: qt 4.8.0 doesn't build due to "undefined method `realpath'"
Author: rotzbouw
Created: 2012-02-26 12:34:26+00:00
State: open

link to gist:
https://gist.github.com/1916501

brew doctor:
$ brew doctor
==> /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

Consider editing your .bashrc to put /usr/local/bin
ahead of /usr/bin in your PATH.

i tried with modified .bashrc, didn't help the qt building process although brew doctor was fine with it then. tried wiping everything in /usr/local besides /texlive.