Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
OSX Lion自制啤酒“;brew安装mysql-v“;问题_Mysql_Ruby On Rails_Macos_Installation_Homebrew - Fatal编程技术网

OSX Lion自制啤酒“;brew安装mysql-v“;问题

OSX Lion自制啤酒“;brew安装mysql-v“;问题,mysql,ruby-on-rails,macos,installation,homebrew,Mysql,Ruby On Rails,Macos,Installation,Homebrew,我正在使用自制软件在本地安装mysql,但它一直在爆炸。当我运行brew doctor时,我没有收到任何错误,并且尝试安装mysql的完整详细输出是,以: 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/Cella

我正在使用自制软件在本地安装mysql,但它一直在爆炸。当我运行brew doctor时,我没有收到任何错误,并且尝试安装mysql的完整详细输出是,以:

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

你看过相关的问题了吗?还是按照你第一个要点中的建议去做?仅供参考,最好在你的实际问题中至少发布一些信息。是的,在过去的一个小时里,我一直在研究这个问题并尝试一些东西。仍然是rails的障碍:(通过brew doctor进行的黑客攻击现已全部修复,除了:警告:您对自制核心进行了未提交的修改。除非您知道自己在做什么,否则您应该运行:cd/usr/local&&git reset--hardyes。不起作用,不断返回相同的消息。现在,我正在试图找出如何摆脱它。继续前进,继续前进是吗?@DaveNewton我终于能够解决brew医生的问题了:关于mysql的这条线索,有什么建议吗?