Here it is:

% gtk-config --libs gthread
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread
-lglib -lpthread -ldl -lXi -lXext -lX11 -lm

% python -c 'import thread'
Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: No module named thread

% rpm -q python python-devel
python-1.5.1-5
python-devel-1.5.1-22

Obviously the fact that there's no thread module would be a problem. 
I'm running the stock python installed with Red Hat 5.2 (python-devel is
newer though).

thanks for the help...

Miles

James Henstridge wrote:
> 
> Could you post the output of "gtk-config --libs gthread" and the output of
> "python -c 'import thread'"?  This would be helpful in diagnosing the
> problem.
> 
> James.
> 
> --
> Email: [EMAIL PROTECTED]
> WWW:   http://www.daa.com.au/~james/
> 
> On Sat, 22 May 1999, mmc wrote:
> 
> >
> > Hi -
> >
> > I'm attempting to install and use pygtk 0.6.1, and I'm running into the
> > following problem:
> >
> > I'm able to compile and install, but running any of the sample apps
> > (hello?.py, simple1.py, etc.) results in the following import error:
> >
> >    from _gtk import *
> > ImportError: /usr/lib/python1.5/site-packages/_gtkmodule.so: undefined
> > symbol: g_thread_init
> >
> > Has anyone seen this?  I apologize if it's been covered before...
> >
> > I'm running: Red Hat 5.2, Gnome 1.0, gtk+ 1.2.2, pygtk-0.6.1
> >
> > Thanks,
> >
> > Miles
> >
> >
> > To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> >
> 
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to