Php PHC配置失败。Can';找不到boost库,但它';已安装
出于某种原因,当我尝试配置phc-0.2.0.3 oh my machine(Fedora Linux localhost.localdomain 2.6.34.6-47.fc13.i686#1 SMP Fri Aug 27 09:48:44 UTC 2010 i686 i686 i386 GNU/Linux)时,我得到以下错误:Php PHC配置失败。Can';找不到boost库,但它';已安装,php,build,compilation,Php,Build,Compilation,出于某种原因,当我尝试配置phc-0.2.0.3 oh my machine(Fedora Linux localhost.localdomain 2.6.34.6-47.fc13.i686#1 SMP Fri Aug 27 09:48:44 UTC 2010 i686 i686 i386 GNU/Linux)时,我得到以下错误: checking for boostlib >= 1.34.0... configure: error: We could not detect the boo
checking for boostlib >= 1.34.0... configure: error: We could not detect the boost libraries (version 1.34 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
及
两次我都犯了同样的错误。以下是phc的网站:
boost站点位于以下位置:
以前有人有过这个问题吗 我重新编译了PHP并安装了它。这就解决了问题。
如果您确定已安装boost,请查看您的版本号
-您做到了吗?我做到了#定义BOOST_版本104100
./configure --with-boost
./configure