[omniORB] Bad Magic Number error
Vrajesh N. Patel
vpatel@appsig.com
Thu Feb 20 18:59:01 2003
Hello,
I'm trying to compile OmniORB 4.0.0 using GCC 3.2.1 and Python 2.2.2 on
SunOS 5.6. The Python 2.2.2 directory is not in /usr/local, but in another
location. I specified that in the configure script. I'm not sure why I
can't get rid of this error:
make[5]: Entering directory
`/users/mtp2/tools/omni/omniORB-4.0.0/src/tool/omniidl/python/omniidl'
File __init__.py hasn't changed.
File main.py hasn't changed.
File idlast.py hasn't changed.
File idltype.py hasn't changed.
File idlutil.py hasn't changed.
File idlvisitor.py hasn't changed.
File output.py hasn't changed.
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: Bad magic number in
/users/mtp2/tools/omni/omniORB-4.0.0/lib/python/compileall.pyc
make[5]: *** [export] Error 1
make[5]: Leaving directory
`/users/mtp2/tools/omni/omniORB-4.0.0/src/tool/omniidl/python/omniidl'
make[4]: *** [export] Error 2
make[4]: Leaving directory
`/users/mtp2/tools/omni/omniORB-4.0.0/src/tool/omniidl/python'
make[3]: *** [export] Error 2
make[3]: Leaving directory
`/users/mtp2/tools/omni/omniORB-4.0.0/src/tool/omniidl'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/users/mtp2/tools/omni/omniORB-4.0.0/src/tool'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/users/mtp2/tools/omni/omniORB-4.0.0/src'
make: *** [all] Error 2
The PYTHONPATH is set to /users/mtp2/tools/omni/omniORB-4.0.0/lib/python
Am I missing any variables? flags? Thanks for your help.
-Vrajesh