红联Linux门户
Linux帮助

linux中web服务器的配置

发布时间:2009-12-24 11:12:49来源:红联作者:chen163
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: libxml2 version 2.5.10 or greater required.
[root@BC php-5.0.4]# make
make: *** No targets specified and no makefile found. Stop.
[root@BC php-5.0.4]
libxml2也安装了,就是安装php,还是不成功.请问是什么问题呀??
文章评论

共有 4 条评论

  1. chen163 于 2009-12-26 15:50:51发表:

    这个问题解决了,安装一个libxml2-2.6.27.tar.gz数据包,在重新编译就可以了。

  2. two__fishes 于 2009-12-24 15:56:25发表:

    不知道你的这个libxml2是什么东西,看似安装文件有问题。

  3. chen163 于 2009-12-24 13:30:49发表:

    [root@localhost local]# rpm -Uvh libxml2-2.6.11-1.i386.rpm
    warning: libxml2-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
    error: Failed dependencies:
    libxml2 = 2.5.4 is needed by (installed) libxml2-devel-2.5.4-1
    [root@localhost local]# rpm -ivh libxml2-devel-2.6.11-1.i386.rpm
    warning: libxml2-devel-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
    error: Failed dependencies:
    libxml2 = 2.6.11 is needed by libxml2-devel-2.6.11-1
    [root@localhost local]# rpm -ivh libxml2-python-2.6.11-1.i386.rpm
    warning: libxml2-python-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
    error: Failed dependencies:
    libxml2 = 2.6.11 is needed by libxml2-python-2.6.11-1
    [root@localhost local]#
    更新不了!!

  4. two__fishes 于 2009-12-24 11:38:41发表:

    1:从日志上看libxml2好像没装,因为明确报错了,或者路径配置有问题。
    2:你的makefile文件不存在,是不是目录不对,pwd检查一下,
    而且make后面需要加参数,比如“make aa”。