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

Roland Goecke roland.goecke at anu.edu.au
Wed Jan 12 11:06:33 GMT 2005


Hi Duncan,

sorry for the late reply, I had been away over the holiday period.

>>+ ../../../bin/x86_win32/libwrapper -gnuwin32 debug/omnithreadd.lib
>>debug/nt.o
>>+ install -c debug/omnithread.lib ../../../lib/x86_win32
>>'import site' failed; use -v for traceback
> 
> 
> Strange. What omniORB distribution did you use?  If you got the binary
> .zip version, that includes the omnipython minimal Python distribution,
> so maybe it's getting confused by files belonging to different Python
> versions.  If you're compiling the source, you should get just the
> source tarball.

I've got the omniORB-4.0.5 source tarball and am trying to compile from 
the sources.

> If that isn't the issue, does Python work if you just run it from the
> command line?

Yes, Python works when called from the command line.

I have tried to start from scratch, deleted everything, and then started 
again from the sources, but ran into the following problem:

'import site' failed; use -v for traceback
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "c:\Python24\lib\compileall.py", line 15, in ?
     import os
   File "c:\Python24\lib\os.py", line 651, in ?
     import copy_reg as _copy_reg
   File "c:\Python24\lib\copy_reg.py", line 7, in ?
     from types import ClassType as _ClassType
   File "c:\omniORB-4.0.5\lib\python\omniidl_be\cxx\types.py", line 29, in ?
     import string
   File "c:\Python24\lib\string.py", line 83, in ?
     import re as _re
   File "c:\Python24\lib\re.py", line 5, in ?
     from sre import *
   File "c:\Python24\lib\sre.py", line 270, in ?
     copy_reg.pickle(_pattern_type, _pickle, _compile)
AttributeError: 'module' object has no attribute 'pickle'
make[4]: *** [export] Error 1
make[4]: Leaving directory 
`/cygdrive/c/omniORB-4.0.5/src/lib/omniORB/omniidl_b
/cxx'
make[3]: *** [export] Error 2
make[3]: Leaving directory 
`/cygdrive/c/omniORB-4.0.5/src/lib/omniORB/omniidl_b
'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB-4.0.5/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB-4.0.5/src/lib'
make: *** [export] Error 2

I don't know if that means that there is some problem with the Python 
installation I've got here. I hadn't noticed any problems with it until now.

I am sorry to hassle you again, but I am at a loss here to understand 
what's going on, so any ideas are very much appreciated.

Cheers,
Roland



More information about the omniORB-list mailing list