我目前正在尝试在 OpenSUSE 上安装 Mono 3.0.3。我已经从各自的 tar 文件中编译并安装了每个部分(mono 3.0.3、XSP 2.10.1 和 Apache HTTPD 2.4.3),但是 mod_mono 2.10(和 2.8)都抛出编译错误。
在编译和安装每个部分时,我确保所有前缀都相同:
./configure --prefix=/usr/local
make
make install
但是 make 导致 mod_mono 输出以下内容:
...SNIP...
mod_mono.c: In function ‘send_initial_data’:
mod_mono.c:1981:44: error: ‘conn_rec’ has no member named ‘remote_ip’
mod_mono.c:2029:54: error: ‘conn_rec’ has no member named ‘remote_ip’
mod_mono.c: In function ‘apache_get_groupid’:
mod_mono.c:403:1: warning: control reaches end of non-void function [-Wreturn-type]
mod_mono.c: In function ‘apache_get_userid’:
mod_mono.c:393:1: warning: control reaches end of non-void function [-Wreturn-type]
mod_mono.c: In function ‘apache_get_username’:
mod_mono.c:413:1: warning: control reaches end of non-void function [-Wreturn-type]
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1
有人见过这个吗?有解决办法吗?还是 mod_mono 根本不适用于 mono 3.0.3 或 Apache 2.4.3?