Skip to content

Instantly share code, notes, and snippets.

@neolee
Created August 20, 2012 10:40
Show Gist options
  • Save neolee/3403044 to your computer and use it in GitHub Desktop.
Save neolee/3403044 to your computer and use it in GitHub Desktop.
Homebrew on Mac OS X 10.8: Error building SBCL
Error log:
WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
sb-concurrency
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/sbcl.rb#L78
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: ed127082d8e11debdba4c17fb63ea72e9a14c4ad
CPU: 8-core 64-bit ivybridge
OS X: 10.8-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 in /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MAKEFLAGS: -j8
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
OBJC: /usr/bin/clang
PATH: /Users/neo/.rvm/gems/ruby-1.9.3-p194/bin:/Users/neo/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/neo/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/neo/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/texbin:/opt/X11/bin:/Users/neo/.lein/bin:/Users/neo/Code/Android/SDK/platform-tools:/Users/neo/Code/Android/SDK/tools:/Users/neo/Code/Scheme/Racket/bin:/Users/neo/Code/Go/Home/bin:/Users/neo/Library/Haskell/bin::/Users/neo/.rvm/bin:/usr/local/Library/Contributions/cmds
Error: Failed executing: ./make.sh --prefix=/usr/local/Cellar/sbcl/1.0.58 --xc-host=/private/tmp/homebrew-__UNKNOWN__-1.0.55-4lcn/sbcl-1.0.55-x86-darwin/src/runtime/sbcl\ --core\ /private/tmp/homebrew-__UNKNOWN__-1.0.55-4lcn/sbcl-1.0.55-x86-darwin/output/sbcl.core\ --disable-debugger\ --no-userinit\ --no-sysinit (sbcl.rb:78)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
ln -s ../Cellar/sbcl/1.0.55/bin/sbcl sbcl
ln -s ../../../Cellar/sbcl/1.0.55/share/man/man1/sbcl.1 sbcl.1
ln -s ../../Cellar/sbcl/1.0.55/share/doc/sbcl sbcl
ln -s ../Cellar/sbcl/1.0.55/lib/sbcl sbcl
ln -s ../../Cellar/sbcl/1.0.55 sbcl
Doctor output:
% brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/neo/.rvm/gems/ruby-1.9.3-p194/bin/passenger-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment