Skip to content

Instantly share code, notes, and snippets.

@albertz
Created April 5, 2011 11:24
Show Gist options
  • Save albertz/903436 to your computer and use it in GitHub Desktop.
Save albertz/903436 to your computer and use it in GitHub Desktop.
brew pil-1.1.7.tar.gz fails
%brew install -v pil
==> Downloading http://effbot.org/downloads/Imaging-1.1.7.tar.gz
File already downloaded and cached to /Users/az/Library/Caches/Homebrew
/usr/bin/tar xf /Users/az/Library/Caches/Homebrew/pil-1.1.7.tar.gz
==> python setup.py build_ext
python setup.py build_ext
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
creating build
creating build/temp.macosx-10.6-universal-2.6
creating build/temp.macosx-10.6-universal-2.6/libImaging
/usr/bin/cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -Os -w -pipe -arch i386 -arch ppc -arch x86_64 -pipe -DHAVE_LIBJPEG -DHAVE_LIBZ -I/System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/Frameworks/Tk.framework/Headers -I/usr/X11/include/freetype2 -IlibImaging -I/usr/X11/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include -I/usr/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _imaging.c -o build/temp.macosx-10.6-universal-2.6/_imaging.o
llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2': execvp: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/N3/N3BdX-6pEUCoORwmOdC4N++++TI/-Tmp-//ccKb2Ob1.out
error: command '/usr/bin/cc' failed with exit status 255
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pil.rb#L31
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 694a11ae9f3c7b8243c1097e613ca544f1dd5c81
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe
CXXFLAGS: -Os -w -pipe
MAKEFLAGS: -j2
Error: Failed executing: python setup.py build_ext
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment