Install OmniORB in Ubuntu7.10

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.