2009年4月13日星期一

OpenCAP安装配置


Download and install OpenXCAP


The software has the following dependencies, which you must install on your
operating system:



另外,上面没有提到需要安装Zope

http://www.zope.org/Products/

注意事项:

  • Zope对于Python有特殊的版本依赖关系,不能太早,也不能太新;例如 
         Zope 2.11/2.10 requires Python 2.4.5 (Python 2.4.4 is still acceptable). Older 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



没有评论: