
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 面部護理中的收緊雙頰松弛的小貼士
- 《皮膚病臨床診斷與應用》課件
- 企業決策中科技發展趨勢的監測與支持系統
- 《技術市場崗位配置》課件
- 《流行性感冒疾病》課件
- 醫保政策對醫療旅游的影響及應對策略
- 從個人到企業看如何利用區塊鏈構建更安全的交易環境
- 醫衛領域的大數據技術與應用探索
- 2025商場租賃經營合同(范本)
- 《斷指再植的護理與康復》課件
- 新就業形態勞動者群體現狀及涉穩風險調研報告
- UPS電子商務物流案例分析
- 理論力學摩擦實驗報告
- 【公開課】第6課+凝神造像-中國傳統雕塑+課件高中美術人教版(2019)美術鑒賞
- 滬教版四年級數學下冊全冊課件
- (2.22)-一、壓花原理壓花藝術
- 小型手推式除雪機及論文
- LED燈高低溫試驗及老化測試標準
- 2023年浙江省公務員考試申論真題A卷
- 藥事管理醫療機構藥事管理
- KTV工程部崗位職責
評論
0/150
提交評論