免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9086 | 回复: 3
打印 上一主题 下一主题

[Web] configure: error: XML configuration could not be found [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-14 17:34 |只看该作者 |倒序浏览
大家好我编译安装php5.2的时候出现问题,我的编译参数如下:
./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl

编译出现的错误如下:
Running FastCGI Process Manager checks
checking for php-fpm config file path... $prefix/etc/php-fpm.conf
checking for php-fpm log file path... $prefix/logs/php-fpm.log
checking for php-fpm pid file path... $prefix/logs/php-fpm.pid
checking for XML configuration
checking for xml2-config... no
checking for xml-config... no
configure: error: XML configuration could not be found

这个是缺少哪个包吗??在网上没找到相关的内容,请高手指点!非常感谢!

论坛徽章:
0
2 [报告]
发表于 2008-10-15 11:46 |只看该作者
解决了,yum -y install libxml2 libxml2-devel

论坛徽章:
0
3 [报告]
发表于 2011-08-13 11:36 |只看该作者
安装libxml2 libxml2-devel 确实搞定了,谢谢LZ分享。

论坛徽章:
0
4 [报告]
发表于 2011-08-28 00:22 |只看该作者
回复 1# 飞鸿无痕


    来晚了一点,楼上的说得很对,缺少libxml2 libxml2-devel 编译包
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP