PHP 编译错误及解决办法
./configure的时候出现如下错误:configure:error:xslt-confignotfound.Pleasereinstallthelibxslt>=1.1.0distribution解决方法:yuminstalllibxslt-devel*-y错误1checkingforxml2-configpath...configure:error:xml2-confignotfound.Pleasecheckyourlibxml2installation.解决办法:#yum-yinstalllibxml2-devel错误2checkingforBZip2indefaultpath...notfoundconfigure:error:PleasereinstalltheBZip2distribution解决办法:#yuminstall-ybzip2-devel错误3Ifconfigurefailstry--with-vpx-dir=configure:error:png.hnotfound.解决办法:#yum-yinstalllibpng-devel错误4Ifconfigurefailstry--with-xpm-dir=configure:error:freetype.hnotfound.解决办法:#yum-yinstallfreetype-devel错误5checkingforspecifiedlocationoftheMySQLUNIXsocket...noconfigure:error:CannotfindMySQLheaderfilesunder/usr/local/mysql.NotethattheMySQLclientlibraryisnotbundledanymore!解决办法:安装mysql错误6configure:error:mcrypt.hnotfound.Pleasereinstalllibmcrypt.解决办法:安装libmcryptwgetftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gztar-zxvflibmcrypt-2.5.7.tar.gzcdlibmcrypt-2.5.7mkdir-p/usr/local/libmcrytp./configureprefix=/usr/local/libmcrytp/makemakeinstall
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。