OSX Lion Homebrew “brew install mysql -v” problems

2019-09-02 16:02发布

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条回答
Juvenile、少年°
2楼-- · 2019-09-02 16:37

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
查看更多
登录 后发表回答