赞
踩
环境:
Centos6.5
python2.6.6
mod_python 3.5.0
ohs
执行
#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
#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=“
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。