Oracle Http Server安装mod_python,运行报错fatal: Not a git repository (or any of the parent directories)
2016-08-15 09:57
633 查看
1 环境
环境:Centos6.5
python2.6.6
mod_python 3.5.0
ohs
2 报错
执行#make && make install
报错:
fatal: Not a git repository (or any of the parent directories): .git
安装后测试打开网页报错500内部服务器错误,后查看ohs日志如下
[mod_python.c] [host_id: ohs.xxxxxxx.com] [host_addr: 127.0.0.1] [tid: 140372429690624] [user: vagrant] [ecid: 005EThzoHfnFw000jzwkno0002zp000002] [rid: 0] [VirtualHost: main] make_obcallback: could not import mod_python.apache.\n
3 解决办法
#cd mod_python-3.5.0 #vi src/Makefile
修改
@MP_GIT_SHA=$$(git describe --always)为
@MP_GIT_SHA=$$()
#vi dist/version.sh
修改GIT=
git describe --always为 GIT=“
相关文章推荐
- JVM虚拟机内存及垃圾收集
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Oracle Containers for J2EE远程安全漏洞(CVE-2014-0413)
- Python将excel导入到mysql中
- Oracle 10g R2不能使用EM的问题