2
嘗試安裝節儉的時候我不能動搖這個錯誤:CentOS上安裝節儉:找不到升壓1.40或更高
./configure
...
checking for boostlib >= 1.40.0... configure: WARNING: We could not detect the boost libraries (version 1.40 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.
我使用CentOS的。按照節儉docs on CentOS,我已經做了
sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel
我使用--with-boost
無濟於事嘗試。
我也做:
[]# yum install boost141
Setting up Install Process
Package boost141-1.41.0-2.el5.x86_64 already installed and latest version
Nothing to do
[]# yum install boost141-devel
Setting up Install Process
Package boost141-devel-1.41.0-2.el5.x86_64 already installed and latest version
Package boost141-devel-1.41.0-2.el5.i386 already installed and latest version
Nothing to do
所以現在我有:
[[email protected] include]# find/-name boost
/usr/local/bin/boost
/usr/include/boost141/boost
/usr/include/boost
通過各種google搜索,我發現人們與此錯誤誰說,「哦,這是GCC- C++,我沒有安裝,'但據我所知,我已經安裝了gcc-C++:
[[email protected] boost]# yum install gcc-c++
rightscale-epel | 951 B 00:00
Setting up Install Process
Package gcc-c++-4.1.2-46.el5_4.2.x86_64 already installed and latest version
Nothing to do
有什麼建議嗎?提前致謝。