Skip to content

Instantly share code, notes, and snippets.

@film42
Created July 31, 2012 03:26
Show Gist options
  • Save film42/3213250 to your computer and use it in GitHub Desktop.
Save film42/3213250 to your computer and use it in GitHub Desktop.
Valgrind verbose install error
film42@mbp /usr/bin % brew install valgrind -v
==> Downloading http://valgrind.org/downloads/valgrind-3.7.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/valgrind-3.7.0.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/valgrind-3.7.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/valgrind/3.7.0 --mandir=/usr/local/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin
./configure --prefix=/usr/local/Cellar/valgrind/3.7.0 --mandir=/usr/local/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... gcc3
checking whether /usr/bin/clang and cc understand -c and -o together... yes
checking how to run the C preprocessor... /usr/bin/clang -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking dependency style of /usr/bin/clang++... gcc3
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for /usr/bin/clang... no
checking for ar... /usr/bin/ar
checking for perl... /usr/bin/perl
checking for gdb... /usr/bin/gdb
checking dependency style of /usr/bin/clang... gcc3
checking for diff -u... yes
checking for a supported version of gcc... ok (4.0)
checking build system type... x86_64-pc-darwin
checking host system type... x86_64-pc-darwin
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... yes
checking for a 32-bit only build... no
checking for a supported OS... ok (darwin)
checking for the kernel version... unsupported (12.0.0)
configure: error: Valgrind works on Darwin 10.x and 11.x (Mac OS X 10.6/7)
config.log was copied to /Users/film42/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/valgrind.rb#L25
==> Build Environment
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
X11: N/A
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j8
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/valgrind/3.7.0 --mandir=/usr/local/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin (valgrind.rb:25)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/13548
https://github.com/mxcl/homebrew/issues/13609
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
If you report the issue please paste the config.log here:
http://gist.github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment