環境:
centos 6.4
gcc 4.8.2
make 3.81
ice 3.5.1
安裝步驟:
1) 安裝依賴庫Mcpp
從www.zeroc.com 下載ThirdParty-Sources-3.5.1.tar.gz
$ tar xvf ThirdParty-Sources-3.5.1.tar.gz
$ cd ThirdParty-Sources-3.5.1
$ tar xvf mcpp-2.7.2.tar.gz
$ cd mcpp-2.7.2
$ patch -p0 < ../mcpp/patch.mcpp.2.7.2
$ ./configure CFLAGS=-fPIC --enable-mcpplib --disable-shared
$ make && make install
2) 安裝BerkeleyDB
$ tar db-5.3.21.NC.tar.gz
$ cd db-5.3.21.NC
$ patch -p0 < ../db/patch.db.5.3.21
$ cd build_unix
$ ../dist/configure --enable-cxx
$ make && make install
3) 安裝Ice
下載Ice-3.5.1.tar.gz
$ tar xvf Ice-3.5.1.tar.gz
$ cd Ice-3.5.1/cpp
$ 根據環境修改config/Make.rules文件
$ make && make install