mxcl/homebrew — Issue #9722: x264 fails with yasm 1.2.0
Author: adamv
Created: 2012-01-22 18:40:39+00:00
State: open

````
==> Installing ushare dependency: x264
==> Downloading http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120111-2245.tar.bz2
/usr/bin/curl -qf#LA Homebrew 0.8.1 (Ruby 1.8.7-249; Mac OS X 10.6.8) http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120111-2245.tar.bz2 -o /Users/adamv/Library/Caches/Homebrew/x264-r2245.tar.bz2
######################################################################## 100.0%
/usr/bin/tar xf /Users/adamv/Library/Caches/Homebrew/x264-r2245.tar.bz2
==> ./configure --prefix=/Users/adamv/homebrew/Cellar/x264/r2245 --enable-shared
./configure --prefix=/Users/adamv/homebrew/Cellar/x264/r2245 --enable-shared
Found no assembler
Minimum version is yasm-1.0.0
If you really want to compile without asm, configure with --disable-asm.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/x264.rb#L24
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: fb21d3e088d0762c9b831d56a1cd1c99e4e28b77
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /Users/adamv/homebrew/Cellar
Hardware: dual-core 64-bit core2
OS X: 10.6.8
Kernel Architecture: i386
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
Clang: 1.7 build 77
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2
CXXFLAGS: -O3 -w -pipe -march=core2
MAKEFLAGS: -j2

Error: Failed executing: ./configure --prefix=/Users/adamv/homebrew/Cellar/x264/r2245 --enable-shared
If `brew doctor' does not help diagnose the issue, 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
[~/homebrew] (master)⚡
$ brew info yasm
yasm 1.2.0
http://www.tortall.net/projects/yasm/
/Users/adamv/homebrew/Cellar/yasm/1.2.0 (43 files, 3.7M)
http://github.com/mxcl/homebrew/commits/master/Library/Formula/yasm.rb
[~/homebrew] (master)⚡
$ brew list yasm
/Users/adamv/homebrew/Cellar/yasm/1.2.0/bin/ytasm
/Users/adamv/homebrew/Cellar/yasm/1.2.0/bin/yasm
/Users/adamv/homebrew/Cellar/yasm/1.2.0/bin/vsyasm
/Users/adamv/homebrew/Cellar/yasm/1.2.0/include/libyasm/ (27 files)
/Users/adamv/homebrew/Cellar/yasm/1.2.0/include/ (2 files)
/Users/adamv/homebrew/Cellar/yasm/1.2.0/lib/libyasm.a
/Users/adamv/homebrew/Cellar/yasm/1.2.0/share/man/ (5 files)
[~/homebrew] (master)⚡
$
````