Я могу запустить omniORB в python2.7, просто запустив скрипт настройки.
ubuntu@ubuntu:/usr/local/bin$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
ubuntu@ubuntu:/usr/local/bin$ python2
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import omniORB
>>>
Однако запуск
../configure PYTHON=/usr/bin/python3
не сработал для python3:
ubuntu@ubuntu:/usr/local/bin$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import omniORB
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'omniORB'
>>>
При запуске ../configure
без каких-либо опций скрипт выводит:
...
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
...
При запуске ../configure PYTHON=/usr/bin/python3
скрипт выдает:
...
checking for python version... 3.5
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.5/site-packages
...
IЯ использую Ubuntu 16.04 и последнюю версию omniorb 4.2.2.