Skip to content

Instantly share code, notes, and snippets.

@leonardorb
Created February 10, 2012 16:40
Show Gist options
  • Save leonardorb/1790708 to your computer and use it in GitHub Desktop.
Save leonardorb/1790708 to your computer and use it in GitHub Desktop.
Error: Failed executing: make -C src
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
MacBook-Air-de-Leonardo:~ leonardorb$ brew install redis
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz
File already downloaded in /Users/leonardorb/Library/Caches/Homebrew
==> make -C src
CC ae.o
CC anet.o
MAKE hiredis
CC redis-benchmark.o
i686-apple-darwin11-llvm-gcc-4.2: true: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: true: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: true: No such file or directory
/usr/bin/llvm-gcc -c -O3 -w -pipe -march=core2 -msse4 -arch x86_64 true net.c
i686-apple-darwin11-llvm-gcc-4.2: true: No such file or directory
make[1]: *** [net.o] Error 1
make: *** [dependencies] Error 2
make: *** Waiting for unfinished jobs....
make: *** [anet.o] Error 1
make: *** [ae.o] Error 1
make: *** [redis-benchmark.o] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/redis.rb#L18
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 2eabe2cbc84649696aeb6fa842a70f3794955597
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.2.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
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/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2 -msse4
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4
MAKEFLAGS: -j4
Error: Failed executing: make -C src
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
@leonardorb
Copy link
Author

@zevarito you can check the solution here:
Homebrew/legacy-homebrew#10151

but if u want a shortcut, check in your env files for a DEBUG set equals TRUE.
/usr/bin/llvm-gcc -c -O3 -w -pipe -march=core2 -msse4 -arch x86_64 true net.c

then try to install again.

@zevarito
Copy link

zevarito commented Feb 14, 2012 via email

@leonardorb
Copy link
Author

np ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment