Hi,
just a quick note, since I haven't found the following info on this list.
Yesterday, I had problems building Ledger 3 with Homebrew in OS X Lion with the
latest XCode installed. Eventually, the following did the trick (dependencies
were already built):
brew install --use-llvm -v --HEAD ledger
That is, --use--llvm seems mandatory. For details, read this:
https://github.com/mxcl/homebrew/issues/11343
For the sake of completeness, here is the relevant info from brew --config:
CPU: dual-core 64-bit penryn
OS X: 10.7.5-i386
Xcode: 4.5.1
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
The following are the gcc symlinks defined in /usr/bin on my machine:
gcc -> llvm-gcc-4.2
gcc-4.2 -> /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
gcov-4.2 -> ../llvm-gcc-4.2/bin/gcov-4.2
i686-apple-darwin11-llvm-g++-4.2->../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-g+
+-4.2
i686-apple-darwin11-llvm-gcc-4.2->../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gc
c-4.2
llvm-cpp-4.2 -> ../llvm-gcc-4.2/bin/llvm-cpp-4.2
llvm-g++ -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
llvm-g++-4.2 -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
llvm-gcc -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
I vaguely recall that I needed to create one of them manually (gcc-4.2 maybe) to
build some formulas without errors. This may be the case for Ledger, too.
Life