Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / Ubuntu 下安装 ZeroC ICE 步骤

ICE(Internet Communications Engine)是一个为现实中程序员而写的中间件平台。作为一个高性能的互联网通信平台,ICE包含了很多分层的服务和插件(Plug-ins),并且简单、高效和强大。 ICE当前支持C++、Java、C#、Visual Basic、Python和PHP编程语言,并支持在多种操作系统上运行。更多的操作系统和编程语言将会在以后的发布中支持。下面详细介绍在Ubuntu 下安装 ZeroC ICE 步骤以及下载: http://www.zeroc.comIce 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.0OpenSSL 0.9.7 or later (OpenSSL 0.9.8 or later recommended)bzip2 1.0.xBerkeley 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/bzip21.下载bzip2-1.0.4.tar.gz$tar zxvf bzip2-1.0.4.tar.gz
$cd bzip2-1.0.4
$make install2.下载expat-2.0.1.tar.gz$tar zxvf expat-2.0.1.tar.gz
$cd expat-2.0.1
$./configure
$sudo make install3.下载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 install4.下载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 install5.下载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包错误,因此,只能自己编译安装。Ubuntu 8.04 Hardy Heron Alpha 3最新使用体验(组图)Linux AS4 安装过程中一些问题的解决相关资讯      C++  ICE  Ubuntu技巧  ZeroC ICE 
  • C++程序员如何转Java  (今 06:48)
  • C++前置++与后置++的区别与重载  (04月14日)
  • 打破C++ Const 的规则  (01月23日)
  • 自动生成C、C++、shell程序基本框  (04月27日)
  • C++:后现代的系统编程语言  (02月06日)
  • C++ 顺序容器基础知识总结  (01月23日)
本文评论 查看全部评论 (0)
表情: 姓名: 字数