用Mingw在Windows上获得Python支持的来源构建GDB(来自MSYS2)
我试图从包括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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论