Skip to content

Instantly share code, notes, and snippets.

@cczona
Created January 19, 2012 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cczona/1638500 to your computer and use it in GitHub Desktop.
Save cczona/1638500 to your computer and use it in GitHub Desktop.
brew install -v poppler --with-qt4 --enable-xpdf-headers
$ brew install -v poppler --with-qt4 --enable-xpdf-headers
==> Downloading http://poppler.freedesktop.org/poppler-0.18.2.tar.gz
File already downloaded in /Users/cczona/Library/Caches/Homebrew
/usr/bin/tar xf /Users/cczona/Library/Caches/Homebrew/poppler-0.18.2.tar.gz
Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtCore' found
Package QtGui was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtGui.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtGui' found
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/poppler/0.18.2 --enable-xpdf-headers --enable-poppler-qt4
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/poppler/0.18.2 --enable-xpdf-headers --enable-poppler-qt4
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 for style of include used by make... GNU
checking for gcc... /usr/bin/llvm-gcc
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/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/llvm-gcc... none
checking how to run the C preprocessor... /usr/bin/llvm-gcc -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 whether byte ordering is bigendian... no
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking how to print strings... printf
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/llvm-gcc... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) 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 how to convert x86_64-apple-darwin11.2.0 file names to x86_64-apple-darwin11.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.2.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/llvm-gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/llvm-gcc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-gcc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-gcc static flag -static works... no
checking if /usr/bin/llvm-gcc supports -c -o file.o... yes
checking if /usr/bin/llvm-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-gcc linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.2.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 gcc... (cached) /usr/bin/llvm-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/llvm-gcc accepts -g... (cached) yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/llvm-gcc... (cached) none
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/llvm-g++ accepts -g... yes
checking dependency style of /usr/bin/llvm-g++... none
checking how to run the C++ preprocessor... /usr/bin/llvm-g++ -E
checking for ld used by /usr/bin/llvm-g++... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking for /usr/bin/llvm-g++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-g++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-g++ static flag -static works... no
checking if /usr/bin/llvm-g++ supports -c -o file.o... yes
checking if /usr/bin/llvm-g++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking for library containing strerror... none required
checking for /usr/bin/llvm-gcc option to accept ISO C99... -std=gnu99
checking for /usr/bin/llvm-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/llvm-g++ accepts -g... (cached) yes
checking dependency style of /usr/bin/llvm-g++... (cached) none
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdint.h... (cached) yes
checking whether gettimeofday is declared... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for gethostbyname... (cached) yes
checking for nanosleep... yes
checking for opj_cio_open in -lopenjpeg... no
checking openjpeg.h usability... no
checking openjpeg.h presence... no
checking for openjpeg.h... no
checking for TIFFOpen in -ltiff... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseek64... no
checking for ftell64... no
checking for libjpeg6b... no
checking for libjpeg... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: WARNING: libjpeg not found. disable JPEG support.
checking for LIBPNG... yes
checking for FREETYPE... yes
checking which font configuration to use... fontconfig
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for POPPLER_GLIB... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for POPPLER_QT4... no
configure: error: Package requirements (QtCore >= 4.4.0 QtGui >= 4.4.0 QtXml >= 4.4.0) were not met:
No package 'QtCore' found
No package 'QtGui' found
No package 'QtXml' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables POPPLER_QT4_CFLAGS
and POPPLER_QT4_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/poppler.rb#L42
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 01b87a248d150fe9a9c28aa8bacbf7603492700a
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2 -msse4
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4
CPPFLAGS: -I/usr/X11/include
LDFLAGS: -L/usr/X11/lib -Wl,-F/usr/local/lib
MAKEFLAGS: -j4
Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/poppler/0.18.2 --enable-xpdf-headers --enable-poppler-qt4
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/9671
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment