brew install fontforge error yosemite - homebrew

I'm on OS X Yosemite and am trying to install fontforge via brew. When I try to install it I get the following error. I'd like to use fontforge to try fontcustom and grunt-webfont. What does this error mean? Do I need to install something else first?
$ brew install fontforge --with-python
==> Downloading https://github.com/fontforge/fontforge/archive/2.0.20140101.tar.gz
Already downloaded: /Library/Caches/Homebrew/fontforge-2.0.20140101.tar.gz
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/fontforge/2.0.20140101 --without-cairo
==> make
1 error generated.
make[2]: *** [libgdraw_la-gmatrixedit.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I had exactly the same problem and reinstalling 10.10 XCode Command Line Tools solved it!
:-)
Good luck -

Related

Ruby build failed using rbenv install 2.1.3 Ubuntu 16.04 LTS

I want to install ruby 2.1.3 using this command:
rbenv install 2.1.3
But the result is BUILD FAILED.
I have tried most of the suggestion from Google, but still error. Here is the latest error message:
Last 10 log lines:
make[1]: *** Waiting for unfinished jobs....
compiling psych_to_ruby.c
installing default psych libraries
linking shared-object nkf.so
linking shared-object psych.so
make[2]: Leaving directory '/tmp/ruby-build.20170129014849.4100/ruby-2.1.3/ext/nkf'
make[2]: Leaving directory '/tmp/ruby-build.20170129014849.4100/ruby-2.1.3/ext/psych'
make[1]: Leaving directory '/tmp/ruby-build.20170129014849.4100/ruby-2.1.3'
uncommon.mk:180: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2

OpenCv Install Trouble

I'm try to install openCV on my mac, but after running brew install opencv I get this error:
Devins-MacBook-Air:~ devinwieker$ brew install opencv
==> Installing opencv from homebrew/homebrew-science
==> Installing dependencies for opencv: gcc, readline, sqlite, gdbm, python, eigen, ilmbase,
==> Installing opencv dependency: gcc
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc-4.9.2.tar.bz2
==> ../configure --build=x86_64-apple-darwin13.4.0 --prefix=/usr/local/Cellar/gcc/4.9.2_1 --libdir=
==> make bootstrap
make[3]: *** [cc1plus] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2
Anyone know what's going on?
I had the same problem I tried using "brew doctor" which you should definitely try, and if that was not helpful try updating Xcode and its developer tools.

Error with "rvm requirements"

When I try to run "rvm requirements" it fails, giving me following error:
Checking requirements for osx.
Installing requirements for osx.
Updating system....
Installing required packages: libksba.....
Error running 'requirements_osx_brew_libs_install libksba',
showing last 15 lines of /Users/Hany/.rvm/log/1398501597/package_install_libksba.log
+ case "$1" in
+ [[ -t 1 ]]
+ return 1
+ printf %b 'There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation\n'
There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
+ case "$_system_version" in
+ return 1
Requirements installation failed with status: 1.
I thought I would use homebrew to install individually. So I ran "brew install libksba"
==> Downloading ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/libksba-1.3.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/libksba/1.3.0
==> make install
make[2]: *** [reader.lo] Error 1
1 error generated.
make[2]: *** [asn1-parse.lo] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
But this failed, saying it was already installed. Very confused here. Any help?

Homebrew install gdb with brewed python

I had brewed version of python 2.7.6 installed on OS X mavericks and now am trying to install gdb with --with-brewed-python option.
But I am getting the following error message. Why it is checking python in /usr/local instead of /usr/local/bin? I think this is why it is failing. Anyone has any idea?
brew install gdb --with-brewed-python
==> Downloading http://ftpmirror.gnu.org/gdb/gdb-7.6.2.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/gdb/7.6.2 --with-system-readline --with-python=/usr/local
==> make
checking whether to use python... /usr/local
checking for python2.7... no
configure: error: no usable python found at /usr/local
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-dupes/issues
try: brew -v install --with-brewed-python gdb
https://github.com/Homebrew/homebrew-dupes/issues/277

Homebrew issues since Mavericks update

I upgraded to Mavericks the week before last and started experiencing problems with homebrew ever since. 'brew doctor' reports no issues but I'm currently trying to install Apache Thrift and it's failing. Any suggestions?
brew install thrift
==> Installing thrift dependency: boost
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/boost-1.54.0.mavericks.bottle.1
######################################################################## 100.0%
==> Pouring boost-1.54.0.mavericks.bottle.1.tar.gz
==> Caveats
The Boost bottle's module will not import into a Homebrew-installed Python.
If you use the Boost Python module then please:
brew install boost --build-from-source
==> Summary
🍺 /usr/local/Cellar/boost/1.54.0: 9865 files, 588M
==> Installing thrift
==> Downloading http://www.apache.org/dyn/closer.cgi?path=thrift/0.9.0/thrift-0.9.0.tar.gz
==> Best Mirror http://ftp.heanet.ie/mirrors/www.apache.org/dist/thrift/0.9.0/thrift-0.9.0.tar.gz
######################################################################## 100.0%
==> Patching
patching file lib/cpp/src/thrift/transport/TSocket.h
==> ./configure --prefix=/usr/local/Cellar/thrift/0.9.0 --libdir=/usr/local/Cellar/thrift/0.9.0/lib
==> make
make[4]: *** [ThreadManager.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
You may want to follow this Jira ticket. https://issues.apache.org/jira/browse/THRIFT-2229
Looks like there is a pull request for homebrew to fix this issue. A temporary work around could be to change the compiler you're using, but I'd recommend just waiting for the patch to be rolled out.
I had a similar issue. You should try
brew update
And then continue with your install

Resources