Download and install OpenXCAP
The software has the following dependencies, which you must install on your
operating system:
- LibXML (http://xmlsoft.org/downloads.html)
- Python 2.5 or newer (http://www.python.org)
- Twisted framework (http://twistedmatrix.com)
- Twisted Core, Twisted Web and Twisted Web 2 (http://twistedmatrix.com)
- python-lxml (http://codespeak.net/lxml)
- python-application (http://pypi.python.org/pypi/python-application)
- python-mysqldb
- python-xml (_xmlplus package provided by pyxml library)
- GnuTLS library (http://www.gnu.org/software/gnutls)
- python-gnutls (http://pypi.python.org/pypi/python-gnutls)
另外,上面没有提到需要安装Zope
http://www.zope.org/Products/
注意事项:
- Zope对于Python有特殊的版本依赖关系,不能太早,也不能太新;例如
versions are no longer supported. Python 2.5 is not supported
at this time.
Zope-2.11.2-final.gz <-- Python-2.4.6.tar.gz
Zope-2.10.7-final.gz <--
这就是出现 error: package directory 'build/lib/linux-i686-2/4/zope/app' does not exist 的原因
例如RHEL5.3自带的版本是Python2.4.3,所以不行。要先下载Python编译安装后,再重新编译Zope。因此,上面所说的需要Python 2.5 or newer是错误的。
另外
另外
./configure --prefix=/usr/local/zope2 --with-python=/usr/local/bin/python2.4
make
make install
没有评论:
发表评论