Official compiled document See Ice official compiling document
Environment:
opensuse13.1 x64,kdevelop4.7.6
Ice Dependency Packages:
Ice have dependencies on a number of Third-party libraries:
Dependent Package Installation:
Zypper install mcpp mcpp-devel OpenSSL openssl-devel expat expat-devel berkeleydb libbz2-devel
Compile:
1, unzip the downloaded source package:
Tar XF ice-3.5.1.tar.gz
CD Ice-3.5.1/cpp
2, compile:
Make
3, test:
./alltests.py
If you do not have Python installed, run the test program to install Python first, without running the test program can not be installed
4, Installation:
Switch to root with the SU command
Make install
Install the associated library and development header files into the ice-3.5.1/cpp/config/make.rules prefix defined location.
Read the demo code:
After decompression with KDevelop reading is also very convenient, can also be debugged. Main steps: Project->fetch project
Select the From File System in source to locate the folder where the demo is located; In addition to this, we also set up the ice header file path in the KDevelop, and when running, I put the post-installation related so into the/usr/lib64 so that the system can find the relevant dynamic library of ice.
Precautions:
If you modified it in Ice-3.5.1/cpp/config/make.rules:
Prefix? =/usr/local/ice-$ (VERSION)
In order to change the definition of adding ice_home in Ice-3.5.1/config/make.common.rules, add a
Ice_home =/usr/local/ice-3.5.1
Ice_home in the 3.5.1 is the actual installed version, if you do not understand ice-3.5.1/config/make.common.rules, the file at the head of the add can be.
openSUSE x64 to compile the ice source code (to compile C + + for example)