Installing CORBA in Ubuntu is similar to the general election. The result is good, but the process is painful. I used Ubuntu7.10 in Linux and planned to install OmniORB 4.1.2, but later I installed only 4.1.1. For installation steps, follow the instructions in README. unix: mkdirbuild-& gt; ../configure-& gt; make-& gt; m
Installing CORBA in Ubuntu is similar to the general election. The result is good, but the process is painful.
I used Ubuntu 7.10 in Linux and planned to install OmniORB 4.1.2, but later I installed only 4.1.1.
The installation steps are as simple as described in README. unix:
Mkdir build-> .. /configure-> make install. If there is no problem during the installation process, it is really easy. However, Linux is not like Windows, and it is unlikely to do a very small thing without making any mistakes.
The first problem is the gcc version. This problem was discovered only after numerous experiments and source code viewing. Idl_methods is clearly defined in the idlpython. cc file, but it cannot be found below. Is it true that the compiler is dizzy or the version is incompatible? Ubuntu7.10 the default gcc version is 4.2, I modified the/usr/bin/gcc link file, ln-s gcc gcc-2.95 gcc, set it to use version 2.95 by default.
G ++ can also be changed. The default value is 4.1, which is 2.95.
The second problem is that python cannot be found. The system question is that phthon2.5 or higher is required. Strange, I saw that python 5.2 was installed, python-dev and some library files are not selected. The update and re-compilation are still problematic.
In the end, there is no way. We can use 4.1.1 to re-compile and pass the code. It is estimated that 4.1.2 cannot pass the code because of the compiler version.
At the beginning, there was a more funny question: A Hello, World C program could not be compiled, mainly because it did not add the C library. Use the command: sudo apt-get install gcc libc6-dev to add the libc6-dev library.