Skip to content

Instantly share code, notes, and snippets.

@paulhodge
Created June 10, 2011 06:53
Show Gist options
  • Save paulhodge/1018351 to your computer and use it in GitHub Desktop.
Save paulhodge/1018351 to your computer and use it in GitHub Desktop.
failed cairo install, stdout
==> Downloading http://www.cairographics.org/releases/cairo-1.10.2.tar.gz
File already downloaded in /Users/andyfischer/Library/Caches/Homebrew
/usr/bin/tar xf /Users/andyfischer/Library/Caches/Homebrew/cairo-1.10.2.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x
checking for gcc... /usr/bin/cc
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 /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/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 for style of include used by make... GNU
checking dependency style of /usr/bin/cc... none
checking build system type... i386-apple-darwin10.7.0
checking host system type... i386-apple-darwin10.7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/cc... /usr/bin/cc
checking if the linker (/usr/bin/cc) 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/cc 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 /usr/bin/cc 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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/cc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.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... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for find... /usr/bin/find
checking for xargs... /usr/bin/xargs
checking for gcc... (cached) /usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/cc accepts -g... (cached) yes
checking for /usr/bin/cc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... yes
checking dependency style of /usr/bin/c++... none
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/c++ accepts -g... (cached) yes
checking dependency style of /usr/bin/c++... (cached) none
checking how to run the C++ preprocessor... /usr/bin/c++ -E
checking for ld used by /usr/bin/c++... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking for /usr/bin/c++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/c++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/c++ static flag -static works... no
checking if /usr/bin/c++ supports -c -o file.o... yes
checking if /usr/bin/c++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether /usr/bin/cc and cc understand -c and -o together... yes
checking for inline... inline
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for supported warning flags...
checking whether /usr/bin/cc supports -Werror... yes
checking whether /usr/bin/cc supports -errwarn... no
checking whether /usr/bin/cc supports -Wall... yes
checking whether /usr/bin/cc supports -Wextra... yes
checking whether /usr/bin/cc supports -Wold-style-definition... yes
checking whether /usr/bin/cc supports -Wdeclaration-after-statement... yes
checking whether /usr/bin/cc supports -Wmissing-declarations... yes
checking whether /usr/bin/cc supports -Werror-implicit-function-declaration... yes
checking whether /usr/bin/cc supports -Wnested-externs... yes
checking whether /usr/bin/cc supports -Wpointer-arith... yes
checking whether /usr/bin/cc supports -Wwrite-strings... yes
checking whether /usr/bin/cc supports -Wsign-compare... yes
checking whether /usr/bin/cc supports -Wstrict-prototypes... yes
checking whether /usr/bin/cc supports -Wmissing-prototypes... yes
checking whether /usr/bin/cc supports -Wpacked... yes
checking whether /usr/bin/cc supports -Wswitch-enum... yes
checking whether /usr/bin/cc supports -Wmissing-format-attribute... yes
checking whether /usr/bin/cc supports -Wbad-function-cast... yes
checking whether /usr/bin/cc supports -Wvolatile-register-var... yes
checking whether /usr/bin/cc supports -Wstrict-aliasing=2... yes
checking whether /usr/bin/cc supports -Winit-self... yes
checking whether /usr/bin/cc supports -Wunsafe-loop-optimizations... yes
checking whether /usr/bin/cc supports -Wno-missing-field-initializers... yes
checking whether /usr/bin/cc supports -Wno-unused-parameter... yes
checking whether /usr/bin/cc supports -Wno-attributes... yes
checking whether /usr/bin/cc supports -Wno-long-long... yes
checking whether /usr/bin/cc supports -Winline... yes
checking whether /usr/bin/cc supports -Wlogical-op... no
checking whether /usr/bin/cc supports -erroff=E_ENUM_TYPE_MISMATCH_ARG... no
checking whether /usr/bin/cc supports -erroff=E_ENUM_TYPE_MISMATCH_OP... no
checking whether /usr/bin/cc supports -fno-strict-aliasing... yes
checking whether /usr/bin/cc supports -fno-common... yes
checking whether /usr/bin/cc supports -flto... no
checking whether /usr/bin/cc supports -Wp,-D_FORTIFY_SOURCE=2... yes
checking which warning flags were supported... -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... checking whether /usr/bin/cc supports -Wl,--allow-shlib-undefined... no
checking for native atomic primitives... Intel
checking whether atomic ops require a memory barrier... no
checking size of void *... 8
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking for native Win32... no
checking for Sun Solaris (non-POSIX ctime_r)... no
checking for sched_yield in -lrt... no
checking for shm_open in -lrt... no
checking for connect in -lsocket... no
checking for __builtin_return_address(0)... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking for __uint128_t... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for alarm... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_getaffinity... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for feenableexcept... no
checking for fedisableexcept... no
checking for feclearexcept... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for signal.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for fenv.h... (cached) yes
checking for vasnprintf... no
checking for link... yes
checking for ctime_r... yes
checking for drand48... yes
checking for flockfile... yes
checking for ffs... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for sys/stat.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for mkdir... yes
checking mkdir variant... mkdir(path, mode)
checking for fork... yes
checking for waitpid... yes
checking for raise... yes
checking for VALGRIND... no
no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for dlsym in -ldl... yes
checking for dlfcn.h... (cached) yes
checking for X... libraries /usr/X11/lib, headers
checking for cairo's Xlib surface backend feature...
checking for xlib... yes
checking whether cairo's Xlib surface backend feature could be enabled... yes
checking for cairo's Xlib Xrender surface backend feature...
checking for xlib_xrender... yes
checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
checking for cairo's XCB/SHM functions feature...
checking whether cairo's XCB/SHM functions feature could be enabled... no (requires --enable-xcb)
checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... yes
checking ApplicationServices/ApplicationServices.h presence... yes
checking for ApplicationServices/ApplicationServices.h... yes
checking whether cairo's Quartz surface backend feature could be enabled... yes
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... yes
checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature...
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes
checking for cairo's EGL functions feature...
checking whether cairo's EGL functions feature could be enabled... no (not required by any backend)
checking for cairo's GLX functions feature...
checking whether cairo's GLX functions feature could be enabled... no (not required by any backend)
checking for cairo's WGL functions feature...
checking whether cairo's WGL functions feature could be enabled... no (not required by any backend)
checking for cairo's FreeType font backend feature...
checking for FREETYPE... yes
checking whether cairo's FreeType font backend feature could be enabled... yes
checking for cairo's Fontconfig font backend feature...
checking for FONTCONFIG... yes
checking whether cairo's Fontconfig font backend feature could be enabled... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_Library_SetLcdFilter... yes
checking for FcInit... yes
checking for FcFini... yes
checking for cairo's PostScript surface backend feature...
checking whether cairo's PostScript surface backend feature could be enabled... yes
checking for gs... no
configure: WARNING: PS backend will not be tested since ghostscript is not available
checking for LIBSPECTRE... no
checking for cairo's PDF surface backend feature...
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... no
configure: WARNING: PDF backend will not be tested since poppler >= 0.13.3 is not available
checking for cairo's SVG surface backend feature...
checking whether cairo's SVG surface backend feature could be enabled... yes
checking for LIBRSVG... no
configure: WARNING: SVG backend will not be tested since librsvg >= 2.15.0 is not available
checking for cairo's image surface backend feature...
checking for pixman... no
no
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.18.4 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled
Error: #<BuildError: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x>
/usr/local/Library/Homebrew/formula.rb:487:in `system'
/usr/local/Library/Formula/cairo.rb:17:in `install'
/usr/local/Library/Homebrew/install.rb:92:in `install'
/usr/local/Library/Homebrew/formula.rb:257:in `brew'
/usr/local/Library/Homebrew/formula.rb:555:in `stage'
/usr/local/Library/Homebrew/formula.rb:507:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:553:in `stage'
/usr/local/Library/Homebrew/formula.rb:252:in `brew'
/usr/local/Library/Homebrew/install.rb:70:in `install'
/usr/local/Library/Homebrew/install.rb:34
/usr/local/Library/Formula/cairo.rb:16
==> Rescuing build...
It looks like an autotools configure failed.
Gist 'config.log' and any error output when reporting an issue.
When you exit this shell Homebrew will attempt to finalise the installation.
If nothing is installed or the shell exits with a non-zero error code,
Homebrew will abort. The installation prefix is:
/usr/local/Cellar/cairo/1.10.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment