2

当我尝试构建最新的 leksah(使用这些说明)时,我收到此错误:

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

有谁知道如何解决这一问题?

4

0 回答 0