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包错误,因此,只能自己编译安装。