[Haskell-beginners] Another install problem

Tom Murphy amindfv at gmail.com
Thu Jan 19 22:20:35 CET 2012


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



More information about the Beginners mailing list