I'm installing mysql using brew on Linux (Ubuntu 14.04)
I type this brew install mysql command I get the following errors
==> Installing mysql dependency: cmake
==> Downloading http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
Already downloaded: /home/sharif/.cache/Homebrew/cmake-3.2.2.tar.gz
==> Downloading https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.3.ta
Already downloaded: /home/sharif/.cache/Homebrew/cmake--sphinx-1.2.3.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/tmp/cmake2015
--record=installed.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
READ THIS: https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
These open issues may also help:
cmake builds fail on CLT-only with --env=std (https://github.com/Homebrew/homebrew/issues/29101)
Its is stuck on this tried many a times, don't know what should I do. I'm a naive first time ever installing installing ruby on rails with mysql. I'm following a tutorial which show how to install ruby on rails on MAC I'm copying the same command but got error on this point ..
Please note that I've installed linusbrew, any help would be highly appreciated.
any idea?
Related
Running brew install elasticsearch#2.0.0, I'm getting:
Error: No available formula with the name "elasticsearch#2.0.0"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
How do I go about installing elasticsearch#2.0.0 in my Rails App.
Homebrew does not currently support 2.0.0 of Elasticsearch. If you run:
brew search elasticsearch
You will see the currently supported version of Elasticsearch that homebrew allows you to install. At the time of this question, the only version in the 2.x series that is supported by homebrew is 2.4.
If you must have 2.0.0, you can always download it directly and install it yourself. You can just download the version during your install script and run the install commands.
If you must use 2.0.0 and you must user homebrew, you can always create a custom formula. Just run the command:
brew create <url to zip>
Then you modify the resulting ruby file to run the correct install commands (hint: you can copy from the 2.4 formula).
Want to use Elasticsearch so I can use the Searchkick gem for my app. Installed the latest version of java on firefox. installed the Searchkick gem. but when I type brew install elasticsearch get and error message
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0
Have Homebrew installed , to check i ran ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and got
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
It there way to fix this or do i have to download the Elasticsearch file and install it manually?
this seems to be a problem with homebrew and yosemite. maybe this can help? https://apple.stackexchange.com/questions/153790/how-to-fix-brew-after-its-upgrade-to-yosemite
i try to install hhvm via
brew install hhvm
i got this error :
Sinas-MacBook-Pro:~ sinamiandashti$ brew install hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-3.2.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-3.2.0.tar.gz
==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
Hunk #1 FAILED at 63.
1 out of 1 hunk FAILED -- saving rejects to file hphp/runtime/ext/gd/libgd/gdft.cpp.rej
the formula is fixed
plz use
brew install hhvm --HEAD
I'm currently working through Let's make a map and I'm having difficulty installing GDAL. Here's the console output:
brew doctor
Your system is raring to brew.
Toms-MacBook-Pro:~ tomstove$ brew install gdal
==> Installing gdal dependency: sqlite
==> Downloading http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz
################################### 49.8%
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
Error: Download failed: http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz
I'm on a mac running Mountain Lion so sqlite should already be installed. Any help would be much appreciated.
Thanks,
Tom
http://sqlite.org/ doesn't support resume downloading.
Go to
cd /Library/Caches/Homebrew
or if you configurated other Location:
brew --cache
And delete all incomplete downloaded sqlite files (like rm sqlite*).
And then try
brew install sqlite
I had the same problem and was able to install by updating homebrew.
brew update
If you are have trouble running brew update, you probably need to fetch origin:
brew update: The following untracked working tree files would be overwritten by merge:
I am trying since two days to install OpenCV 2.3.0 or 2.3.1 on my mac 10.6.8 snow leopard. I followed the following commands
$ cd /Users/ateendra/Desktop/OpenCV-2.3.0/
$ mkdir build
$ cd build/
$ cmake -D CMAKE_OSX_ARCHITECTURES=i386 -D CMAKE_C/CXX_FLAGS=-m32 ..
$ ccmake .
$ make -j8
$ sudo make install
now i get the following errors
/Users/ateendra/Desktop/OpenCV-2.3.0/modules/highgui/src/grfmt_exr.hpp:83: error: reference to ‘PixelType’ is ambiguous
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers /QuickdrawTypes.h:193: error: candidates are: typedef SInt8 PixelType
/opt/local/include/OpenEXR/ImfPixelType.h:49: error: enum Imf::PixelType
/Users/ateendra/Desktop/OpenCV-2.3.0/modules/highgui/src/grfmt_exr.hpp:83: error: ‘PixelType’ does not name a type
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/loadsave.o] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
Well, this is a common problem to compile opencv under mac os, though it is usually solvable by modifying opencv sources a bit. (I faced this problem twice, and I always changed sources a bit to make everything compile).
However, the last time I was installing opencv, I've just used brew:
brew install opencv
Didn't have any problems with it.
I've managed to install OpenCV 2.3.1 on OSX 10.6.8, but I've done it using MacPorts, (which I recommend as it deals with dependencies and building for you):
Make sure you've got Apple Developer Tools installed (or at least XCode with the command line tools)
Install MacPorts (if you haven't done so already)
Install OpenCV via MacPorts:
sudo port install opencv
For more details see Build via MacPorts on the wiki.
I also have to mention that I did run into an error, but that was because of a previous existing dylib in the wrong place.