首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows 8上运行堆栈生成语言-plutus-core时出错

在Windows 8上运行堆栈生成语言-plutus-core时出错
EN

Stack Overflow用户
提问于 2019-08-07 15:41:30
回答 1查看 114关注 0票数 0

当我运行命令stack build language-plutus-core时,我收到以下错误:

代码语言:javascript
复制
--  While building custom Setup.hs for package cryptonite-openssl-0.7 using:
      C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.4.0.1_ghc-8.6
.4.exe --builddir=.stack-work\dist\e626a42b configure --with-ghc=C:\Users...
    Process exited with code: ExitFailure 1
    Logs have been written to: C:\Projects\2019-08-07-Plutus\plutus-master\.stac
k-work\logs\cryptonite-openssl-0.7.log

    Configuring cryptonite-openssl-0.7...
    Cabal-simple_Z6RU0evB_2.4.0.1_ghc-8.6.4.exe: Missing dependencies on foreign  libraries:
    * Missing (or bad) C libraries: eay32, ssl32
    This problem can usually be solved by installing the system packages that
    provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
If the library files do exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.

有人知道怎么解决这个问题吗?我需要分别安装eay32和ssl32吗?

EN

回答 1

Stack Overflow用户

发布于 2019-08-07 15:51:18

考虑使用堆栈安装中的捆绑MSYS安装这些包。首先执行stack exec bash输入MSYS,然后在MSYS环境中使用pacman

捆绑pacman中的包来自MinGW32、MinGW64和MSYS2,因此大多数包(据我所用)都应该以mingw-w64-i686-mingw-w64-x86_64-作为前缀。有关详细信息,请参阅msys2的正式文档

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

https://stackoverflow.com/questions/57398020

复制
相关文章

相似问题

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