Skip to content

Loading…

Can't install Homebrew on latest Macbook air #20883

Closed
nathanieloffer opened this Issue · 5 comments

3 participants

@nathanieloffer

I ran $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

Nathaniels-MacBook-Air:~ nathanieloffer$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort
==> Downloading and Installing Homebrew...
Warning: Install the "Command Line Tools for Xcode": http://connect.apple.com
==> Installation successful!
You should run `brew doctor' before you install anything.
Now type: brew help
Nathaniels-MacBook-Air:~ nathanieloffer$ brew doctor
Warning: Experimental support for using Xcode without the "Command Line Tools".
You have only installed Xcode. If stuff is not building, try installing the
"Command Line Tools for Xcode" package provided by Apple.
You must: brew install git

Warning: An outdated version of Git was detected in your PATH.
Git 1.7.10 or newer is required to perform checkouts over HTTPS from GitHub.
Please upgrade: brew upgrade git
You must: brew install git

Warning: No developer tools installed
You should install the Command Line Tools: http://connect.apple.com
Nathaniels-MacBook-Air:~ nathanieloffer$ brew install git
Warning: No developer tools installed
You should install the Command Line Tools: http://connect.apple.com
==> Downloading http://git-core.googlecode.com/files/git-1.8.3.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-1.8.3.1.tar.gz
==> make prefix=/usr/local/Cellar/git/1.8.3.1 CC=cc CFLAGS=-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 LDFLAGS=-L/usr/local/lib install
Failed to execute: make
Error: Homebrew doesn't know what compiler versions ship with your version
of Xcode (dunno). Please brew update and if that doesn't help, file
an issue with the output of brew --config:
https://github.com/mxcl/homebrew/issues

Thanks!

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

These open issues may also help:
#18300
#20260
#17713
#19552
#18666
#19763
Nathaniels-MacBook-Air:~ nathanieloffer$

This is the final command

Nathaniels-MacBook-Air:~ nathanieloffer$ brew --config
HOMEBREW_VERSION: 0.9.4
You must: brew install git
ORIGIN: (none)
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit dunno
OS X: 10.8.4-x86_64
LLVM-GCC: N/A
Clang: N/A
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Any assistance with correcting these errors will be most appreciated

@adamv

Do you have Xcode installed?

@nathanieloffer

I don't believe so. I unless it is installed as part of Homebrew I know I haven't installed it myself

@adamv

You'll need Xcode to be able to compile anything (such as git).

@nathanieloffer

Okay I'm installing xcode now seems like overkill installing a full ide just to enable compiling but if that's what it takes

@mikemcquaid
Homebrew member

The other option is the Apple Command Line Development Tools (or CLT for short).

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.