Re: [Orbit-python-list] import CORBA question
Status: Inactive
Brought to you by:
tack
From: Christian R. <ki...@as...> - 2002-07-29 13:02:36
|
On Mon, Jul 29, 2002 at 08:37:29AM -0400, Gil Hauer wrote: > Hi Christian, > > I build that package from the source tar-ball -- here is the python -v output. > > Thanks for the help, > Gil > > [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 Linux 7.1 2 on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > import readline # dynamically loaded from /usr/lib/python1.5/lib-dynload/readline.so > >>> import CORBA > Traceback (innermost last): > File "<stdin>", line 1, in ? > ImportError: No module named CORBA > >>> 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. Try configure --prefix=/usr ; make ; make install instead to see if it works. And if it does, clean up /usr/local/python1.5/ 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 Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL |