On Thu, Nov 13, 2014 at 12:12 AM, Paul Adams <pdadams@lbl.gov> wrote:
This suggests that you don't have an appropriate compiler installed or in your path:

> sh: g++-4.2: command not found

You probably need to install XCode to allow for compilation.

Actually, I got the same error not too long ago - the problem was that the compiler configuration was unaware of OS 10.10 and defaulted to using g++ (which is no longer present in the latest Xcode) instead of clang.  This has since been fixed, but probably not in the 2014.22 Rosetta release.  I'll send a patch off-list.

-Nat