mxcl/homebrew — Issue #10423: Tesseract won't install with Xcode 4.3 due to missing aclocal
Author: thedjinn
Created: 2012-02-23 10:20:16+00:00
State: open

After upgrading to Xcode 4.3 I cannot install Tesseract anymore. It complains about `aclocal` not being found, probably due to the removal of autoconf. Installing the autoconf formula from homebrew-alt didn't solve it for me.

Here is the exact output I am getting:

~~~
==> Downloading http://tesseract-ocr.googlecode.com/files/tesseract-3.01.tar.gz
File already downloaded in /Users/djinn/Library/Caches/Homebrew
==> /bin/sh autogen.sh
Running aclocal
autogen.sh: line 45: aclocal: command not found

Something went wrong, bailing out!

==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/tesseract.rb#L111
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 51d054c9a9616f0c5bba5955561b7486fc5cf139
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/djinn/.rvm/rubies/ruby-1.9.3-p0-falcon/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
MAKEFLAGS: -j2
~~~