id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
715,glib should require gtk2hs-buildtools,JadeNB,,"I just installed GHC 6.12.3 (it's not an option on the drop-down GHC version menu, which is why I said 6.12.2 there) and Haskell Platform on Mac OS X Leopard (10.5.8) from source, and tried to install glib.  I got:
{{{
$ 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
}}}
Running
{{{
$ cabal install gtk2hs-buildtools
...
$ cabal install glib
...
}}}
works fine, so I think that it is just a missing dependency.",defect,closed,normal,,Cabal library,1.6.0.3,normal,invalid,,,unknown,6.12.2,Mac OS
