From: Roly P. <ro...@mp...> - 2011-10-24 11:19:14
|
Hi, I've (apparently) successfully installed gtk2hs-buildtools, glib, gio, pango and cairo, using Cabal, but when I run cabal install gtk, I am unable to get past the following error message: Graphics/UI/Gtk/Printing/PrintSettings.chs:1013:2: Not in scope: `printSettingsGetScale' Graphics/UI/Gtk/Printing/PrintSettings.chs:1014:2: Not in scope: `printSettingsSetScale' Graphics/UI/Gtk/Printing/PrintSettings.chs:1019:2: Not in scope: `printSettingsGetPrintPages' Graphics/UI/Gtk/Printing/PrintSettings.chs:1020:2: Not in scope: `printSettingsSetPrintPages' cabal: Error: some packages failed to install: gtk-0.12.1 failed during the building phase. The exception was: ExitFailure 1 I believe I have libgtk2.0 installed at version 2.12. From Googling the Haskell sources it seems I need v2.1+ of Gtk for the printing APIs, if I'm understanding the comment correctly (so I should be ok). Any pointers/suggestions welcome. I'm using GHC 6.12.1. many thanks Roly |