Skip to content

Instantly share code, notes, and snippets.

@sandover
Created March 21, 2012 19:59
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 sandover/2152143 to your computer and use it in GitHub Desktop.
Save sandover/2152143 to your computer and use it in GitHub Desktop.
error installing leiningen with homebrew
# brew update: done
# brew doctor
~ > sudo chown -R $USER /usr/local
~ > sudo chown -R $USER /usr/local/.git
~ > sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
~ > brew update
Already up-to-date.
~ > brew doctor
Error: class "Qt48" expected but not found in qt-4-8.rb
Double-check the name of the class in that formula.
Error: Formula qt-4-8 will not import.
Your system is raring to brew.
~ > brew install -v leiningen
==> Downloading http://github.com/technomancy/leiningen/tarball/1.7.0
Already downloaded: /Users/sandover/Library/Caches/Homebrew/leiningen-1.7.0.tgz
/usr/bin/tar xf /Users/sandover/Library/Caches/Homebrew/leiningen-1.7.0.tgz
==> /usr/local/Cellar/leiningen/1.7.0/bin/lein self-install
/usr/local/Cellar/leiningen/1.7.0/bin/lein self-install
The self-install jar already exists at /Users/sandover/.lein/self-installs/leiningen-1.7.0-standalone.jar.
If you wish to re-download, delete it and rerun "/usr/local/Cellar/leiningen/1.7.0/bin/lein self-install".
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/leiningen.rb#L12
==> Build Environment
CPU: quad-core 64-bit arrandale
MacOS: 10.7.3-x86_64
Xcode: 4.3.1
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
MAKEFLAGS: -j4
Error: Failed executing: /usr/local/Cellar/leiningen/1.7.0/bin/lein self-install (leiningen.rb:12)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment