
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、ice在linux下的完整編譯安裝ice在linux下的完整編譯安裝 安裝平臺要求:最好用gcc 4.x版編譯ice,在slackware下發覺gcc3.3.6和gcc3.4.6都無法編譯通過 為了便利管理,將ice相關的軟件都安裝到/usr/local/ice-3.3.0/名目下 安裝python ./configure -shar make make install 首先 安裝第三方包:thirdparty-sources-3.3.0.tar.gz thirdparty-sources-3.3.0.tar.gz thirdparty-sources-3.3.0 1)pp is a c/c+
2、 preprocessor - 解壓 mp-2.7.2.tar.gz cd mcpp-2.7.2 ./configure -prefix=/usr/local/ice-3.3.0/mcpp-2.7.2/ cflags=-fpic -enable-mcpplib -disable-shared make make install 2)berkeley db 是一個高性能的,嵌入數據庫編程庫,和c語言, c+, java, perl, python, tcl以及其他無數語言都有綁定。 - 解壓 db-4.6.21.nc.tar.gz cd db-4.6.21.nc cd build_unix ./
3、dist/configure -prefix=/usr/local/ice-3.3.0/berkeleydb.4.6/ -enable-cxx make make install 3)b2 是 julian seward 開發并根據自由軟件/開源軟件協議發布的數據算法及程序 - 解壓 -1.0.5.tar.gz cd bzip2-1.0.5 修改make,將prefix指向/usr/local/ice-3.3.0/bzip2-1.0.5 make make install 4) pat 是一個 xml parsing c library - 解壓 expat-2.0.1.tar.gz cd e
4、xpat-2.0.1 ./configure -prefix=/usr/local/ice-3.3.0/expat-2.0.1/ make make install 5) openssl 是 secure socket layer (ssl) binary and related cryptographic too - 解壓 openssl-0.9.8g.tar.gz cd openssl-0.9.8g ./config -prefix=/usr/local/ice-3.3.0/openssl make make install 現在正式安裝 ice-3.3.0.tar.gz - 解壓 ice
5、-3.3.0.tar.gz 1) 編譯 cpp版本: cd ice-3.3.0/cpp vi config/make.rules . select an installation base directory. the directory will be created if it does not exist. prefix ?= /opt/ice-$(version) prefix ?= /usr/local/ice-3.3.0/ice-$(version) the "root directory" for runpath embeed in exeables. can
6、 be adding a runpath to ice executables. embedded_runpath_prefix ?= /opt/ice-$(version_major).$(version_minor) embedded_runpath_prefix ?= /usr/local/ice-3.3.0/ice-$(version_major).$(version_minor) . if libbzip2 is not installed in a standard loion where the compiler can it, set bzip2_home to the bzi
7、p2 installation directory. bzip2_home ?= /bzip2-1.0.5 if berkeley db is not installed in a standard location where the compiler can find it, set db_home to the berkeley db installation directory. db_home ?= /opt/db db_home ?= /usr/local/ice-3.3.0/berkeleydb.4.6 if expat is not installed in a standar
8、d location where the compiler can find it, set expat_home to the expat installation directory. expat_home ?= /opt/expat expat_home ?= /usr/local/ice-3.3.0/expat-2.0.1 if openssl is not installed in a standard location where the compiler can find it, set openssl_home to the openssl installation direc
9、tory. openssl_home ?= /opt/openssl openssl_home ?= /usr/local/ice-3.3.0/openssl if mcpp is not installed in a standard location where the compiler can find it, set mcpp_home to the mcpp installation directory. mcpp_home ?= /opt/mcpp mcpp_home ?= /usr/local/ice-3.3.0/mcpp-2.7.2 . 特殊注重: cpp/config/mak
10、e.rules的相關第三方庫的路徑 make make install 2)編譯python 版本 cd ice-3.3.0/py vi config/make.rules 修改辦法參考cpp部分描述 make make install 設置ice環境變量 vi /etc/profile pythonpath=/usr/local/ice-3.3.0/ice-3.3/python/: export ice_home=/usr/local/ice-3.3.0/ice-3.3 export path=$path:$ice_home/bin export ld_library_path=$ice_h
11、ome/lib export path user logname mail hostname histsize inputrc ice_home source /etc/profile 安裝過程浮現的問題: 第一 /usr/bin/ld: /usr/local/python27/lib/python2.7/config/libpython2.7.a(absact.o): relocation r_x86_64_32 against a local symbol' can not be u when making a shared object; recompile with -fpic
12、 /usr/local/python27/lib/python2.7/config/libpython2.7.a: could not read symbols: bad value 解決:重新安裝python 加入-enable-shared 其次 error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file 解決: whereis libpython2.7.so.1.0 lb_debug=libs python v 查看缺少的庫 做個軟銜接即可 第三 ice的編譯報錯 libice.so: undefined referee to libiconv',解決: 這個問題很惡心,是ice自己makefile的問題,找到cpp/config/makefile.rules中,找到193行 : iconv_libs = $(if $(iconv_home),-l$(iconv_home)/$(libbdi
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 版人力資源公司勞務協作合同樣本
- 股權投資退出合同范本
- 個人車輛抵押合同
- 普法宣講【法律學堂】第二十一章 刑事附帶民事起訴狀-ldfjxs004
- 肇慶市實驗中學高三上學期語文高效課堂教學設計:語言運用擴展語段
- 張家口學院《高級視唱》2023-2024學年第一學期期末試卷
- 江蘇省南京市建鄴區金陵河西區市級名校2025屆初三下學期第四次模擬考試物理試題試卷含解析
- 新疆阿克蘇地區烏什縣二中2025年高三第二次診斷性測試生物試題試卷含解析
- 江蘇省鹽城市部分地區2025年初三5月月考數學試題文試題含解析
- 長沙航空職業技術學院《虛擬現實交互設計》2023-2024學年第二學期期末試卷
- (中職中專)汽車修理基本技能完整版課件匯總全書電子教案(最新)
- 人員進出潔凈區更衣流程圖
- 林業政策法規考試題庫(含答案)
- 機械、設備掛靠協議范本、合同、合約
- 管理前沿理論試題總結
- 馬坑鐵礦450-200鉬礦床的地下開采方案設計采礦工程專業畢業設計畢業論
- 高三英語教研組建設(課堂PPT)
- 排水管道非開挖預防性修復可行性研究報告
- 讀書知識競賽試題含答案
- 企業全面戰略管理、年度經營計劃、預算管理、績效管理
- SOP0420201潔凈空調系統清潔消毒預防性維護保養操作規程報告
評論
0/150
提交評論