configure: error: xml2-config not found. Please check your libxml2 installation

问答中心分类: Linuxconfigure: error: xml2-config not found. Please check your libxml2 installation
ai517351411 asked 4年 ago

Configuring extensions
checking size of long… (cached) 8
checking size of int… (cached) 4
checking for int32_t… yes
checking for uint32_t… yes
checking for sys/types.h… (cached) yes
checking for inttypes.h… (cached) yes
checking for stdint.h… (cached) yes
checking for string.h… (cached) yes
checking for stdlib.h… (cached) yes
checking for strtoll… yes
checking for atoll… yes
checking for strftime… (cached) yes
checking whether to enable LIBXML support… yes
checking libxml2 install dir… /usr
checking for xml2-config path…
configure: error: xml2-config not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target \’install\’. Stop.
PHP install failed, Please Contact the author!
已杀死
root@test-server:/media/yd/550B4CB25F63C2C4# /bin/cp: cannot stat \’sapi/fpm/php-fpm.service\’: No such file or directory
Failed to enable unit: Unit file php-fpm.service does not exist.
Failed to start php-fpm.service: Unit php-fpm.service not found.
 
 
 
在deepin系统中 安装php7.0的时候报错的

1 Answers
oneinstack answered 4年 ago
已经修复,执行下面:

rm -f /root/.oneinstack
/root/oneinstack/upgrade.sh oneinstack
/root/oneinstack/install.sh