用Mingw在Windows上获得Python支持的来源构建GDB(来自MSYS2)

发布于 2025-02-08 06:03:54 字数 570 浏览 1 评论 0原文

我试图从包括Python支持在内的来源建立GDB。它在Linux上正常工作,但在Windows上无法正常工作。该构建无法正确找到Python。

我使用来自

我已经尝试使用Python安装以下方法:

  • 通过pacman -s python安装python,并使用- with-python - > FAILED
  • 安装Python通过pacboy -s python,并使用- with-python - &gt运行脚本配置。失败的
  • 运行配置脚本使用- with-python = python3 - >失败的
  • 安装python3 local在Windows上并提供路径 - 使用-python =/path/to/python3 - >失败的

构建以消息配置结束:错误:Python缺少或无法使用

谁能指导我如何正确安装Python?

I tried to build GDB from sources including Python support. It works properly on Linux but on Windows it is not working. The build is unable to find python properly.

I use Mingw32 shell from MSYS2 installed from https://www.msys2.org/.

I already tried with Python installed the following ways:

  • Install Python via pacman -S python and run configure script with --with-python -> failed
  • Install Python via pacboy -S python and run configure script with --with-python -> failed
  • run configure script with --with-python=python3 -> failed
  • Install Python3 local on Windows and provide path - run configure script with --with-python=/path/to/python3 -> failed

The build ends with the message configure: error: python is missing or unusable.

Can anyone guide me how to install python properly?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文