Start with a brew doctor who will show you the errors with setting up brew.
You may see something like this: "Warning: / usr / local / lib / pkgconfig is not writable."
This will give you advice: "You should probably chown / usr / local / lib / pkgconfig."
This means: sudo chown {your-user-name} /usr/local/lib/pkgconfig
Then you will need to link the files to this: brew link libyaml
If this does not work, then the output of brew doctor will give you enough to continue your search.
Rick Mar 26 '13 at 2:25 2013-03-26 02:25
source share