Linux下ICE的安裝

1.

安裝第三方包
http://www.zeroc.com/download/Ice/3.3/ThirdParty-Sources-3.3.0.tar.gz
解壓
ThirdParty-Sources-3.3.0.tar.gz
# cd ThirdParty-Sources-3.3.0
1)mcpp
is a C/C++ preprocessor
------
解壓
mcpp-2.7.2.tar.gz
# cd mcpp-2.7.2
# ./configure - CFLAGS=-fPIC -enable-mcpplib
(必需要有)
# 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
# ../dist/configure
# make
# make install


3)bzip2 是
Julian Seward
開發並按照自由軟件
/
開源軟件協議發佈的數據壓縮算法及程序
--------
解壓

bzip2-1.0.5.tar.gz
# cd bzip2-1.0.5
# make
# make install

4) expat
是一個
XML parsing C library
--------
解壓
expat-2.0.1.tar.gz
# cd expat-2.0.1
# ./configure
# make
# make install

 

 

5) openssl 是
Secure Socket Layer (SSL) binary and related cryptographic tools
------
解壓
openssl-0.9.8g.tar.gz
# cd openssl-0.9.8g
# ./config
# make
# make install

 

 

2.安裝
Ice-3.3.0
http://www.zeroc.com/download/Ice/3.3/Ice-3.3.0.tar.gz
--------

解壓
Ice-3.3.0.tar.gz
1)
編譯cpp
版本
# cd Ice-3.3.0/cpp
# make
# make install
2) 編譯java
版本
解壓forms-1_2_0.zip 和looks-2_1_4.zip

forms-1.2.0.jar

looks-2.1.4.jar

賦值到

 

/usr/share/java/

目錄中。

$ export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.6/lib:$LD_LIBRARY_PATH
$ export CLASSPATH=/usr/local/BerkeleyDB.4.6/lib/db.jar:$CLASSPATH
$ ant
$ su
$ ant install
3.

設置

ICE

環境變量
#vi /etc/profile
export 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_HOME/lib
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC ICE_HOME
#source /etc/profilejava

相關文章
相關標籤/搜索