It should have been quite easy to install, but the installation in Ubuntu does take some twists and turns. Because the official system of ICE supports windows, RHA, and SUSE. No support for ubunt. However, ICE should be supported and must be compiled and installed from the source code. So install the final package according...
It should have been quite easy to install, but the installation in Ubuntu does take some twists and turns. Because the official system of ICE supports windows, RHA, and SUSE. No support for ubunt. However, ICE should be supported and must be compiled and installed from the source code. Therefore, the dependency of the final package during installation is the biggest obstacle to be solved.
[1] first install QT-4.3.5
See
Install to/opt/qt-x11-4.3.5
[2] create a link
Ln-s/opt/qt-x11-4.3.5/opt/qt
[3] install berkeley_db_5.2.36
Install to/opt/berkeley_db_5.2.36
[4] create a link
Ln-s/opt/berkeley_db_5.2.36/opt/db
[5] install other dependent packages
Aptitude install build-dep build-depqt4-qmake bzip2 expat g + libavahi-gobject-dev libbz2-dev libcurl4-openssl-dev libexpat-dev libfontconfig-dev libfreetype6-dev libjgoodies-animation-java runtime-binding-java jgoodies-uiflite-java libjgoodies-binding-java libjgoodies-forms-java libjgoodies-looks-java libmcpp-dev libsm-dev libssl-dev libx11-dev libxext-dev libxrender-dev libxtst-dev openssl qt4-qmake-y
I sorted it out.
Download the jgoodies-commonpackage from http://download.csdn.net/download/moliqin/4103452.
Cp jgoodies-common-1.2.1.jar/usr/share/java/
Ln-s/usr/share/java/jgoodies-common-1.2.1.jar/usr/share/java/jgoogies-common.jar
[6] cpp compilation
Modify ICE compilation configuration
Cd/tmp/ICE-3.4.2/cpp
Vim config/Make. rules
Modify the following configuration items:
40 LP64? = Yes
76 DB_HOME? =/Opt/db
117 QT_HOME =/opt/qt
Save the modification.
Execute the compilation.
Make
Basically, it works.
[7] cpp installation
(If you only use java, you do not need to compile it. you only need to install ice through apt .)
Make install
[8] install ICE java
Cd ICE-3.4.2/java
Make
Make install
The installation should be successful.
Actually. You can install a complete ice environment directly using the aptitude install zeroc-ice33 under Ubuntu. The above method is compiled and installed. More troublesome.
After installation, the shared class package is under/usr/share/java.
| Bytes |
Copyright notice Copyright @ zhyiwww
Reference please indicate source http://www.blogjava.net/zhyiwww