jhonglei

2014年5月25日 #

阿里巴巴的人还真是特立独行啊,往注册表里乱填



第一次见到这么奇怪的MIME Type,MIME能支持中文么?真是见鬼了。



posted @ 2014-05-25 03:31 honglei 阅读(183) | 评论 (0)编辑 收藏

2009年4月13日 #

OpenCAP安装配置所遇到的问题及解决方案

OpenCAP安装配置所遇到的问题及解决方案

版本:openxcap_1.0.7.tar.gz
编译平台: RHEL5.3/gcc 4.1.2/Python 2.4.3

Download and install OpenXCAP

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


但是,上面没有提到需要安装Zope,这就是出现 /usr/bin/openxcap start 无法启动的原因,会出现zope命名空间找不到的错误
网址:http://www.zope.org
注意事项:

  • 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  <-- Python-2.4.6.tar.gz
          这就是出现 error: package directory 'build/lib/linux-i686-2/4/zope/app' does not exist 的原因
         例如RHEL5.3自带的版本是Python2.4.3,所以不行。要先下载Python编译安装后,再重新编译Zope(如果原来因为Python版本错误安装不成功的话,要把原来的Zope编译目录删除,重新解压:rm -rf Zope-2.11.2-final;tar -zxvf Zope-2.11.2-final.gz )。因此,上面所说的需要Python 2.5 or newer是错误的。

$ ./configure --prefix=/usr/local/zope2 --with-python=/usr/local/bin/python2.4
$ make
# make install

这样:通过
$ /usr/bin/openxcap start
就可以启动了oepnxcap了

posted @ 2009-04-13 21:01 honglei 阅读(1136) | 评论 (0)编辑 收藏

OpenCAP安装配置所遇到的问题及解决方案

     摘要: OpenCAP 安装 配置 所遇到的问题及解决方案,需要安装Zope,而Zope对Python有版本依赖。
  阅读全文

posted @ 2009-04-13 21:01 honglei 阅读(1211) | 评论 (1)编辑 收藏

仅列出标题