Skip to content

Instantly share code, notes, and snippets.

@mgualt
Created September 16, 2012 14:47
Show Gist options
  • Save mgualt/3732711 to your computer and use it in GitHub Desktop.
Save mgualt/3732711 to your computer and use it in GitHub Desktop.
failure of poppler install
$ brew install --enable-xpdf-headers poppler==> Downloading http://poppler.freedesktop.org/poppler-0.20.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/poppler-0.20.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/poppler/0.20.2 --enable-xpdf-header
==> make install
Making install in goo
CXX gfile.lo
CXX gmempp.lo
CXX GooHash.lo
CXX GooList.lo
CXX GooTimer.lo
CXX GooString.lo
CXX gmem.lo
CXX FixedPoint.lo
CXX PNGWriter.lo
CXX JpegWriter.lo
CXX TiffWriter.lo
CXX ImgWriter.lo
CXX gstrtod.lo
CXXLD libgoo.la
/usr/bin/ranlib: file: .libs/libgoo.a(gmempp.o) has no symbols
/usr/bin/ranlib: file: .libs/libgoo.a(FixedPoint.o) has no symbols
/usr/bin/ranlib: file: .libs/libgoo.a(TiffWriter.o) has no symbols
ranlib: file: .libs/libgoo.a(gmempp.o) has no symbols
ranlib: file: .libs/libgoo.a(FixedPoint.o) has no symbols
ranlib: file: .libs/libgoo.a(TiffWriter.o) has no symbols
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/poppler/0.20.2/include/poppler/goo" || .././install-sh -c -d "/usr/local/Cellar/poppler/0.20.2/include/poppler/goo"
/usr/bin/install -c -m 644 GooHash.h GooList.h GooTimer.h GooMutex.h GooString.h gtypes.h gmem.h gfile.h FixedPoint.h PNGWriter.h JpegWriter.h TiffWriter.h ImgWriter.h GooLikely.h gstrtod.h '/usr/local/Cellar/poppler/0.20.2/include/poppler/goo'
Making install in fofi
CXX FoFiBase.lo
CXX FoFiEncodings.lo
CXX FoFiTrueType.lo
CXX FoFiType1.lo
CXX FoFiType1C.lo
CXX FoFiIdentifier.lo
CXXLD libfofi.la
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/poppler/0.20.2/include/poppler/fofi" || .././install-sh -c -d "/usr/local/Cellar/poppler/0.20.2/include/poppler/fofi"
/usr/bin/install -c -m 644 FoFiBase.h FoFiEncodings.h FoFiTrueType.h FoFiType1.h FoFiIdentifier.h FoFiType1C.h '/usr/local/Cellar/poppler/0.20.2/include/poppler/fofi'
Making install in splash
CXX Splash.lo
CXX SplashBitmap.lo
CXX SplashClip.lo
CXX SplashFTFont.lo
CXX SplashFTFontEngine.lo
CXX SplashFTFontFile.lo
CXX SplashFont.lo
CXX SplashFontEngine.lo
CXX SplashFontFile.lo
CXX SplashFontFileID.lo
CXX SplashPath.lo
CXX SplashPattern.lo
CXX SplashScreen.lo
CXX SplashState.lo
CXX SplashT1Font.lo
CXX SplashT1FontEngine.lo
CXX SplashT1FontFile.lo
CXX SplashXPath.lo
CXX SplashXPathScanner.lo
CXXLD libsplash.la
/usr/bin/ranlib: file: .libs/libsplash.a(SplashT1Font.o) has no symbols
/usr/bin/ranlib: file: .libs/libsplash.a(SplashT1FontEngine.o) has no symbols
/usr/bin/ranlib: file: .libs/libsplash.a(SplashT1FontFile.o) has no symbols
ranlib: file: .libs/libsplash.a(SplashT1Font.o) has no symbols
ranlib: file: .libs/libsplash.a(SplashT1FontEngine.o) has no symbols
ranlib: file: .libs/libsplash.a(SplashT1FontFile.o) has no symbols
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/poppler/0.20.2/include/poppler/splash" || .././install-sh -c -d "/usr/local/Cellar/poppler/0.20.2/include/poppler/splash"
/usr/bin/install -c -m 644 Splash.h SplashBitmap.h SplashClip.h SplashErrorCodes.h SplashFTFont.h SplashFTFontEngine.h SplashFTFontFile.h SplashFont.h SplashFontEngine.h SplashFontFile.h SplashFontFileID.h SplashGlyphBitmap.h SplashMath.h SplashPath.h SplashPattern.h SplashScreen.h SplashState.h SplashT1Font.h SplashT1FontEngine.h SplashT1FontFile.h SplashTypes.h SplashXPath.h SplashXPathScanner.h '/usr/local/Cellar/poppler/0.20.2/include/poppler/splash'
Making install in poppler
CXX DCTStream.lo
CXX SplashOutputDev.lo
CXX JPXStream.lo
CXX Annot.lo
CXX Array.lo
CXX BuiltinFont.lo
CXX BuiltinFontTables.lo
CXX CachedFile.lo
CXX Catalog.lo
CXX CharCodeToUnicode.lo
CXX CMap.lo
CXX DateInfo.lo
CXX Decrypt.lo
CXX Dict.lo
CXX Error.lo
CXX FileSpec.lo
CXX FontEncodingTables.lo
CXX Form.lo
CXX FontInfo.lo
CXX Function.lo
CXX Gfx.lo
CXX GfxFont.lo
CXX GfxState.lo
CXX GlobalParams.lo
CXX Hints.lo
CXX JArithmeticDecoder.lo
CXX JBIG2Stream.lo
CXX Lexer.lo
CXX Linearization.lo
CXX Link.lo
CXX LocalPDFDocBuilder.lo
CXX Movie.lo
CXX NameToCharCode.lo
CXX Object.lo
CXX OptionalContent.lo
CXX Outline.lo
CXX OutputDev.lo
CXX Page.lo
CXX PageTransition.lo
CXX Parser.lo
CXX PDFDoc.lo
CXX PDFDocEncoding.lo
CXX PDFDocFactory.lo
CXX PopplerCache.lo
CXX ProfileData.lo
CXX PreScanOutputDev.lo
CXX PSTokenizer.lo
CXX Rendition.lo
CXX StdinCachedFile.lo
CXX StdinPDFDocBuilder.lo
CXX Stream.lo
CXX strtok_r.lo
CXX UnicodeMap.lo
CXX UnicodeTypeTable.lo
CXX ViewerPreferences.lo
CXX XRef.lo
CXX PSOutputDev.lo
CXX TextOutputDev.lo
CXX PageLabelInfo.lo
CXX SecurityHandler.lo
CXX Sound.lo
CXX XpdfPluginAPI.lo
CXX CairoFontEngine.lo
CXX CairoOutputDev.lo
In file included from CairoFontEngine.cc:39:
./CairoFontEngine.h:36:10: fatal error: 'cairo-ft.h' file not found
#include <cairo-ft.h>
^
CairoOutputDev.cc:45:10: fatal error: 'cairo.h' file not found
#include <cairo.h>
^
1 error generated.
make[1]: *** [CairoFontEngine.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[1]: *** [CairoOutputDev.lo] Error 1
make: *** [install-recursive] Error 1
config.log was copied to /Users/mgualt/Library/Logs/Homebrew
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: 82a1481f6fa824816bbf2bdeb53fd1933a1a15f2
CPU: dual-core 64-bit penryn
OS X: 10.7.4-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 in /opt/X11
LD: cc
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local:/usr/X11
CMAKE_INCLUDE_PATH: /usr/X11/include/freetype2:/usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: Failed executing: make install (poppler.rb:35)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
@coolwanglu
Copy link

It appears that your it cannot locate the header files of cairo.
I'm not familiar with the environment of Mac.
Maybe give a try of MacPort?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment