- 论坛徽章:
- 1
|
今天装libtorrent-rasterbar-0.14.10,编译的时候需要boostlib,如下:- checking for boostlib >= 1.35... no
- checking for boostlib >= 1.34... 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,如下:- The Boost C++ Libraries were successfully built!
- The following directory should be added to compiler include paths:
- /Data/software/boost_1_43_0
- The following directory should be added to linker library paths:
- /Data/software/boost_1_43_0/stage/lib
复制代码 再去编译libtorrent-rasterbar-0.14.10,问题依旧。路径分别导入到了C_INCLUDE_PATH和LIBRARY_INCLUDE_PATH,也都export了,但还是有问题。
环境:- [root@lee-Linux libtorrent-rasterbar-0.14.10]# uname -a
- Linux lee-Linux 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:01:26 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
复制代码- [root@lee-Linux libtorrent-rasterbar-0.14.10]# gcc --version
- gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
- Copyright (C) 2006 Free Software Foundation, Inc.
- 本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
- 包括没有适销性和某一专用目的下的适用性担保。
复制代码 google了挺长时间,也没有解决。
不知道各位能不能给点儿帮助,谢谢了。 |
|