Skip to content

Instantly share code, notes, and snippets.

@dinomite
Created April 12, 2011 16:00
Show Gist options
  • Save dinomite/915792 to your computer and use it in GitHub Desktop.
Save dinomite/915792 to your computer and use it in GitHub Desktop.
trajan:~$ brew install pdf2svg
==> Downloading http://www.cityinthesky.co.uk/_media/opensource/pdf2svg-0.2.1.tar.gz
File already downloaded and cached to /Users/drew/Library/Caches/Homebrew
==> ./configure --prefix=/usr/local/Cellar/pdf2svg/0.2.1 --disable-debug --disable-dependency-tracking
==> make install
/usr/bin/cc -DPACKAGE_NAME=\"pdf2svg\" -DPACKAGE_TARNAME=\"pdf2svg\" -DPACKAGE_VERSION=\"0.2.1\" -DPACKAGE_STRING=\"pdf2svg\ 0.2.1\" -DPACKAGE_BUGREPORT=\"David\ Barton\ \<[email protected]\>\" -DPACKAGE=\"pdf2svg\" -DVERSION=\"0.2.1\" -I. -I/usr/X11R6/include -I/usr/local/Cellar/pixman/0.20.2/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng12 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.4/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.4/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.0.0/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.22.1/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.5/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.5/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.5/include -I/usr/local/Cellar/pixman/0.20.2/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng12 -O3 -w -pipe -c -o pdf2svg-pdf2svg.o `test -f 'pdf2svg.c' || echo './'`pdf2svg.c
pdf2svg.c:23:21: error: poppler.h: No such file or directory
pdf2svg.c:24:30: error: poppler-document.h: No such file or directory
pdf2svg.c:25:26: error: poppler-page.h: No such file or directory
pdf2svg.c:48: error: expected ‘)’ before ‘*’ token
pdf2svg.c: In function ‘main’:
pdf2svg.c:84: error: ‘PopplerDocument’ undeclared (first use in this function)
pdf2svg.c:84: error: (Each undeclared identifier is reported only once
pdf2svg.c:84: error: for each function it appears in.)
pdf2svg.c:84: error: ‘pdffile’ undeclared (first use in this function)
pdf2svg.c:85: error: ‘PopplerPage’ undeclared (first use in this function)
pdf2svg.c:85: error: ‘page’ undeclared (first use in this function)
make: *** [pdf2svg-pdf2svg.o] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pdf2svg.rb#L14
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 5b3a5b7f5df7c438992826466d067a1d83ed46a9
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
CPPFLAGS: -I/usr/X11R6/include
LDFLAGS: -L/usr/X11R6/lib
MAKEFLAGS: -j4
Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/5165
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
trajan:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment