Re: Threading problem on Slackware 9.x - solved thanks



On Fri, 2004-01-16 at 10:57, g lemonia org wrote:
Hi all -

  Just as information, this problem "Q: Everything hangs at Gtk2->init
or
Gtk2 '-init' / What's up 'make test' just stops as soon as it starts.",
as described at http://gtk2-perl.sourceforge.net/faq/#35 happens on my
system too.  I do not use debain, but am running slackware 9.0 at home
and 9.1 at work.  'make test' and 'use Gtk -init' hang on both.  Running
use Gtk -init through the perl debugger kills the terminal completely.

  I have tried re-making Glib.pm with --disable-threadsafe, and I have
Gtk+-2.2.4 with glib 2.2.3, which I think are the latest.

  I don't know if you have any further ideas about this, I might try to
recompile perl with threading enabled (it definitely isn't at the
moment), or perhaps switch distros, though I do like Slackware, if
anyone has managed to fix this, let us know :o)

no need to switch distros or anything that drastic. this is a known
problem with any non-threaded perl. it seems to be interactions between
perl and glib/gthread/gtk+. more than that we know not.

a threaded perl should fix things for you.

-rm

Indeed - I tried over the weekend, and my new, threaded perl works fine. 
I was considering a new distro anyway, and this could have been the final
push that I needed, but I think I'll stay put now :o)

thanks for your help.

Matthew G



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]