id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1195,glib should depend on gtk2hs-buildtools,guest,somebody,"When I try to install GLib, I get the following error:
{{{
$ cabal install glib
Resolving dependencies...

/var/folders/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/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/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/Gtk2HsSetup.hs, /var/folders/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/dist/setup/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( /var/folders/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/Setup.hs, /var/folders/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/dist/setup/Main.o )
Linking /var/folders/9I/9Ic7OfDBGVmrCPM+NiQOAWp80Kc/-Tmp-/glib-0.11.092062/glib-0.11.0/dist/setup/setup ...
Configuring glib-0.11.0...
setup: gtk2hsC2hs is required but it could not be found.
cabal: Error: some packages failed to install:
glib-0.11.0 failed during the configure step. The exception was:
ExitFailure 1
}}}
Manually doing
{{{
$ cabal install gtk2hs-buildtools
...
$ cabal install glib
...
}}}
works fine.",defect,closed,normal,0.11.0,"general (Gtk+, Glib)",0.11.0,invalid,,JadeNB1729@…
