1

我正在尝试在我的 Windows 机器上安装带有 MinGW 的 log4cxx,但需要先安装 apr 和 apr-util。

我一直在关注Apache 网站上的指南,并安装了他们列出的 Python 版本,但收到关于找不到 Python 的错误:

$ buildconf
buildconf: checking installation...
buildconf: python not found.
           You need python installed
           to build APR from SVN.

我使用了指南中链接的Python 安装程序,所以我认为它是正确的版本。

我是否必须告诉 MinGW 或 MSYS Python 在哪里?如果是,我该怎么做?

此外,现在一切都在运行 32 位。

任何帮助,将不胜感激!

谢谢

4

2 回答 2

2

您需要将安装 Python 的位置添加到 PATH 环境变量中。我会转到以下链接,讨论在 Windows 中设置 PATH

于 2013-07-08T00:13:37.897 回答
1

you need to add the path in MinGw C:\MinGW\msys\1.0\etc in the fstab file as below

Win32_Path Mount_Point c:/mingw /mingw

c:/ActiveState/perl /perl

C:/Python25

于 2015-08-03T14:34:16.903 回答