homebrew

Error Message “Xcode alone is not sufficient on Sierra”

☆樱花仙子☆ 提交于 2019-12-31 12:36:15
问题 I'd like to install openCV to vectorize image, but there's a series error message regarding Xcode and Ruby. First, I use terminal to install openCV, brew install opencv . Then, I got error message indicating that the system doesn't like my ruby version. /usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError) So, I want to upgrade my ruby. I followed several update strategy from this post. First ruby upgrade trial:

Installing Xcode command line tools

给你一囗甜甜゛ 提交于 2019-12-31 10:44:24
问题 I performed a fresh install of macOS Mojave 10.14. Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. Now, I wish to install Homebrew which requires Xcode command line tools to be installed. My understanding is that installing Xcode also installs the command line tools. Or not? As per this answer, I checked if the command line tools are installed by running: xcode-select -p which printed the path for the Developer directory as follows: /Applications/Xcode

brew services: where to edit configuration?

雨燕双飞 提交于 2019-12-31 08:36:06
问题 Brew services has installed this plist file for mysql. ~ $ brew services list Name Status User Plist mysql56 started mh /Users/mh/Library/LaunchAgents/homebrew.mxcl.mysql56.plist Is this file safe to edit (i.e. will brew ever overwrite changes made here)? Is there another method I should use to modify the file? 回答1: All .plist files that come with Formulas can be found in Cellar dir. For instance homebrew.mxcl.mysql.plist is in /usr/local/Cellar/mysql/5.7.14 . You can modify it and brew

How to get back Homebrew to previous state?

半城伤御伤魂 提交于 2019-12-31 05:36:08
问题 I deleted some of .rb files(cassandra.rb,cassandra@2.1.rb and cassandra@2.2.rb) from folder /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ from mac system.I want back those .rb files. I thought brew upgrade will give me back those deleted .rb files back.But they are still missing. Those .rb files are important for me to install packages. brew install cassandra gives Updating Homebrew... Error: No available formula with the name "cassandra" ==> Searching for a previously

Cannot install older version of ImageMagick via Homebrew

若如初见. 提交于 2019-12-31 04:27:05
问题 I need to install ImageMagick 6.5.8 (or earlier might do), but even when I checkout an earlier commit, it installs the latest version (6.6.9-4). I did this: $ git checkout -b im-6.5.6 ff414bb (then confirmed that the working tree shows the correct version of imagemagick.rb, with @url = a .tar of version 6.5.6-5) $ brew install imagemagick (and it says Checking out tag 6.6.9-4 and then proceeds to install that version) Any help would be appreciated. Thx. 回答1: Hope you managed to find a

`python -m ensurepip --upgrade` does not seem to be upgrading pip and setuptools

不打扰是莪最后的温柔 提交于 2019-12-31 02:48:09
问题 I am on a Mac running Yosemite (Mac OS X 10.10.1) and homebrew installed python and python3 and python -m ensurepip --upgrade does not seem to be working as I would have expected. python -m ensurepip --upgrade does not upgrade pip or setuptools. pip install --upgrade pip setuptools upgrades pip to 6.0.7 and upgrades setuptools to 12.0.5. Same results with Python3. Do I misunderstand the purpose of ensurepip? 回答1: Per the documentation: This module does not access the internet. All of the

Build and install Brew apps that are x86_64 instead of i386?

陌路散爱 提交于 2019-12-30 18:29:41
问题 After I have done this: brew install git I do this: which git which returns: /usr/local/bin/git I then do this: file /usr/local/bin/git which returns: /usr/local/bin/git: Mach-O executable i386 I need brew to install as x86_64. How can I force brew to build and install my apps as x86_64? brew --config Returns this: HOMEBREW_VERSION: 0.9 HEAD: 1c64a6624ed83ef17af6e98638b8165400e9e908 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: quad-core 64-bit sandybridge OS X: 10.7.4

Unattended (no-prompt) Homebrew installation using expect

只谈情不闲聊 提交于 2019-12-30 18:24:09
问题 According to the Homebrew installation instructions, the following command can be used to install: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" This works, but it needs user input two times; to confirm the install and in a sudo prompt invoked by the script: $ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press RETURN to continue

brew install coreutils failing 10.9.5 OSX

你说的曾经没有我的故事 提交于 2019-12-30 12:13:51
问题 It has been 2 days that I have failed to install coreutils . Last 15 lines from /Users/Mehdi/Library/Logs/Homebrew/coreutils/03.make: src/ginstall -c -m 644 'man/unlink.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gunlink.1' src/ginstall -c src/uniq '/usr/local/Cellar/coreutils/8.27/bin/./guniq' src/ginstall -c -m 644 'man/vdir.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gvdir.1' src/ginstall -c src/unlink '/usr/local/Cellar/coreutils/8.27/bin/./gunlink' src/ginstall -c src

Homebrew R build missing Cairo

空扰寡人 提交于 2019-12-30 06:43:26
问题 I installed R on an OSX 10.7.5 server using brew: brew install R Everything seems so OK far, however Cairo is not working: > svg(tempfile()) Warning messages: 1: In svg(tempfile()) : unable to load shared object '/usr/local/Cellar/r/2.15.2/R.framework/Resources/library/grDevices/libs//cairo.so': dlopen(/usr/local/Cellar/r/2.15.2/R.framework/Resources/library/grDevices/libs//cairo.so, 6): image not found 2: In svg(tempfile()) : failed to load cairo DLL The shared object file seems to be