Cannot build leksah 0.15.2.0 on linux

111 views Asked by At

When I try to build the latest leksah (using these instructions), I get this error:

src/IDE/TextEditor/CodeMirror.hs:225:38-56:
    Couldn't match type ‘Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase.OpaqueJSContext’
                   with ‘webkit-javascriptcore-0.13.1.1:Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase.OpaqueJSContext’
    NB: ‘Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase.OpaqueJSContext’
          is defined in ‘Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase’
              in package ‘webkitgtk3-javascriptcore-0.13.1.0’
        ‘webkit-javascriptcore-0.13.1.1:Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase.OpaqueJSContext’
          is defined in ‘Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase’
              in package ‘webkit-javascriptcore-0.13.1.1’
    Expected type: JSContextRef
      Actual type: Graphics.UI.Gtk.WebKit.JavaScriptCore.JSBase.JSGlobalContextRef
    In the ‘cmContext’ field of a record
    In the second argument of ‘($)’, namely ‘CodeMirrorState {..}’
cabal: Error: some packages failed to install:
leksah-0.15.2.0 failed during the building phase. The exception was:
ExitFailure 1

Does anyone know how to fix this?

0

There are 0 answers