跌宕多姿的近义词:install omniORBpy

来源:百度文库 编辑:九乡新闻网 时间:2024/05/01 12:04:08

First, install omniORBpy

Get omniORBpy and Decompress

Download the omniORBpy v2.7 source (tar.gz file) from http://omniorb.sourceforge.net/. Later versions have not been tested.

$ tar -xzvf omniORBpy-2.7.tar.gz

Build and Install omniORBpy

$ ./configure$ make$ su -c "make install"

or

$ cd [omniORBpy directory]$ mkdir build$ cd build$ ../configure [configure options]$ make$ su -c "make install"

Create the python bindings for omniORB

You can create the bindings directory somewhere in your user directoryand list the directory in a .pth file as shown here, or you copy thecompiled idl to the local site-packages directory.

$ mkdir idl_py$ cd idl_py$ cp /*.idl .$ omniidl -p -bpython *
  • is typically /usr/local/include/ossie/ if installing from subversion but may be elsewhere if installed by another method.
  • is typically /usr/local/lib/python/site-packages.

As root, create ossie.pth

# cd /usr/lib/python/site-packages/# vim ossie.pth
  • Create the ossie.pth file to look as follows
/usr/local/lib/python2.x/site-packages/