簡體   English   中英

PHC配置失敗。 找不到Boost庫,但已安裝

[英]PHC Configure fails. Can't find boost library but it's installed

由於某些原因,當我嘗試配置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

有人遇到過這個問題嗎?

我重新編譯並安裝了PHP。 那解決了問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM