> I'm trying to build Gtk2Hs under GHC 6.6. I've built it successfully > under 6.4.1 and 6.4.2 -- no muss, no fuss, no bother. Something big > seems to have changed in 6.6, however, that breaks the Gtk2Hs build in a > bad way. Here are some representative errors: > > First, we see that it did find the right GHC version: > > checking for ghc... /usr/local/bin/ghc > checking version of GHC... 6.6 > checking for ghc-pkg... /usr/local/bin/ghc-pkg > > > But now we get some strange package problems. Each of these is a > representative. The full build has dozens of these -- I think I've got > each flavour though: > > > tools/c2hs/base/general/Binary.hs:59:7: > Could not find module `Data.FiniteMap': > Use -v to see a list of the files searched for. > make[1]: *** Deleting file `tools/c2hs/c2hsLocal.deps' > > tools/c2hs/base/admin/Common.hs:54:0: > Failed to load interface for `Config': > it is a member of package ghc-6.6, which is hidden > make[2]: *** [tools/c2hs/base/admin/Common.o] Error 1 > make[2]: Leaving directory > `/home/michael/Development/Gtk2Hs/gtk2hs-0.9.10' > make[1]: *** [glib/System/Glib/Types.hs] Error 2 > make[1]: Leaving directory > `/home/michael/Development/Gtk2Hs/gtk2hs-0.9.10' > > <no location info>: can't find file: glib/System/Glib/Types.hs > make: *** Deleting file `glib/libHSglib_a.deps' > > glib/System/Glib.hs:12:0: > Failed to load interface for `System.Glib.UTFString': > Use -v to see a list of the files searched for. > make[1]: *** [glib/System/Glib.o] Error 1 > make[1]: Leaving directory > `/home/michael/Development/Gtk2Hs/gtk2hs-0.9.10' > make: *** [all] Error 2 > > > So I'm left with the question: what am I doing wrong (if anything)? Or > what do I need to do to get Gtk2Hs to compile under 6.6?
The problem is that gkt2hs 0.9.10 doesn't support GHC 6.6. Try the darcs version instead: darcs get --partial http://darcs.haskell.org/gtk2hs/ As usual, it will be released when it's ready :) Cheers, Lennart Kolmodin _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
