[Haskell-beginners] stack issues
frantisek kocun
frantisek.kocun at gmail.com
Fri Jan 8 04:13:36 UTC 2016
Found that gtk was not installed. So I did
brew install gtk
but I got different problem
[ 22 of 209] Compiling Graphics.UI.Gtk.Embedding.Plug (
.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Graphics/UI/Gtk/Embedding/Plug.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Graphics/UI/Gtk/Embedding/Plug.o
)
Graphics/UI/Gtk/Embedding/Plug.chs:120:6:
Couldn't match expected type ‘Ptr ()’
with actual type ‘Maybe DrawWindow’
In the first argument of ‘gtk_plug_new’, namely
‘(fromNativeWindowId (fromMaybe nativeWindowIdNone socketId))’
In the second argument of ‘($)’, namely
‘gtk_plug_new
(fromNativeWindowId (fromMaybe nativeWindowIdNone socketId))’
On Thu, Jan 7, 2016 at 10:46 PM, frantisek kocun <frantisek.kocun at gmail.com>
wrote:
> Hi,
>
> I'm new to cabal/stack. I want to use "stack build" to build my project.
>
> I can not use latest gkt >= 0.14.2 because of
> setup: The pkg-config package 'cairo' version >=1.2.0 is required but
> it could
>
> Neither can I now use older version gtk >=0.12.0 && < 0.13
>
> While constructing the BuildPlan the following exceptions were encountered:
>
> -- Failure when adding dependencies:
>
> gtk: needed (>=0.12.0 && <0.13), 0.14.2 found (latest version
> available)
>
> needed for package: ships-0.1.0.0
>
>
>
> What can i do? Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160107/ed6388d5/attachment-0001.html>
More information about the Beginners
mailing list