本文介绍了OSX Lion Homebrew的"brew install mysql -v"问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用home brew在本地安装mysql,并且一直在爆炸.当我运行brew doctor时,我没有任何错误,尝试安装mysql的完整详细输出为 https://gist.github.com/2424859 ,以:

结尾

MAKEFLAGS: -j4
Error: Failed executing: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.20 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.20/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.20/share/doc/mysql -DINSTALL_INFODIR=/usr/local/Cellar/mysql/5.5.20/share/info -DINSTALL_MYSQLSHAREDIR=share/mysql -DWITH_SSL=yes -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DSYSCONFDIR=/usr/local/etc -DWITH_UNIT_TESTS=OFF -DWITH_READLINE=yes (mysql.rb:77)
These existing issues may help you:
    https://github.com/mxcl/homebrew/issues/8063
    https://github.com/mxcl/homebrew/issues/9142
    https://github.com/mxcl/homebrew/issues/11710
    https://github.com/mxcl/homebrew/issues/11754
Otherwise, please report the bug:
    https://github.com/mxcl/homebrew/wiki/reporting-bugs

.我正在运行osx lion,完整的xcode 4.3.2.

对主要问题有什么想法?

解决方案

在自制github问题上发布后:https://github.com/mxcl/homebrew/issues/11762

这是我解决此问题的方法:

cd /usr/local
brew uninstall cmake
git checkout 948c2769 Library/Formula/cmake.rb
brew install mysql

I am working to install mysql locally using home brew and it keeps blowing up. When I run brew doctor I do not get any errors, and the full verbose output of attempting to install mysql is https://gist.github.com/2424859, ending with:

MAKEFLAGS: -j4
Error: Failed executing: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.20 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.20/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.20/share/doc/mysql -DINSTALL_INFODIR=/usr/local/Cellar/mysql/5.5.20/share/info -DINSTALL_MYSQLSHAREDIR=share/mysql -DWITH_SSL=yes -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DSYSCONFDIR=/usr/local/etc -DWITH_UNIT_TESTS=OFF -DWITH_READLINE=yes (mysql.rb:77)
These existing issues may help you:
    https://github.com/mxcl/homebrew/issues/8063
    https://github.com/mxcl/homebrew/issues/9142
    https://github.com/mxcl/homebrew/issues/11710
    https://github.com/mxcl/homebrew/issues/11754
Otherwise, please report the bug:
    https://github.com/mxcl/homebrew/wiki/reporting-bugs

. I am running osx lion, full xcode 4.3.2.

any ideas on what the primary issue is?

解决方案

after posting on the homebrew github issues:https://github.com/mxcl/homebrew/issues/11762

here is how I fixed the issue:

cd /usr/local
brew uninstall cmake
git checkout 948c2769 Library/Formula/cmake.rb
brew install mysql

这篇关于OSX Lion Homebrew的"brew install mysql -v"问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 00:30