Skip to content

Instantly share code, notes, and snippets.

@regcl
Created November 20, 2012 13:29
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 regcl/4117937 to your computer and use it in GitHub Desktop.
Save regcl/4117937 to your computer and use it in GitHub Desktop.
nu failed to build on 10.8.2
hobo:~/tule $ brew install nu
Warning: Your Xcode (4.5) is outdated
Please install Xcode 4.5.2.
==> Downloading http://programming.nu/releases/Nu-2.0.1.tgz
Already downloaded: /Library/Caches/Homebrew/nu-2.0.1.tgz
==> make
==> ./mininush tools/nuke
nuke: cp 'nu/nibtools.nu' 'Nu.framework/Versions/A/Resources/nibtools.nu'
nuke: cp 'nu/template.nu' 'Nu.framework/Versions/A/Resources/template.nu'
nuke: mkdir 'Nu.framework/Versions/A/Headers'
nuke: ()/usr/bin/clang -Wall -g -std=gnu99 -fPIC -g -O2 -DMACOSX -DHAVE_CONFIG_H -fobjc-exceptions -fobjc-gc -arch x86_64 -I/usr/include -I./include -I./include/Nu -I/usr/include/ffi -c -o build/x86_64/Nu.o objc/Nu.m
nuke: terminating on command error (return code 2)
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
hobo:~/tule $ brew update
Already up-to-date.
hobo:~/tule $ brew --config && brew doctor
HOMEBREW_VERSION: 0.9.3
HEAD: be10a49527703fd5f3099165e03908b6eeaf9def
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit arrandale
OS X: 10.8.2-x86_64
Xcode: 4.5 =>
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.7.4 => /opt/X11
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
Warning: Your Xcode (4.5) is outdated
Please install Xcode 4.5.2.
hobo:~/tule $ sudo xcode-select -switch /
Password:
hobo:~/tule $ brew install nu
Warning: Your Xcode (4.5) is outdated
Please install Xcode 4.5.2.
==> Downloading http://programming.nu/releases/Nu-2.0.1.tgz
Already downloaded: /Library/Caches/Homebrew/nu-2.0.1.tgz
==> make
==> ./mininush tools/nuke
==> ./mininush tools/nuke install
==> Caveats
Nu.framework was installed to:
/usr/local/Cellar/nu/2.0.1/Library/Frameworks/Nu.framework
You may want to symlink this Framework to a standard OS X location,
such as:
ln -s "/usr/local/Cellar/nu/2.0.1/Library/Frameworks/Nu.framework" /Library/Frameworks
==> Summary
/usr/local/Cellar/nu/2.0.1: 116 files, 1.9M, built in 19 seconds
hobo:~/tule $ brew doctor
Warning: Your Xcode (4.5) is outdated
Please install Xcode 4.5.2.
Warning: Your xcode-select path is set to /
You must unset it or builds will hang:
sudo rm /usr/share/xcode-select/xcode_dir_*
hobo:~/tule $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment