- 論壇徽章:
- 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.
復(fù)制代碼 編譯安裝完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
復(fù)制代碼 再去編譯libtorrent-rasterbar-0.14.10,問題依舊。路徑分別導(dǎo)入到了C_INCLUDE_PATH和LIBRARY_INCLUDE_PATH,也都export了,但還是有問題。
環(huán)境:- [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
復(fù)制代碼- [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.
- 本程序是自由軟件;請參看源代碼的版權(quán)聲明。本軟件沒有任何擔(dān)保;
- 包括沒有適銷性和某一專用目的下的適用性擔(dān)保。
復(fù)制代碼 google了挺長時間,也沒有解決。
不知道各位能不能給點兒幫助,謝謝了。 |
|