出于某种原因,我试图配置phc-0.2.0.3哦我的机器(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 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.
Boost已安装到/ usr / include / boost。我尝试将错误中指定的环境变量设置为$ BOOST_ROOT = / usr / include / boost,当这不起作用时我尝试了$ BOOST_ROOT = / usr / include。有一次,我尝试了
./configure --with-boost
和
./configure
两次我都得到同样的错误。这是phc的网站: http://www.phpcompiler.org/
提升网站在这里: http://www.randspringer.de/boost/ucl.html
以前有人有这个问题吗?
答案 0 :(得分:0)
我重新编译了PHP并安装了它。这解决了这个问题。