Ticket #1227 (closed defect: invalid)
pango fails to build, requires gtk2hs-buildtools
|Reported by:||guest||Owned by:||somebody|
|Component:||general (Gtk+, Glib)||Version:||0.11.0|
On a relatively clean linux system, pango failed to build with message:
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 ( /tmp/pango-0.12.032130/pango-0.12.0/Gtk2HsSetup.hs, /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( /tmp/pango-0.12.032130/pango-0.12.0/Setup.hs, /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/Main.o ) Linking /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/setup ... Configuring pango-0.12.0... setup: gtk2hsTypeGen: /home/ivan/.cabal/share/gtk2hs-buildtools-0.12.0/hierarchyGen/Hierarchy.chs.template: openFile: does not exist (No such file or directory) cabal: Error: some packages failed to install: pango-0.12.0 failed during the configure step. The exception was: ExitFailure? 1
After manually installing gtk2hs-buildtools, it installed without error.
I'm guessing pango needs to depend on gtk2hs-buildtools.