mxcl/homebrew — Issue #9244: tesseract install fails to find leptonica, which was installed as a dependency
Author: zellyn
Created: 2011-12-23 05:23:34+00:00
State: open

https://gist.github.com/1513238

Supplemental stuff:

$ brew install leptonica
# No output: it's already installed
$ 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.

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.