mxcl/homebrew — Issue #10517: Can't install plowshare
Author: caiguo37
Created: 2012-02-27 05:39:51+00:00
State: open

>>brew install plowshare
==> Installing plowshare dependency: recode
==> Downloading http://recode.progiciels-bpi.ca/archives/recode-3.6.tar.gz
File already downloaded in /Users/caiguo/Library/Caches/Homebrew
==> Patching
patching file lib/Makefile.in
patching file src/libiconv.c
==> ./configure --disable-debug --without-included-gettext --infodir=/usr/local/
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking how to suppress newlines using echo... escape
checking for gcc... /usr/local/bin/gcc-4.2
checking whether the C compiler (/usr/local/bin/gcc-4.2 -Os -w -pipe -march=core2 -msse4 -L/usr/local/Cellar/gettext/0.18.1.1/lib) works... yes
checking whether the C compiler (/usr/local/bin/gcc-4.2 -Os -w -pipe -march=core2 -msse4 -L/usr/local/Cellar/gettext/0.18.1.1/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/local/bin/gcc-4.2 accepts -g... yes
checking how to run the C preprocessor... /usr/local/bin/gcc-4.2 -E
checking for AIX... no
checking for minix/config.h... no
checking host system type... configure: error: can not guess host type; you must specify one
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/recode.rb#L22
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 16b0bbaa615ed216108d528a31d17e0ec22bc0e1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3
GCC-4.0: N/A
GCC-4.2: N/A
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: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/local/bin/gcc-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2
CXX: /usr/local/bin/g++-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2
LD: /usr/local/bin/gcc-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j4
HOMEBREW_USE_GCC: 1

Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --without-included-gettext --infodir=/usr/local/Cellar/recode/3.6/share/info --prefix=/usr/local/Cellar/recode/3.6 --mandir=/usr/local/Cellar/recode/3.6/share/man
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/10508
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log