
I have fixed the issue on my end. The compiler was apparently confused
by the following import lines :
import qualified Graphics.UI.Gtk as G
import qualified Graphics.UI.Gtk.Gdk.Events as G
I changed the first to :
import qualified Graphics.UI.Gtk as Gtk
and make subsequent changes to the file System/Vacuum/Cairo.hs
A patch file is included.
-deech
On Sat, Dec 11, 2010 at 4:04 PM, aditya siram
Hi all, When I try to cabal install vacuum-cairo, I get the following error message : Resolving dependencies... Configuring vacuum-cairo-0.4.1... Preprocessing library vacuum-cairo-0.4.1... Building vacuum-cairo-0.4.1... [1 of 1] Compiling System.Vacuum.Cairo ( System/Vacuum/Cairo.hs, dist/build/System/Vacuum/Cairo.o )
System/Vacuum/Cairo.hs:239:17: Ambiguous occurrence `G.eventKeyName' It could refer to either `G.eventKeyName', imported from Graphics.UI.Gtk at System/Vacuum/Cairo.hs:21:0-36 or `G.eventKeyName', imported from Graphics.UI.Gtk.Gdk.Events at System/Vacuum/Cairo.hs:22:0-47
System/Vacuum/Cairo.hs:261:16: Ambiguous occurrence `G.eventKeyName' It could refer to either `G.eventKeyName', imported from Graphics.UI.Gtk at System/Vacuum/Cairo.hs:21:0-36 or `G.eventKeyName', imported from Graphics.UI.Gtk.Gdk.Events at System/Vacuum/Cairo.hs:22:0-47 cabal: Error: some packages failed to install: vacuum-cairo-0.4.1 failed during the building phase. The exception was: exit: ExitFailure 1
Can anyone shed some light? -deech