在vista上构建Apache

在vista上构建Apache,apache,makefile,windows-vista,mod-proxy,Apache,Makefile,Windows Vista,Mod Proxy,我试图通过MINGW在VISTA上构建Apache2.4.9 当我做到这一点时,会显示以下消息 mod_proxy.c:2700:1: error: initializer element is not constant In file included from c:/devel/apache/httpd-2.4.9/include/util_mutex.h:30:0, from mod_proxy.h:47, from mo

我试图通过MINGW在VISTA上构建Apache2.4.9

当我做到这一点时,会显示以下消息

mod_proxy.c:2700:1: error: initializer element is not constant
In file included from c:/devel/apache/httpd-2.4.9/include/util_mutex.h:30:0,
                 from mod_proxy.h:47,
                 from mod_proxy.c:17:
modules/generators/.libs/libmod_status.a(mod_status.o): In function `status_hand
ler':
c:\devel\apache\httpd-2.2.27\modules\generators/mod_status.c:825: undefined refe
rence to `_imp__ap_run_status_hook@8'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [httpd] Error 1
有人知道如何解决这个问题吗

我用下面的命令行配置了它

./configure --prefix=/c/opt/apache --with-apr=/c/opt/apache --with-apr-util=/c/opt/apache --with-pcre=/c/opt/pcre --with-ssl=/c/opt/openssl --disable-ratelimit --disable-mod_proxy
如果我更改为Apache2.4.7并运行make,则会显示以下消息

mod_proxy.c:2700:1: error: initializer element is not constant
In file included from c:/devel/apache/httpd-2.4.9/include/util_mutex.h:30:0,
                 from mod_proxy.h:47,
                 from mod_proxy.c:17:
modules/generators/.libs/libmod_status.a(mod_status.o): In function `status_hand
ler':
c:\devel\apache\httpd-2.2.27\modules\generators/mod_status.c:825: undefined refe
rence to `_imp__ap_run_status_hook@8'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [httpd] Error 1

我无法解决这些问题。

什么是vistapache?你为什么要构建它而不是下载二进制文件呢?我想在vista上构建的原因就是charange。