[omniORB] 4.0.1 and py-2.1 separate directory builds

Alexy Khrabrov alexy.khrabrov at setup.org
Tue Jun 10 13:46:25 BST 2003


Greetings -- I just got the 4.0.1 and omniPRBpy-2.1
in order to try out my CORBA server with a Python
client.  I did the following build for 4.0.1:

cd /src/omni
tar zxf /net/omniORB-4.0.1.tar.gz
mkdir omniORB-4.0.1-build
cd !$
../omniORB-4.0.1/configure --prefix=/usr/local/orb/omni/4.0.1
make
make install

...which did everything as expected.

Now a similar dance with omniORBpy, and I've got
a doubt right away, should I specify the same prefix
or can use a different one?  Here's what happened with
a different one:

cd /src/omni
tar zxf /net/omniORBpy-2.1.tar.gz
mkdir omniORBpy-2.1-build
cd !$
../omniORBpy-2.1/configure --prefix=/usr/local/orb/omni/py-2.1 --with-omniorb=/usr/local/orb/omni/4.0.1
make 

...chug-chug-chug...  crash!

make[2]: Entering directory `/vol/src/omni/omniORBpy-2.1-build/python/omniORB'
/usr/local/orb/omni/4.0.1/bin/omniidl -v -p../../../omniORBpy-2.1/omniidl_be \
        -I../../../omniORBpy-2.1/idl \
        -I/usr/local/orb/omni/4.0.1/idl/omniORB -I/usr/local/orb/omni/py-2.1/share/idl/omniORB \
        -bpython -Wbinline -Wbno_package /usr/local/orb/omni/4.0.1/share/idl/omniORB/ir.idl
omniidl: Importing back-end 'python'
omniidl: 'python' imported from '../../../omniORBpy-2.1/omniidl_be/python.pyc'
omniidl: Preprocessing '/usr/local/orb/omni/4.0.1/share/idl/omniORB/ir.idl' with '/usr/local/orb/omni/4.0.1/bin/omnicpp -lang-c++ -undef -D__OMNIIDL__=0x2420 -I../../../omniORBpy-2.1/idl -I/usr/local/orb/omni/4.0.1/idl/omniORB -I/usr/local/orb/omni/py-2.1/share/idl/omniORB -D__OMNIIDL_PYTHON__ "/usr/local/orb/omni/4.0.1/share/idl/omniORB/ir.idl"'
omniidl: Running front end
/usr/local/orb/omni/4.0.1/share/idl/omniORB/ir.idl:4: No include path in which to find corbaidl.idl
/usr/local/orb/omni/4.0.1/share/idl/omniORB/ir.idl:68: Error in look-up of 'Identifier': 'Identifier' not found

...and then about a million more of that 'Identifier' not found.

Is the configure setup missing something here?
Cheers,
Alexy




More information about the omniORB-list mailing list