我在Linux (Linux Mint64位)上编译CoreCLR时遇到了问题。有一个错误和两条消息(很抱歉从我的语言翻译过来):
-- Configuring incomplete, errors occurred!
See also "/home/mdev/Desktop/runtime/artifacts/obj/coreclr/Linux.x64.Checked/CMakeFiles/CMakeOutput.log".
See also "/home/mdev/Desktop/runtime/artifacts/obj/coreclr/Linux.x64.Checked/CMakeFiles/CMakeError.log".
/home/mdev/Desktop/runtime/src/coreclr
Executing cmake --build "/home/mdev/Desktop/runtime/artifacts/obj/coreclr/Linux.x64.Checked" --target install -- -j 4
make: *** There are no rules to execute the object 'install'. Stop.
Failed to build "CoreCLR component".
/home/mdev/Desktop/runtime/src/coreclr/runtime.proj(38,5): error MSB3073: Command „"/home/mdev/Desktop/runtime/src/coreclr/build-runtime.sh" -x64 -checked -os Linux” has been finished with error code 2.
Compilation WAS NOT SUCCESSFUL.
/home/mdev/Desktop/runtime/src/coreclr/runtime.proj(38,5): error MSB3073: Command „"/home/mdev/Desktop/runtime/src/coreclr/build-runtime.sh" -x64 -checked -os Linux” has been finished with error code 2.
Warnings: 0
Errors: 1https://pastebin.com/tZ6rFDqC这是来自官方.NET运行时存储库的build.sh的输出,如何安装这些未找到的软件包?
发布于 2020-12-12 01:07:35
以下是您的构建日志中的错误消息:
CMake Error at /home/mdev/Desktop/runtime/src/libraries/Native/Unix/System.Net.Security.Native/extra_libs.cmake:18 (message):
Cannot find libgssapi_krb5 and System.Net.Security.Native cannot build
without it. Try installing libkrb5-dev (or the appropriate package for
your platform)您能安装kerberos开发头文件吗?确切的命令取决于您的发行版。例如,它在Fedora上是dnf install krb5-devel。
https://stackoverflow.com/questions/65253032
复制相似问题