Illumina Solexa的CASAVA1.7 install時有個指令:
export BOOST_ROOT=/path_to_compiled_boost_directory/boost_1_41_0
第一次碰到boost的問題。
boost最新版本下載地址:
http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041
下載boost_1_39_0.tar.gz
tar -zxvf boost_1_39_0.tar.gz
然後進入解壓縮後的文件夾編譯boost的編譯器jam
http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041
下載boost_1_39_0.tar.gz
tar -zxvf boost_1_39_0.tar.gz
然後進入解壓縮後的文件夾編譯boost的編譯器jam
cd boost_1_39_0\tools\jam
./build_dist.sh
編譯完後在這個目錄下有編譯出來的bjam文件
./build_dist.sh
編譯完後在這個目錄下有編譯出來的bjam文件
boost_1_39_0\tools\jam\stage\bin.linuxx86
把他copy到boost_1_39_0 然後在這個目錄下運行命令編譯:
./bjam "-sTOOLS=gcc" "--includedir=/usr/include" "--libdir=/usr/lib/boost" install
開始編譯,等待編譯完成需要很長時間。
關於bjam後面的參數設置:
-sTOOLS=gcc 指定編譯器為GCC
--includedir=/usr/include/ 指定頭文件的安裝目錄,我安裝在/usr/include下。如果安裝成功,將在/usr/include/生成目錄boost_1_33,該目錄下就是boost的頭文件目錄
--libdir=/usr/lib/boost 指定boost的庫文件的存放位置, 生成的 .a .so 文件將放在該目錄下
install 編譯並安裝boost
./bjam "-sTOOLS=gcc" "--includedir=/usr/include" "--libdir=/usr/lib/boost" install
開始編譯,等待編譯完成需要很長時間。
關於bjam後面的參數設置:
-sTOOLS=gcc 指定編譯器為GCC
--includedir=/usr/include/ 指定頭文件的安裝目錄,我安裝在/usr/include下。如果安裝成功,將在/usr/include/生成目錄boost_1_33,該目錄下就是boost的頭文件目錄
--libdir=/usr/lib/boost 指定boost的庫文件的存放位置, 生成的 .a .so 文件將放在該目錄下
install 編譯並安裝boost
安裝的版本是boost_1_46_1。
這是另一個參考網頁:http://hi.baidu.com/j888z/blog/item/c85f2e0936155d1395ca6bb2.html
似乎比較正確一點。
這是另一個參考網頁:http://hi.baidu.com/j888z/blog/item/c85f2e0936155d1395ca6bb2.html
似乎比較正確一點。
沒有留言:
張貼留言