homebrew

Missing Required Packages? - Including libyaml

孤街浪徒 提交于 2019-12-05 07:02:42
问题 I feel like my computer has some deep seated issues and is 100% against me installing rails/ruby/rvm and the rest on it. Or I'm just incompetent :) I have installed rvm and ruby without issues. Here is my current setup (Log from Terminal): Mac-mini:rubygems-1.8.25 Riley$ rvm -v rvm 1.18.15 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/] Mac-mini:rubygems-1.8.25 Riley$ ruby -v ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2

Installing gcc with OpenMP support on Mac using homebrew has no effect

删除回忆录丶 提交于 2019-12-05 06:31:19
One way of installing gcc with openMP support on OSX is using Homebrew . However, when I follow the usual instruction of brew reinstall gcc --without-multilib It gives me a warning that there is no formula corresponding to the --without-multilib option and hence this will have no effect. Consequently, I do not have openMP support after this reinstallation process. Here is the detailed terminal output. poulin8:02-prange-parallel-loops poulingroup$ brew --version Homebrew 1.3.6 Homebrew/homebrew-core (git revision b5afc; last commit 2017-10-27) poulin8:02-prange-parallel-loops poulingroup$ brew

Installed GNU grep on OSX, but can't use

大城市里の小女人 提交于 2019-12-05 05:40:57
I've tried installing GNU grep on OSX, and it seems to be installed, but I can't use it.. I've done so using homebrew, Macports is having some issues currently, so I can't use that. To install: brew tap homebrew/dupes; brew install grep Which returns: Warning: homebrew/dupes already tapped! Warning: homebrew/dupes/grep-2.21 already installed Symlinking seems to work to /usr/local/bin/ggrep. When I add the alias alias grep="ggrep" and do grep --version , I get -bash: ggrep: command not found . Which is true, since there is no ggrep in the folder. I've tried installing with and without --with

Mac安装Redis

六眼飞鱼酱① 提交于 2019-12-05 05:17:40
安装Homebrew 如果已经安装可以忽略,没有安装的请查看小明之前写好的文章 mac安装homebrew 使用Homebrew安装Redis (1) 安装命令 brew install redis (2) 查看软件安装及配置文件位置 Homebrew安装的软件会默认在 /usr/local/Cellar/ 路径下; redis的配置文件 redis.conf 存放在 /usr/local/etc 路径下。 (3) 启动redis服务 方法一: brew除了可以帮助我们安装软件以外,还可以帮助我们启动软件 brew services start redis 方法二: redis-server /usr/local/etc/redis.conf (4) 查看redis服务进程 我们可以通过下面命令查看redis是否正在运行 ps axu | grep redis (5) redis-cli连接redis服务 redis默认端口号 6379 ,默认 auth 为空,输入以下命令即可连接 redis-cli -h 127.0.0.1 -p 6379 (6) 关闭redis服务 优雅的关闭 redis-cli shutdown 或者杀死 sudo pkill redis-server (7) redis.conf配置文件说明 redis默认是前台启动,如果我们想以守护进程的方式运行

Everytime I upgrade R using homebrew I need to install most packages again

孤人 提交于 2019-12-05 05:15:39
R Packages are installed to /usr/local/Cellar/r/3.1.2_1/R.framework/Versions/3.1/Resources/library Whenever I run brew upgrade r and the version of R changes I need to install most of the libraries again as the path of installation changes. How do I upgrade without having to install everything back again? Edit: I think this answers my question http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r-on-windows I put .libPaths("/Users/tim/.R/packages") in my ~/.Rprofile so that packages are installed to a path that doesn't disappear after a version bump. keberwein

How to compile PHP with OpenSSL on OS X 10.9?

与世无争的帅哥 提交于 2019-12-05 05:14:10
I'm trying to compile PHP 5.6.10 from the source, and I encountered the following problem: Undefined symbols for architecture x86_64: "_PKCS5_PBKDF2_HMAC", referenced from: _zif_openssl_pbkdf2 in openssl.o "_TLSv1_1_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_1_server_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_server_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o ld: symbol(s) not found for architecture x86_64 clang: error: linker

Trouble with vimrc file recognition with MacVim

陌路散爱 提交于 2019-12-05 05:01:03
问题 I'm having difficulty getting MacVim (7.3-64) to recognize my .vimrc and .gvimrc files since upgrading to OS X 10.7.3. Previous, I've simply symlinked my .vimrc and .gvimrc using these commmands: $ ln -s ~/.vim/vimrc /usr/local/Cellar/macvim/7.3-57/MacVim.app/Contents/Resources/vim/.vimrc $ ln -s ~/.vim/gvimrc /usr/local/Cellar/macvim/7.3-57/MacVim.app/Contents/Resources/vim/.gvimrc However, when I currently symlink my rc files, I can not get MacVim to recognize them. I've installed MacVim

Windows 转 Mac 利用git继续管理github

依然范特西╮ 提交于 2019-12-05 04:38:30
1. 试用:windwos 换了mac。怎么使用mac 继续使用git 在github 上传自己的项目。 解决: 1):在mac 上下载git 2):在mac 上clone 下自己的项目。 在mac上下载git:   这里使用 homebrew 进行安装,占内存小。   1.安装homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"   2、安装git brew install git   3.进行验证git是否安装成功 git或者git -verison    2:SSH配置git 设置username和email(github每次commit都会记录他们) git config --global user.name "登录账号名" git config --global user.email "邮箱账号" 通过终端命令创建ssh key  ssh-keygen -t rsa -C “邮箱账号" 一直回车,输入用户名+密码(github登录的),最后会生成一串密钥。 cat .ssh/id_rsa.pub 然后登陆github。找到settings。点击SSH AND GPG Keys---》New SSH key

Just installed SASS, but can't get its version

喜夏-厌秋 提交于 2019-12-05 03:54:19
I installed SASS from the terminal, just gem install sass . And I see it says "Successfully installed sass-3.2.9." However, when I then do sass --version or sass --v I get this error: -bash: sass: command not found The only thing I can think of is, when I was doing the Git tutorials on Tuts+ I ran into a local vs. global issue or I had to edit a bash_profile file. This is what is inside the bash_profile file inside my user directory: export PATH="/usr/local/bin:$PATH" Any thoughts or tips on why I can't get the version of SASS or Compass I just installed? (I can only get ruby --version .) Leon

NGINX brew install command not found

给你一囗甜甜゛ 提交于 2019-12-05 03:53:05
I do $ brew install nginx and get: ==> Downloading http://nginx.org/download/nginx-1.2.2.tar.gz Already downloaded: /Library/Caches/Homebrew/nginx-1.2.2.tar.gz ==> Patching patching file conf/nginx.conf ==> ./configure --prefix=/usr/local/Cellar/nginx/1.2.2 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt=-I/usr/local/include --with-ld-opt=-L/usr/local/lib --conf ==> make ==> make install ==> Caveats In the interest of allowing you to run `nginx` without `sudo`, the default port is set to localhost:8080. If you want to host pages on your local machine to the public, you should