OSX Lion Homebrew “brew install mysql -v” problems

Deadly 提交于 2019-12-25 09:08:23

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/10238393/osx-lion-homebrew-brew-install-mysql-v-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!