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/profile