Linux下ICE的安装

2016-07-12 10:24:04来源:oschina作者:蓝狐乐队人点击

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


最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台