Re: [Orbit-python-list] import CORBA question
Status: Inactive
Brought to you by:
tack
From: Gil H. <gi...@sy...> - 2002-07-29 13:12:42
|
That did the trick. Thank you very much for the help! Cheers Gil On Mon, 2002-07-29 at 09:02, Christian Reis wrote: > On Mon, Jul 29, 2002 at 08:37:29AM -0400, Gil Hauer wrote: > > Hi Christian, > >=20 > > I build that package from the source tar-ball -- here is the python -v = output. > >=20 > > Thanks for the help, > > Gil > >=20 > > [gilh@giantclam orbit-python-0.3.1]$ python -v > > Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 20000731 (Red Hat L= inux 7.1 2 on linux-i386 > > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > > import readline # dynamically loaded from /usr/lib/python1.5/lib-dynloa= d/readline.so > > >>> import CORBA > > Traceback (innermost last): > > File "<stdin>", line 1, in ? > > ImportError: No module named CORBA > > >>>=20 >=20 > This says o-p wasn't installed into /usr/lib/python1.5/site-packages/ > which is possible if it uses as a default prefix /usr/local, I now > surmise. >=20 > Try configure --prefix=3D/usr ; make ; make install instead to see if it > works. And if it does, clean up /usr/local/python1.5/=20 >=20 > If it doesn't, run strace -eopen python 2> python-log and try importing > CORBA so we see where it is looking for CORBAmodule.so >=20 > Take care, > -- > Christian Reis, Senior Engineer, Async Open Source, Brazil. > http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL |