Skip to content

Instantly share code, notes, and snippets.

@andrewhavens
Created March 12, 2012 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewhavens/2023640 to your computer and use it in GitHub Desktop.
Save andrewhavens/2023640 to your computer and use it in GitHub Desktop.
error installing redis with homebrew
$ brew install -v redis
==> Downloading http://redis.googlecode.com/files/redis-2.4.8.tar.gz
File already downloaded in /Users/andrew/Library/Caches/Homebrew
/usr/bin/tar xf /Users/andrew/Library/Caches/Homebrew/redis-2.4.8.tar.gz
==> make -C src
make -C src
MAKE hiredis
CC ae.o
CC anet.o
CC redis-benchmark.o
CC sds.o
CC adlist.o
CC zmalloc.o
CC redis-cli.o
/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: can't fork a new process to execute: /usr/bin/../libexec/gcc/darwin/x86_64/as (Resource temporarily unavailable)
/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: can't fork a new process to execute: /usr/bin/../libexec/gcc/darwin/x86_64/as (Resource temporarily unavailable)
/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: can't fork a new process to execute: /usr/bin/../libexec/gcc/darwin/x86_64/as (Resource temporarily unavailable)
/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: /usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: can't fork a new process to execute: /usr/bin/../libexec/gcc/darwin/x86_64/ascan't fork a new process to execute: /usr/bin/../libexec/gcc/darwin/x86_64/as (Resource temporarily unavailable)
(Resource temporarily unavailable)
sh: fork: Resource temporarily unavailable
/usr/bin/llvm-gcc -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=core2 -msse4 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
make: *** [anet.o] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/llvm-gcc -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=core2 -msse4 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
make: *** [adlist.o] Error 2
make: *** [ae.o] Error 2
make: *** [sds.o] Error 2
make: *** [redis-benchmark.o] Error 2
/usr/bin/llvm-gcc -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=core2 -msse4 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
/usr/bin/llvm-gcc -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=core2 -msse4 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
MAKE linenoise
/usr/bin/llvm-gcc -c -Wall -W -Os -g linenoise.c
/usr/bin/llvm-gcc -c -Wall -W -Os -g example.c
/usr/bin/llvm-gcc -Wall -W -Os -g -o linenoise_example linenoise.o example.o
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/redis.rb#L18
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: cb0979d7de6f273d8a49f2d6741a10925708f42e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-core 64-bit nehalem
OS X: 10.6.8
Kernel Architecture: i386
Xcode: 4.0.2
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.0 build 139
MacPorts or Fink? false
X11: /usr/X11
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: /Users/andrew/.rvm/rubies/ruby-1.9.3-p0/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: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
MAKEFLAGS: -j8
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment