brew安装gcc错误

时间:2014-12-27 22:08:30

标签: mysql gcc homebrew

我尝试使用自制软件安装mysql,但是当我运行brew install mysql时,它说:

The Homebrew GCC was not installed.
You must:
brew install gcc

这是我运行brew install gcc时得到的结果

==> Installing dependencies for gcc: gmp, mpfr, libmpc, pkg-config, isl, 
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.lion.bottle.tar.gz
sh: -L: invalid option
Usage:  sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option      (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing:  -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: The Homebrew GCC was not installed.
You must:
brew install gcc
希望有人可以帮助我。我不知道该怎么做。

0 个答案:

没有答案