httpd-2.4.9 rpm构建错误找不到文件mod_session_crypto.so,mod_mpm_event.so [英] httpd-2.4.9 rpm build error File not found mod_session_crypto.so,mod_mpm_event.so

查看:1406
本文介绍了httpd-2.4.9 rpm构建错误找不到文件mod_session_crypto.so,mod_mpm_event.so的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用命令
-tb httpd在CentOS 6最终64位中为 httpd-2.4.9 -2.4.x.tar.bz2 。但是我得到以下文件未找到错误:

I am trying to build an RPM for httpd-2.4.9 in CentOS 6 final 64 bit using command -tb httpd-2.4.x.tar.bz2. But I am getting following file not found error:

 RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/httpd-2.4.9-1.x86_64/usr/lib64/httpd/modules/mod_mpm_event.so
    File not found: /root/rpmbuild/BUILDROOT/httpd-2.4.9-1.x86_64/usr/lib64/httpd/modules/mod_session_crypto.so

任何人能帮我解决这个问题吗? / p>

Can any one help me sort out this issue?

推荐答案

我通过安装最新的APR和APR实用程序( http://apr.apache.org/ )从源代码,而不是从yum然后安装httpd。

I resolved this by installing the latest APR and APR Utility (http://apr.apache.org/) from source instead of pulling from yum and then installing httpd.

如果不安装加密库,您可能还需要更改APR实用程序的.spec文件中的一行。博客文章: http:/ /ramblin-dude.blogspot.com/2013/04/compiling-rpm-for-httpd-on-rhel-57.html 说明您需要更改 make check的行||退出1 make check ||继续,使其正确编译。我不知道这是否与CentOS 6相关,但在我的系统与CentOS 5我不得不这样做。

You may also need to change a line in the .spec file for the APR Utility if the crypto library will not install. The blog post at http://ramblin-dude.blogspot.com/2013/04/compiling-rpm-for-httpd-on-rhel-57.html explains that you need to change the line that reads make check || exit 1 to make check || continue for it to compile correctly. I'm not sure if this is relevant in CentOS 6 but in my system with CentOS 5 I had to do this.

这篇关于httpd-2.4.9 rpm构建错误找不到文件mod_session_crypto.so,mod_mpm_event.so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆