[Haskell-cafe] [SOLVED] Re: Issues Installing Vacuum-Cairo 0.4.1, gtk-0.12.0, GHC 6.12.3, Cairo 0.12.0
aditya siram
aditya.siram at gmail.com
Sun Dec 12 00:13:00 CET 2010
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 <aditya.siram at gmail.com> wrote:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System_Vacuum_Cairo.hs.patch
Type: text/x-diff
Size: 4281 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101211/a1aee2dc/attachment.patch>
More information about the Haskell-Cafe
mailing list