Skip to content

Instantly share code, notes, and snippets.

@agathe
Created July 7, 2012 02:21
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 agathe/3063915 to your computer and use it in GitHub Desktop.
Save agathe/3063915 to your computer and use it in GitHub Desktop.
Error installing cairomm with brew
> brew install cairomm
==> Downloading http://cairographics.org/releases/cairomm-1.10.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/cairomm-1.10.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/cairomm/1.10.0
==> make install
Making install in cairomm
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c -o context.lo context.cc
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c -o context_surface_quartz.lo context_surface_quartz.cc
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c -o context_surface_win32.lo context_surface_win32.cc
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c -o context_surface_xlib.lo context_surface_xlib.cc
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c context_surface_quartz.cc -fno-common -DPIC -o .libs/context_surface_quartz.o
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c context.cc -fno-common -DPIC -o .libs/context.o
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c context_surface_win32.cc -fno-common -DPIC -o .libs/context_surface_win32.o
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include -Wall -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7 -c context_surface_xlib.cc -fno-common -DPIC -o .libs/context_surface_xlib.o
In file included from context_surface_xlib.cc:20:
In file included from ../cairomm/context_private.h:23:
../cairomm/surface.h:33:10: fatal error: 'sigc++/slot.h' file not found
#include <sigc++/slot.h>
^
In file included from context.cc:25:
In file included from ../cairomm/context.h:24:
../cairomm/surface.h:33:10: fatal error: 'sigc++/slot.h' file not found
#include <sigc++/slot.h>
^
In file included from context_surface_win32.cc:20:
In file included from ../cairomm/context_private.h:23:
../cairomm/surface.h:33:10: fatal error: 'sigc++/slot.h' file not found
#include <sigc++/slot.h>
^
1 error generated.
make[1]: *** [context_surface_xlib.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from context_surface_quartz.cc:20:
In file included from ../cairomm/context_private.h:23:
../cairomm/surface.h:33:10: fatal error: 'sigc++/slot.h' file not found
#include <sigc++/slot.h>
^
1 error generated.
make[1]: *** [context_surface_win32.lo] Error 1
1 error generated.
make[1]: *** [context_surface_quartz.lo] Error 1
1 error generated.
make[1]: *** [context.lo] Error 1
make: *** [install-recursive] Error 1
config.log was copied to /Users/agbattes/Library/Logs/Homebrew
==> Build Environment
CPU: quad-core 64-bit nehalem
OS X: 10.7.4-x86_64
Xcode: 4.3.3
X11: 2.6.4 @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/cairo/1.12.2/lib -L/usr/local/Cellar/pixman/0.26.2/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/cairo/1.12.2/lib/pkgconfig:/usr/local/Cellar/pixman/0.26.2/lib/pkgconfig
Error: Failed executing: make install (cairomm.rb:15)
If `brew doctor` does not, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment