即使配置完成且没有错误,也无法在Red Hat中创建Mod_mono

时间:2013-10-22 21:59:51

标签: linux apache mono redhat mod-mono

我已成功运行mod_mono的配置脚本,但在RHEL 5服务器上创建mod_mono时会收到多条错误消息。我使用以下选项运行configure:./ configure --with-apr-config = / usr / local / bin / apr-1-config --with-apu-config = / usr / local / bin / apu-1- config --with-apxs = / usr / local / bin / apxs --prefix = / usr / local

我安装了apache 2.4.6以及mono 2.10.2。这些是来自make的错误消息:

mod_mono.c: In function âapache_get_useridâ:
mod_mono.c:389: error: âunixd_configâ undeclared (first use in this function)
mod_mono.c:389: error: (Each undeclared identifier is reported only once
mod_mono.c:389: error: for each function it appears in.)
mod_mono.c: In function âapache_get_groupidâ:
mod_mono.c:399: error: âunixd_configâ undeclared (first use in this function)
mod_mono.c: In function âapache_get_usernameâ:
mod_mono.c:409: error: âunixd_configâ undeclared (first use in this function)
mod_mono.c: In function âensure_dashboard_initializedâ:
mod_mono.c:488: warning: implicit declaration of function âunixd_set_global_mutex_permsâ
mod_mono.c: In function âconnection_get_remote_portâ:
mod_mono.c:854: warning: implicit declaration of function âapr_sockaddr_port_getâ
mod_mono.c:854: error: âconn_recâ has no member named âremote_addrâ
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1

我完全陷入困境,几天来一直在寻找解决方案,但无济于事。在这方面的任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:0)

我已经解决了我的问题。最简单的方法是使用yum按照以下url中提到的步骤安装monodevelop: http://mostlylinux.com/tmp/?p=91