当我运行命令stack build language-plutus-core时,我收到以下错误:
-- 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吗?
发布于 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的正式文档。
https://stackoverflow.com/questions/57398020
复制相似问题