【发布时间】:2015-09-13 15:37:24
【问题描述】:
我第一次使用homebrew 和homebrew cask 来安装程序和管理包。在brew install homebrew/science/R 和brew cask install rstudio之后,我尝试在rstudio 中安装一些库,但总是以类似语法的警告和错误结束:
installing *source* package ‘Rcpp’ ...
Paket ‘Rcpp’ erfolgreich entpackt und MD5 Summen überprüft
libs
sh: make: command not found
ERROR: compilation failed for package ‘Rcpp’
removing ‘/usr/local/lib/R/3.2/site-library/Rcpp’`
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status`
installing *source* package ‘stringi’ ...
Paket ‘stringi’ erfolgreich entpackt und MD5 Summen überprüft
checking for local ICUDT_DIR... icu55/data
checking for R_HOME... /usr/local/Cellar/r/3.2.2_1/R.framework/Resources
checking for R... /usr/local/Cellar/r/3.2.2_1/R.framework/Resources/bin/R
checking for R >= 3.1.0... yes
checking for cat... /bin/cat
/usr/local/Cellar/r/3.2.2_1/R.framework/Resources/bin/config: line 150: make: command not found
/usr/local/Cellar/r/3.2.2_1/R.framework/Resources/bin/config: line 151: make: command not found`
等等……
我在我的OSX 10.8.5 上安装了Xcode 5.1.1(不是通过 Homebrew)
在整个 Mac 设置过程的开始,并假设 Command Line Tools 包括在内。
顺便说一句,brew医生说Your system is ready to brew
我该如何处理?
【问题讨论】:
-
您安装了 Xcode 和命令行工具吗?您使用的是哪个操作系统版本?
-
您需要做一些事情来接受许可,否则命令行工具将无法工作。我总是忘记到底是什么,最后用谷歌搜索。
-
xcode-select --install应该为您提供make和其他基本必需品。 -
@罗兰。我专注于那个。一开始打开
Xcode接受了许可 -
@Mamba 很抱歉没有看到您在 10.8.5 上。尝试wiki.freeswitch.org/wiki/… 安装 Xcode。