Introduction to orbix in the fourth chapter of the principle and application of CORBA

Source: Internet
Author: User

This chapter uses orbix under Solaris to compile the IDL Interface file.

My actual use environment is Ubuntu 10.10. for example, progress_orbix_6.3.5_lnx.tar.gz

1. First, you must register an account at https://secure.progress.com/cgi-bin/custprofile.cgi/cmpgn/regform.p,

2. log on to the https://progress-eval.subscribenet.com/##operating system and select the desired version.

DownloadLicense file for orbix developer andSS
Orbix 6.3.5 for Red Hat Enterprise Linux (32-bit & 64-bit)

Next, let's talk about the installation.

For more information, see orbix6.3.5_install_guide.pdf.

Link to download: http://download.csdn.net/detail/vivianke/4397878

1.License file for orbix developerCopy to/etc/opt/licenses.txt
2.Progress orbix 6.3.5 for Red Hat Enterprise Linux (32-bit & 64-bit)Copy to a separate directory, such as orbix, and then tar-zxvf
Extract
3. Install ASP-I gui (or ASP-I swing) on the GUI.

After installation, you need to set some environment variables:
. Bashrc

#for orbixexport IT_PRODUCT_DIR=/opt/progress/orbixexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$IT_PRODUCT_DIR/shlib:$IT_PRODUCT_DIR/shlib/posixexport PATH=$PATH:$IT_PRODUCT_DIR/asp/6.3/binexport IT_LICENSE_FILE=/etc/opt/licenses.txt

After the settings are complete, run source ~ /. Use bashrc to enable the new environment variable.

4. configure it. Otherwise, the following error will be reported when $ it_product_dir/asp/6.3/bin/IDL is executed.

root@vm:/opt/progress/orbix/asp/6.3/bin# idlidl: no IDL configuration file!

Run root @ VM:/opt/progress/orbix/asp/6.3/bin #./itconfigure

Select "Create a new domain" to create default-domain. After the creation, the system will prompt you to perform the following operations:

To set your environment for this configuration domain run:/etc/opt/iona/bin/sample-domain_envTo start the services in this configuration domain run:/etc/opt/iona/bin/start_sample-domain_servicesTo stop the services in this configuration domain run:/etc/opt/iona/bin/stop_sample-domain_services

The first operation to set the environment variable and the second operation to start the service must be executed,
For the sample-domain_env, it is found that there is no executable permission, you need to execute the CHMOD + x sample-domain_env

After the execution is complete, execute again

root@vm:/opt/progress/orbix/asp/6.3/bin# idlidl: error: No file specified.usage: "-flags" for details.       idl [-flags] [-?] [-Dname[=value]] [-Idir] [-N] [-Uname] [-3] [-V] [-u] [-v] [-w]        [-jbase] [-R] [-base] [-poa] [-xml] [-pss_r] [-wsdl] [-psdl] [-jpoa]        file *

Indicates that it is ready for use.

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.