Skip to content

Instantly share code, notes, and snippets.

@sandover
Created December 11, 2013 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandover/7917490 to your computer and use it in GitHub Desktop.
Save sandover/7917490 to your computer and use it in GitHub Desktop.
Trouble brew installing pygtksourceview
» brew doctor
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install pygtksourceview
Run `brew missing` for more details.
» brew install -v pygtksourceview 2>&1
/usr/bin/env perl -e use XML::Parser
/usr/bin/env perl -e use XML::Parser
==> Downloading http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-2.10.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/pygtksourceview-2.10.0.tar.bz2
==> Verifying pygtksourceview-2.10.0.tar.bz2 checksum
tar xf /Library/Caches/Homebrew/pygtksourceview-2.10.0.tar.bz2
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/pygtksourceview/2.10.0 --disable-docs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking for some Win32 platform... no
checking for native Win32... no
checking for style of include used by make... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... none
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.lt
config.lt: creating libtool
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... yes
checking for PYGTKSOURCEVIEW... yes
checking for pygtk codegen... /usr/local/Cellar/pygtk/2.24.0/share/pygobject/2.0/codegen
no
configure: error: Error: codegen not found (should be shipped with pygtk!)
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 3872723ba2e5e3baa079826f7bb65dae49fbb50a
CPU: 8-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1377666378
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib
PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/gobject-introspection/lib/pkgconfig:/usr/local/opt/gdk-pixbuf/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/atk/lib/pkgconfig:/usr/local/opt/gtk+/lib/pkgconfig:/usr/local/opt/gtksourceview/lib/pkgconfig:/usr/local/opt/pygobject/lib/pkgconfig:/usr/local/opt/py2cairo/lib/pkgconfig:/usr/local/opt/pygtk/lib/pkgconfig:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/libpng/bin:/usr/local/opt/gobject-introspection/bin:/usr/local/opt/gdk-pixbuf/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/cairo/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/pango/bin:/usr/local/opt/gtk+/bin:/usr/local/opt/pygobject/bin:/usr/local/opt/pygtk/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: pygtksourceview did not build
Logs:
/Users/sandover/Library/Logs/Homebrew/pygtksourceview/01.configure
/Users/sandover/Library/Logs/Homebrew/pygtksourceview/01.configure.cc
/Users/sandover/Library/Logs/Homebrew/pygtksourceview/config.log
/usr/local/Library/Homebrew/utils.rb:276:in `open': Failed to connect to: https://api.github.com/legacy/issues/search/mxcl/homebrew/open/pygtksourceview (GitHub::Error)
getaddrinfo: nodename nor servname provided, or not known
from /usr/local/Library/Homebrew/utils.rb:281:in `each_issue_matching'
from /usr/local/Library/Homebrew/utils.rb:293:in `issues_for_formula'
from /usr/local/Library/Homebrew/exceptions.rb:178:in `issues'
from /usr/local/Library/Homebrew/exceptions.rb:212:in `dump'
from /usr/local/Library/brew.rb:118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment