首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在win32-notify-0.3.0.1上cabal install hsdev失败

在win32-notify-0.3.0.1上cabal install hsdev失败
EN

Stack Overflow用户
提问于 2017-08-27 21:37:03
回答 1查看 112关注 0票数 2

我正在尝试安装hsdev,但在win32-notify-0.3.0.1上安装失败

代码语言:javascript
复制
Failed to install Win32-notify-0.3.0.1
Build log ( C:\Users\Chris\AppData\Roaming\cabal\logs\ghc-8.2.1\Win32-notify-0.3.0.1-4SkPzVSpsVh3tD4JgoFSXp.log ):
Preprocessing library for Win32-notify-0.3.0.1..
Building library for Win32-notify-0.3.0.1..
[1 of 2] Compiling System.Win32.FileNotify ( dist\build\System\Win32\FileNotify.hs, dist\build\System\Win32\FileNotify.o )

src\System\Win32\FileNotify.hsc:29:9: error:
    Ambiguous occurrence `fILE_LIST_DIRECTORY'
    It could refer to either `System.Win32.File.fILE_LIST_DIRECTORY',
                             imported from `System.Win32.File' at src\System\Win32\FileNotify.hsc:13:1-24
                          or `System.Win32.FileNotify.fILE_LIST_DIRECTORY',
                             defined at src\System\Win32\FileNotify.hsc:66:1
   |
29 |         fILE_LIST_DIRECTORY -- Access mode
   |         ^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory 'C:\Users\Chris\AppData\Local\Temp\cabal-tmp-11528\Win32-notify-0.3.0.1'
Installed unix-compat-0.4.3.1
cabal.exe: Error: some packages failed to install:
Win32-notify-0.3.0.1-4SkPzVSpsVh3tD4JgoFSXp failed during the building phase.
The exception was:
ExitFailure 1
fsnotify-0.2.1.1-JyIc8LmykhYJl0khTEfcky depends on fsnotify-0.2.1.1 which
failed to install.

这是我第一次尝试使用cabal,因此如果对调试有所帮助,我将不胜感激。

另外,我尝试安装它的原因是为了SublimeHaskell,它说找不到hsdev (我通过haskell -Platform安装了Haskell)。

EN

回答 1

Stack Overflow用户

发布于 2018-01-28 15:00:25

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45905528

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档