Ubuntu下安装ICE

Ubuntu下安装ICE

(2012-07-23 19:48:36)
标签:

杂谈

分类: ICE学习笔记

ICE(Internet Communications Engine)是一个为现实中程序员而写的中间件平台。作为一个高性能的互联网通信平台,ICE包含了很多分层的服务和插件(Plug-ins),并且简单、高效和强大。

ICE当前支持C++、Java、C#、Visual Basic、Python和PHP编程语言,并支持在多种操作系统上运行。更多的操作系统和编程语言将会在以后的发布中支持。

详细介绍以及下载: http://www.zeroc.com

Ice has dependencies on a number of third-party libraries:

Berkeley DB 4.5.20 configured with --enable-cxx.

If you intend to use Ice for Java with Berkeley DB, you must also
include the option --enable-java.

expat 1.95.7 or 2.0.0

OpenSSL 0.9.7 or later (OpenSSL 0.9.8 or later recommended)

bzip2 1.0.x

Berkeley DB, expat, OpenSSL, and bzip2 are usually included with your
Linux distribution, or you can download them from the following
locations:

Berkeley DB http://www.oracle.com/database/berkeley-db/index.html
expat http://sourceforge.net/projects/expat/
OpenSSL http://www.openssl.org
bzip2 http://sources.redhat.com/bzip2

1.下载bzip2-1.0.4.tar.gz

$tar zxvf bzip2-1.0.4.tar.gz
$cd bzip2-1.0.4
$make install

2.下载expat-2.0.1.tar.gz

$tar zxvf expat-2.0.1.tar.gz
$cd expat-2.0.1
$./configure
$sudo make install

3.下载openssl-0.9.8d.tar.gz

$tar zxvf openssl-0.9.8d.tar.gz
$cd openssl-0.9.8d
$./config --prefix=/usr --openssldir=/usr/openssl
注意:prefix为/usr/local/ssl,openssldir默认为/usr/ssl/openssl,需要改为上面的,因为ice的代码中include的是,默认安装路径会找不到。
$ make
$ make test
$ sudo make install

4.下载db-4.6.21.tar.gz

$tar zxvf db-4.6.21.tar.gz
$cd db-4.6.21
$cd build_unix
$../dist/configure --prefix=/usr --enable-cxx
注意:db的默认安装prefix路径是/usr/local/BerkeleyDB.4.6,需要改为/usr,否则make Ice时会找不到路径
$make
$sudo make install

5.下载Ice-3.2.1-bin-rhel-i386.tar.gz

$tar zxvf Ice-3.2.1-bin-rhel-i386.tar.gz
$cd Ice-3.2.1
$vi config/Make.rules #修改prefix为/usr
$make
$sudo make install

另外:RPMs for Berkeley DB 4.5.20 on RHEL 4.4, RHEL 5 and SLES 10 are
available from:

http://www.zeroc.com/download.html

我在ubuntu 7.10下,安装rpm包错误,因此,只能自己编译安装。

 

本文引自:http://www.5dlinux.com/article/1/2008/linux_11902.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值