
Hi, Sorry to copy-paste more install errors, but this one has been confusing me for a while: Summary: "The pkg-config package poppler-glib version >=0.12.4 is required but it could not be found." I don't know how to fix this, as "poppler-glib" is not a package (and not a dependency). Thanks in advance! Tom $ cabal install poppler Resolving dependencies... /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Gtk2HsSetup.hs:25:0: warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command) [1 of 2] Compiling Gtk2HsSetup ( /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Gtk2HsSetup.hs, /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Setup.hs, /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/Main.o ) Linking /var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/setup ... Configuring poppler-0.12.2... setup: The pkg-config package poppler-glib version >=0.12.4 is required but it could not be found. cabal: Error: some packages failed to install: poppler-0.12.2 failed during the configure step. The exception was: ExitFailure 1

On Thu, Jan 19, 2012 at 16:20, Tom Murphy
"The pkg-config package poppler-glib version >=0.12.4 is required but it could not be found." I don't know how to fix this, as "poppler-glib" is not a package (and not a dependency).
It's not a Haskell package, but a C package. pkg-config is a mostly portable mechanism C programs can use to find out the location of a C library package, and how to link against that package. One thing it can *not* help you with, though, is figuring out how to install said library on your platform. (And all I can recommend is, don't try to use MacPorts to install poppler, because you'll end up with a conflicting version of iconv. Fink or Homebrew may work better.) -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
participants (2)
-
Brandon Allbery
-
Tom Murphy