MSYS2中的堆栈额外包含

时间:2016-09-14 11:57:46

标签: haskell haskell-stack

我在Windows 10上使用MSYS2 在MINGW64 shell中,我尝试安装需要ncurse.h的砖包

stack install brick

我在stack.yaml添加了包含路径 但堆栈仍然抱怨: 任何想法如何解决这个问题?

brick-0.1.0.0: build
Preprocessing library brick-0.1.0.0...
In-place registering brick-0.1.0.0...
setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe: 'C:\Users\user\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.3\bin\ghc-pkg.exe'
exited with an error:
brick-0.1.0.0: Warning: haddock-interfaces: C:\msys64\home\  user\haskell\brick\.stack-work\dist\2672c1f3\doc\html\brick\brick.haddock
doesn't exist or isn't a file
brick-0.1.0.0: Warning: haddock-html: C:\msys64\home\user\haskell\brick\.stack-work\dist\2672c1f3\doc\html\brick doesn't exist or
isn't a directory
brick-0.1.0.0: include-dirs: /usr/include/ncurses is a relative path which
makes no sense (as there is nothing for it to be relative to). You can make
paths relative to the package database itself by using ${pkgroot}. (use
--force to override)

--  While building package brick-0.1.0.0 using:
      C:\Users\user\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe --builddir=.stack-work\dist\2672c1f3 build lib:brick exe:brick-exe --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

0 个答案:

没有答案