下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、ice開發(fā)環(huán)境搭建 全ice作為一種無平臺(tái)的中間件,提供了最靈便的編譯方式,即自定義的平臺(tái)無關(guān)語言slice,這種以語言方式來配置的做法,極大的統(tǒng)一了網(wǎng)絡(luò)服務(wù)的標(biāo)準(zhǔn),有點(diǎn)類似于java語言的實(shí)現(xiàn)與編譯,正是由于java語言的定義與實(shí)現(xiàn)都是由sun公司提供的,才極大的推進(jìn)了java語言的發(fā)進(jìn)展。 在linux平臺(tái)下編譯比windows平臺(tái)容易的多,必需要用g+ 3.x來編譯ice的開發(fā)包,否則會(huì)報(bào)錯(cuò)。 在 中下載ice-3.0.1.tar.gz和thirdparty-sources-3.0.1.tar.gz,先編譯thirdparty-sources-3.0.1.tar.gz:1、 thirdp
2、arty2、 thirdparty-sources-3.0.1.tar.gz thirdparty3、tar xzvf thirdparty-sources-3.0.1.tar.gz4、tar xzvf openssl-0.9.8a.tar.gz5、 openssl-0.9.8a6、./ configure;make;make install7、cd .8、tar xzvf pat-1.95.8.tar.gz9、cd expat-1.95.810、./ configure;make;make install11、cd .12、tar xzvf db-4.3.29.nc.tar.gz13、cd
3、db-4.3.29.nc14、cd build_unix15、./dist/configure;make;make install16、cd ./.17、tar xzvf ice-3.0.1.tar.gz18、cd ice-3.0.119、將config文件夾下的make.rules.linux,將c+改為g+20、將config文件夾下的make.rules里面的變量修改為第三方庫的路徑,找?號(hào)的是系統(tǒng)已經(jīng)安裝的,在linux下stl就是stlport不用另行安裝。stlport_home ?= /opt/stlport if libb2 is not install in a standa
4、rd loion where the compiler can it, bzip2_home to the installation directory. bzip2_home ?= /opt/bzip2 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 = /root2/opt/db if openssl is not installed in
5、a standard location where the compiler can find it, set openssl_home to the openssl installation directory. openssl_home = /root2/opt/openssl define if your openssl requires kerberos, and if kerberos is not installed in a standard location. kerberos_home ?= /usr/kerberos if expat is not installed in
6、 a standard location where the compiler can find it, set expat_home to the expat installation directory. expat_home = /root2/opt/expat if readline is not installed in a standard location where the compiler can find it, and you want to use readline, set readline_home to the readline installation dire
7、ctory. readline_home ?= /opt/readline這一步假如出了問題 參見我轉(zhuǎn)載的另一篇博客 ice在linux下的完整編譯安裝21、make;make install 這樣ice就可以編譯過去了,可以用make test來測試編譯得是否正確。 在windows平臺(tái)上安裝ice比較容易,就是vc設(shè)置棘手些。由于我用的是vc6.0,但用vc7.0和8.0都有相對(duì)應(yīng)的包,安裝步驟是一樣的。首先從 setting- c/c+- code gereration中的use run- library中的debug multithreaded dll選上,實(shí)現(xiàn)多線程,由于ice本身天生就是多線程的。在任何狀況下編譯ice程序,都要將porject- setting- c+ language中的enable run-time type infoation (rtti)選中,
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025-2030全球裝運(yùn)前檢驗(yàn)(PSI)服務(wù)行業(yè)調(diào)研及趨勢分析報(bào)告
- 2025年全球及中國電子鑰匙柜行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 2025-2030全球1,1,1,3,3,3-六氟丙烷行業(yè)調(diào)研及趨勢分析報(bào)告
- 2025年全球及中國全自動(dòng)機(jī)器人裝箱機(jī)行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 四川省樂山市高中高三上學(xué)期第一次調(diào)研考試語文試卷(含答案)
- 2025礦井水及生活污水處理站運(yùn)行承包合同
- 2025公共衛(wèi)生間隔斷安裝合同
- 承包經(jīng)營權(quán)轉(zhuǎn)讓合同范本
- 2025土石方開挖工程勞務(wù)分包合同
- 父子房屋買賣合同范本
- 江西省部分學(xué)校2024-2025學(xué)年高三上學(xué)期1月期末英語試題(含解析無聽力音頻有聽力原文)
- GA/T 2145-2024法庭科學(xué)涉火案件物證檢驗(yàn)實(shí)驗(yàn)室建設(shè)技術(shù)規(guī)范
- 2024年中考語文試題分類匯編:非連續(xù)性文本閱讀(學(xué)生版)
- 2024年度窯爐施工協(xié)議詳例細(xì)則版B版
- 第一屆山東省職業(yè)能力大賽濟(jì)南市選拔賽制造團(tuán)隊(duì)挑戰(zhàn)賽項(xiàng)目技術(shù)工作文件(含樣題)
- 尿毒癥替代治療
- 【課件】2025屆高考英語一輪復(fù)習(xí)小作文講解課件
- 基底節(jié)腦出血護(hù)理查房
- 工程公司總經(jīng)理年終總結(jié)
- 2024年海南省高考地理試卷(含答案)
- 【企業(yè)盈利能力探析的國內(nèi)外文獻(xiàn)綜述2400字】
評(píng)論
0/150
提交評(píng)論