mxcl/homebrew — Issue #8947: LLVM 3.0 Fails to Install - Related to OCAML???
Author: gresrun
Created: 2011-12-03 02:22:08+00:00
State: open

* Brew is up-to-date
* Mac OS 10.7.2
* Xcode 4.2 Build 4D199
* https://gist.github.com/1425763

```
llvm[3]: Installing Release /usr/local/Cellar/llvm/3.0/lib/ocaml/llvm.mli
make[3]: *** No rule to make target `/private/tmp/homebrew-llvm-3.0-igeO/llvm-3.0.src/bindings/ocaml/llvm/Release/META.llvm', needed by `install-meta'. Stop.
make[3]: *** Waiting for unfinished jobs....
llvm[3]: Installing Release /usr/local/Cellar/llvm/3.0/lib/ocaml/llvm.cmxa
llvm[3]: Installing Release /usr/local/Cellar/llvm/3.0/lib/ocaml/llvm.a
llvm[3]: Installing Release /usr/local/Cellar/llvm/3.0/lib/ocaml/llvm.cmx
make[2]: *** [install] Error 1
make[1]: *** [ocaml/.makeinstall] Error 2
make: *** [install] Error 1
==> Exit Status: 2
```

```
$ brew doctor
We couldn't detect gcc 4.2.x. Some formulae require this compiler.
NOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.

/Library/Frameworks/Mono.framework detected

This can be picked up by Cmake's build system and likely cause the
build to fail, finding improper header files for libpng for instance.
```

```
$ brew info ocaml
objective-caml 3.12.1
http://caml.inria.fr/ocaml/index.en.html
/usr/local/Cellar/objective-caml/3.12.1 (1055 files, 176M)
http://github.com/mxcl/homebrew/commits/master/Library/Formula/objective-caml.rb
```