Skip to content

Instantly share code, notes, and snippets.

@ivar
Created September 20, 2012 23:12
Show Gist options
  • Save ivar/3758898 to your computer and use it in GitHub Desktop.
Save ivar/3758898 to your computer and use it in GitHub Desktop.
➜ ~ brew doctor
Your system is raring to brew.
➜ ~ cc --version
Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
➜ ~ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ brew tap homebrew/versions
Cloning into '/usr/local/Library/Taps/homebrew-versions'...
remote: Counting objects: 442, done.
remote: Compressing objects: 100% (218/218), done.
remote: Total 442 (delta 270), reused 393 (delta 224)
Receiving objects: 100% (442/442), 88.40 KiB, done.
Resolving deltas: 100% (270/270), done.
Tapped 45 formula
➜ ~ brew install mysql51
==> Installing mysql51 dependency: readline
==> Downloading http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz
######################################################################## 100.0%
==> Patching
patching file callback.c
patching file input.c
patching file patchlevel
patching file support/shobj-conf
patching file vi_mode.c
==> ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/info --enable-multiby
==> make install
==> Caveats
This formula is keg-only: so it was not symlinked into /usr/local.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
/usr/local/Cellar/readline/6.2.4: 30 files, 1.6M, built in 15 seconds
==> Installing mysql51
==> Downloading http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.63.tar.gz
######################################################################## 100.0%
==> Patching
patching file scripts/mysqld_safe.sh
Hunk #1 succeeded at 384 (offset 1 line).
patching file scripts/mysql_config.sh
Hunk #1 succeeded at 133 (offset 1 line).
Error: private method `gsub' called for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/Library/Formula/mysql51.rb:33:in `install'
/usr/local/Library/Homebrew/build.rb:132:in `install'
/usr/local/Library/Homebrew/formula.rb:225:in `brew'
/usr/local/Library/Homebrew/formula.rb:583:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:579:in `stage'
/usr/local/Library/Homebrew/formula.rb:220:in `brew'
/usr/local/Library/Homebrew/build.rb:112:in `install'
/usr/local/Library/Homebrew/build.rb:42:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/mysql51.rb:100
➜ ~ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install mysql51
==> Downloading http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.63.tar.gz
Already downloaded: /Library/Caches/Homebrew/mysql51-5.1.63.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/mysql51-5.1.63.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file scripts/mysqld_safe.sh
Hunk #1 succeeded at 384 (offset 1 line).
patching file scripts/mysql_config.sh
Hunk #1 succeeded at 133 (offset 1 line).
Error: private method `gsub' called for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/Library/Formula/mysql51.rb:33:in `install'
/usr/local/Library/Homebrew/build.rb:132:in `install'
/usr/local/Library/Homebrew/formula.rb:225:in `brew'
/usr/local/Library/Homebrew/formula.rb:583:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:579:in `stage'
/usr/local/Library/Homebrew/formula.rb:220:in `brew'
/usr/local/Library/Homebrew/build.rb:112:in `install'
/usr/local/Library/Homebrew/build.rb:42:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/mysql51.rb:100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment