homebrew

Brew install docker does not include docker engine?

 ̄綄美尐妖づ 提交于 2019-12-18 09:54:06
问题 Trying to setup docker from brew, however the engine does not seem to be included in any of the any of the official formulas. brew install docker-machine docker-compose So these only installs the clients? Is there no keg with the engine/daemon? 回答1: Please try running brew install docker This will install the Docker engine, which will require Docker-Machine (+ VirtualBox) to run on the Mac. If you want to install the newer Docker for Mac, which does not require virtualbox, you can install

“Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib” with Xcode 8

家住魔仙堡 提交于 2019-12-18 09:05:04
问题 My project requires OpenSSL libraries crypto and ssl . After updating Xcode to 8.2.1, it broke my project and I'm not able to compile it anymore. In my project Build Settings, in Linking , I have -lssl -lcrypto -lxml2 that indicates to load those 2 libraries. Going back to my app Build Settings, I add /usr/local/opt/openssl/lib/ in the Library Search Paths to tell Xcode where to look. Hurray, it compiles, builds and run properly. Cool. BUT When launching the app on a different mac, the app

How do I replace my HPC gfortran with Homebrew gfortran?

纵然是瞬间 提交于 2019-12-18 07:14:36
问题 I currently have Xcode (along with command line tools) and gfrotran from HPC installed on my Yosemite system, and would like to replace HPC's gfortran with Homebrew's (because I'm having trouble building Python packages with the HPC gfortran). What are the steps to accomplish this? I want to be sure that HPC's gfortran is gone (I just want one Fortran) and Apple's tools still work (for Xcode, Swift, OS X and iOS development, etc.) and of course that I have a working version of gfortran that

Homebrew can’t link Git during the installation

柔情痞子 提交于 2019-12-18 06:37:39
问题 I can’t seem to figure this out. Homebrew can’t link git during the installation. Here’s what Terminal spits out: ==> Downloading http://git-core.googlecode.com/files/git-1.8.4.tar.gz Already downloaded: /Library/Caches/Homebrew/git-1.8.4.tar.gz ==> make prefix=/usr/local/Cellar/git/1.8.4 sysconfdir=/usr/local/etc CC=cc CFLA ==> make CC=cc CFLAGS= LDFLAGS= ==> make clean ==> make CC=cc CFLAGS= LDFLAGS= ==> Downloading http://git-core.googlecode.com/files/git-manpages-1.8.4.tar.gz Already

Homebrew can’t link Git during the installation

纵然是瞬间 提交于 2019-12-18 06:37:18
问题 I can’t seem to figure this out. Homebrew can’t link git during the installation. Here’s what Terminal spits out: ==> Downloading http://git-core.googlecode.com/files/git-1.8.4.tar.gz Already downloaded: /Library/Caches/Homebrew/git-1.8.4.tar.gz ==> make prefix=/usr/local/Cellar/git/1.8.4 sysconfdir=/usr/local/etc CC=cc CFLA ==> make CC=cc CFLAGS= LDFLAGS= ==> make clean ==> make CC=cc CFLAGS= LDFLAGS= ==> Downloading http://git-core.googlecode.com/files/git-manpages-1.8.4.tar.gz Already

brew install libyaml ERROR

半城伤御伤魂 提交于 2019-12-18 05:51:35
问题 $ brew install libyaml ==> Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz Already downloaded: /Library/Caches/Homebrew/libyaml-0.1.4.tar.gz ==> ./configure --prefix=/usr/local/Cellar/libyaml/0.1.4 ==> make install Warning: Could not link libyaml. Unlinking... Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using `brew link libyaml' ==> Summary 🍺 /usr/local/Cellar/libyaml/0.1.4: 7 files, 336K,

pip3 gone after hombrew upgrade

浪尽此生 提交于 2019-12-18 05:15:05
问题 I upgraded my outdated packages with brew upgrade , but now I find that the pip3 command (pip for Python 3) that I previously had is gone. My Python 3.6 installation is still there: cls@clsmba > python3 Python 3.6.5 (default, Mar 30 2018, 06:42:10) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >pip points to pip for Python 2.7: cls@clsmba ~> pip --version pip 9.0.3 from /usr/local/lib/python2.7

Homebrew install Ruby keg-only can't find gem

北城以北 提交于 2019-12-18 05:12:48
问题 How do I get irb to work after installing Ruby with Homebrew? When I try to run irb , I get an error: $ irb Traceback (most recent call last): 2: from /usr/local/opt/ruby/bin/irb:23:in `<main>' 1: from /usr/local/lib/ruby/site_ruby/2.6.0/rubygems.rb:302:in `activate_bin_path' /usr/local/lib/ruby/site_ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem irb (>= 0.a) with executable irb (Gem::GemNotFoundException) I tried: $ brew link ruby Warning: Refusing to link macOS-provided

Trying to install ruby-filemagic on Snow Leopard using brew rather than ports

冷暖自知 提交于 2019-12-18 02:49:30
问题 I'm trying to install ruby-filemagic. I tried sudo gem install ruby-filemagic -v 0.2.2 and got: ERROR: Error installing ruby-filemagic: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for magic_open() in -lmagic... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration

Bypassing prompt (to press return) in homebrew install script

心已入冬 提交于 2019-12-17 22:46:37
问题 Very simple script that installs homebrew: #!/bin/bash ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" The output gives: ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press RETURN to continue or any other key to abort How do I press enter in a script like this? Would expect be the best route? 回答1: Reading the source of https://raw.github.com/Homebrew/homebrew/go/install -- it only prompts if stdin is a TTY