ICE開(kāi)發(fā)環(huán)境搭建 全_第1頁(yè)
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、ice開(kāi)發(fā)環(huán)境搭建 全ice作為一種無(wú)平臺(tái)的中間件,提供了最靈便的編譯方式,即自定義的平臺(tái)無(wú)關(guān)語(yǔ)言slice,這種以語(yǔ)言方式來(lái)配置的做法,極大的統(tǒng)一了網(wǎng)絡(luò)服務(wù)的標(biāo)準(zhǔn),有點(diǎn)類(lèi)似于java語(yǔ)言的實(shí)現(xiàn)與編譯,正是由于java語(yǔ)言的定義與實(shí)現(xiàn)都是由sun公司提供的,才極大的推進(jìn)了java語(yǔ)言的發(fā)進(jìn)展。 在linux平臺(tái)下編譯比windows平臺(tái)容易的多,必需要用g+ 3.x來(lái)編譯ice的開(kāi)發(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里面的變量修改為第三方庫(kù)的路徑,找?號(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這一步假如出了問(wèn)題 參見(jiàn)我轉(zhuǎn)載的另一篇博客 ice在linux下的完整編譯安裝21、make;make install 這樣ice就可以編譯過(guò)去了,可以用make test來(lái)測(cè)試編譯得是否正確。 在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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論