[omniORB] Re: Re: Newbie: Compiling problems omniORB-4.0.5 using Cygwin, WinXP, MS VC7.0

Victor Glava victor.glava at chicagotrading.com
Wed Jan 26 10:46:05 GMT 2005


Roland,

I am attempting to do the same as you were: compile omniORB 4.0.5 on an XP
Pro machine with Cygwin, Python2.4 and Visual Studion 7.0 (.NET). I
encountered the exact same error as you:

c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning: idlpython.cc, 
line 172: unknown directive == "#warning "Please use an up-to-date 
version of gcc! (>2.91 recommended)""
c:\omniORB4.0.5\bin\x86_win32\omkdepend.exe: warning: (from 
idlpython.cc) c:\progra~1\python2.4\include\Python.h: 21: #error 
"Something's broken. UCHAR_MAX should be defined in limits.h"
.

After noticing your follow-up post, I uninstalled Python 2.4 and unzip the
omnipython available for download at the sourceforge download page, since it
seems you were able to compile successfully.

However, unlike you, I was not able to successfully compile; receiving the
following errors:

../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh
-Wbs=SK.cc -Wba -p../../../src/li
b/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
PYTHONPATH=(null)
..\..\..\bin\x86_win32\omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc -Wba
-p..\..\..\src\lib\omniORB -Wbdebug
 -v -ComniORB4 ..\..\..\idl\Naming.idl
'import exceptions' failed; use -v for traceback
Warning!  Falling back to string-based exceptions
'import site' failed; use -v for traceback
Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: No module named os
..\..\..\bin\x86_win32\omniidl: No error
make[2]: *** [omniORB4/Naming.hh] Error 1
make[2]: Leaving directory
`/cygdrive/c/omniORB/omniORB-4.0.5/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB/omniORB-4.0.5/src/lib'
make: *** [export] Error 2
--------------

I have downloaded and I am trying to compile only the source code
(omniORB-4.0.5.tar.gz). omniORB is located at C:\omniORB\omniORB-4.0.5\. I
have cygwin installed and omnipython is located at C:\omniORB\omnipython.

I have selected platform platform = x86_nt_4.0_vs_7 in config/config.mk and
I have set the path to the python executable in mk/platforms/
x86_nt_4.0_vs_7.mk to PYTHON =
/cygdrive/C/omniORB/omnipython/bin/x86_win32/omnipython.exe

I also had to copy the python15.dll under windows/system32 (the omniidl was
throwing an error when trying to locate python15.dll)

So, I was wondering is anybody had any idea and maybe Roland you can let me
know how you had everything set up when you managed to successfully compile
with omnipython.

Thanks
Victor


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20050126/e086b7ad/attachment.htm


More information about the omniORB-list mailing list