Skip to content

Instantly share code, notes, and snippets.

@AllanD
Created August 10, 2011 22:37
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 AllanD/1138470 to your computer and use it in GitHub Desktop.
Save AllanD/1138470 to your computer and use it in GitHub Desktop.
~/Downloads  chmod +x brew && ./brew
Installing Homebrew. Press enter to continue.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...
Press enter to continue
==> /usr/bin/sudo /bin/mkdir /usr/local
==> /usr/bin/sudo /bin/chmod o+w /usr/local
==> Downloading and Installing Homebrew...
==> /usr/bin/sudo /bin/chmod o-w /usr/local
Warning: Now install Xcode: http://developer.apple.com/technologies/xcode.html
==> Installation successful!
Now type: brew help
==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.6.tar.bz2
######################################################################## 100.0%
==> make prefix=/usr/local/Cellar/git/1.7.6 install
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/git.rb#L37
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit sandybridge
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode:
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j8
Error: Failed executing: make prefix=/usr/local/Cellar/git/1.7.6 install
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/3101
https://github.com/mxcl/homebrew/issues/#issue/5105
https://github.com/mxcl/homebrew/issues/#issue/5607
https://github.com/mxcl/homebrew/issues/#issue/5692
https://github.com/mxcl/homebrew/issues/#issue/5739
https://github.com/mxcl/homebrew/issues/#issue/5889
https://github.com/mxcl/homebrew/issues/#issue/6087
https://github.com/mxcl/homebrew/issues/#issue/6096
https://github.com/mxcl/homebrew/issues/#issue/6103
https://github.com/mxcl/homebrew/issues/#issue/6257
https://github.com/mxcl/homebrew/issues/#issue/6503
https://github.com/mxcl/homebrew/issues/#issue/6820
https://github.com/mxcl/homebrew/issues/#issue/6832
https://github.com/mxcl/homebrew/issues/#issue/6856
https://github.com/mxcl/homebrew/issues/#issue/6906
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
~/Downloads 
@AllanD
Copy link
Author

AllanD commented Aug 10, 2011

After doing this, the git command is not found anymore.

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