<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div>Hi,<div>yes you're right it's 4.2.6; I modified the <a href="http://dir.mk">dir.mk</a> files such that the pyd files are now generated.</div><div>Unfortunately, I come to this error during the installation process about corbaidl.idl</div><div>Does this by chance ring a bell ? I welcome hints about how to proceed here .</div><div>I will of course gather all these patches into one single file that I will share at the end .</div><div><div>Thanks for your valuable feedback.</div><div><br></div><div><font face="monospace">Traceback (most recent call last):</font></div><div><font face="monospace"> File "<string>", line 33, in <module></font></div><div><font face="monospace"> File "D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl\main.py", line 430, in main</font></div><div><font face="monospace"> tree = _omniidl.compile(file, name)</font></div><div><font face="monospace"> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^</font></div><div><font face="monospace">OSError: Cannot open file descriptor</font></div></div><div><br></div><div><div><font face="monospace">nghodban@PO16920 MINGW64 ~/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy</font></div><div><font face="monospace">$ make export</font></div><div><font face="monospace">PYSUBDIR = python3</font></div><div><font face="monospace">making export in src/lib/omniORBpy/modules...</font></div><div><font face="monospace">make[1]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules'</font></div><div><font face="monospace">File pydistdate.hh hasn't changed.</font></div><div><font face="monospace">File _omnipy.pyd hasn't changed.</font></div><div><font face="monospace">making export in src/lib/omniORBpy/modules/codesets...</font></div><div><font face="monospace">make[2]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/codesets'</font></div><div><font face="monospace">File _omnicodesets.pyd hasn't changed.</font></div><div><font face="monospace">make[2]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/codesets'</font></div><div><font face="monospace">making export in src/lib/omniORBpy/modules/connections...</font></div><div><font face="monospace">make[2]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/connections'</font></div><div><font face="monospace">File _omniConnMgmt.pyd hasn't changed.</font></div><div><font face="monospace">make[2]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/connections'</font></div><div><font face="monospace">make[1]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules'</font></div><div><font face="monospace">making export in src/lib/omniORBpy/python3...</font></div><div><font face="monospace">make[1]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3'</font></div><div><font face="monospace">making export in src/lib/omniORBpy/python3/omniidl_be...</font></div><div><font face="monospace">make[2]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/omniidl_be'</font></div><div><font face="monospace">File __init__.py hasn't changed.</font></div><div><font face="monospace">File python.py hasn't changed.</font></div><div><font face="monospace">Listing '.'...</font></div><div><font face="monospace">Listing '.\\cxx'...</font></div><div><font face="monospace">Listing '.\\cxx\\dynskel'...</font></div><div><font face="monospace">Listing '.\\cxx\\header'...</font></div><div><font face="monospace">Listing '.\\cxx\\impl'...</font></div><div><font face="monospace">Listing '.\\cxx\\skel'...</font></div><div><font face="monospace">make[2]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/omniidl_be'</font></div><div><font face="monospace">making export in src/lib/omniORBpy/python3/omniORB...</font></div><div><font face="monospace">make[2]: Entering directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/omniORB'</font></div><div><font face="monospace">../../../../../bin/x86_win32/omniidl -v -p../../../../../python3/omniidl_be \</font></div><div><font face="monospace"> -I../../../../../idl \</font></div><div><font face="monospace"> -I../../../idl/omniORB \</font></div><div><font face="monospace"> -I../../../share/idl/omniORB \</font></div><div><font face="monospace"> -I/idl/omniORB \</font></div><div><font face="monospace"> -bpython -nf -Wbno_package ../../../../../idl/corbaidl.idl</font></div><div><font face="monospace">omniidl: Importing back-end 'python'</font></div><div><font face="monospace">omniidl: 'python' imported from 'D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl_be\python.py'</font></div><div><font face="monospace">omniidl: Preprocessing '../../../../../idl/corbaidl.idl' with 'D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\bin\x86_win32\omnicpp -lang-c++ -undef -D__OMNIIDL__=0x2630 -I "../../../..</font></div><div><font face="monospace">/../idl" -I "../../../idl/omniORB" -I "../../../share/idl/omniORB" -I "D:/msys64/idl/omniORB" -D__OMNIIDL_PYTHON__ "../../../../../idl/corbaidl.idl"'</font></div><div><font face="monospace">omniidl: Running front end</font></div><div><font face="monospace">Traceback (most recent call last):</font></div><div><font face="monospace"> File "<string>", line 33, in <module></font></div><div><font face="monospace"> File "D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl\main.py", line 430, in main</font></div><div><font face="monospace"> tree = _omniidl.compile(file, name)</font></div><div><font face="monospace"> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^</font></div><div><font face="monospace">OSError: Cannot open file descriptor</font></div><div><font face="monospace">make[2]: *** [<a href="http://dir.mk:16">dir.mk:16</a>: corbaidl_idl.py] Error 127</font></div><div><font face="monospace">make[2]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/omniORB'</font></div><div><font face="monospace">make[1]: *** [<a href="http://dir.mk:12">dir.mk:12</a>: export] Error 2</font></div><div><font face="monospace">make[1]: Leaving directory '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3'</font></div></div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div><div><br></div></div></div></div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 14, 2024 at 8:34 PM Duncan Grisby <<a href="mailto:duncan@grisby.org">duncan@grisby.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 2024-07-14 at 14:16 +0200, Nabil Ghodbane via omniORB-list<br>
wrote:<br>
<br>
[...]<br>
> - It seems that omniORB 2.4.6 at least does not support c++17<br>
> standard on MinGW and one has to fall back to c++14.<br>
<br>
I assume you mean 4.2.6. There was never a 2.4.6 release.<br>
<br>
Regardless, 4.2 is very old. The current release is 4.3.2. You are<br>
unlikely to have much success in using up-to-date C++ and Python<br>
versions with old omniORB versions.<br>
<br>
MinGW is not a supported compiler for omniORB. You might be able to<br>
make it work, but it is no surprise if it doesn't work at present.<br>
<br>
If you are successful in compiling omniORB and omniORBpy 4.3.2 with<br>
MinGW, please send patches.<br>
<br>
Regards,<br>
<br>
Duncan.<br>
<br>
-- <br>
Duncan Grisby <<a href="mailto:duncan@grisby.org" target="_blank">duncan@grisby.org</a>><br>
</blockquote></div>