Re: [gentoo-user] pygtk threading disabled at compile time

2008-05-05 Thread Neil Bothwick
On Mon, 5 May 2008 03:32:58 +0300, Daniel Iliev wrote:

 You might want to try this:
 
 echo EXTRA_ECONF=--enable-threads  /etc/make.conf
 emerge -1 dev-python/pygtk

That would enable it for all ebuilds. To do it foe one package you have
two options.

The temporary approach:
EXTRA_ECONF=--enable-threads emerge -1 dev-python/pygtk

The permanent approach:
mkdir -p /etc/portage/env/dev-python
echo EXTRA_ECONF=--enable-threads /etc/portage/env/dev-python/pygtk
emerge -1 dev-python/pygtk


-- 
Neil Bothwick

Top Oxymorons Number 22: Childproof


signature.asc
Description: PGP signature


Re: [gentoo-user] pygtk threading disabled at compile time

2008-05-05 Thread luis jure
El Mon, 5 May 2008 09:43:07 +0100
Neil Bothwick [EMAIL PROTECTED] escribió:

 The temporary approach:
 EXTRA_ECONF=--enable-threads emerge -1 dev-python/pygtk

thanks neil and daniel for the tips (always learning something new...).
unfortunately it didn't solve my problem.

so i finally did emerge -e pygtk and that solved it. it seems it was
something related to one of the 173 packages i had to re-emerge...

best,

lj
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] pygtk threading disabled at compile time

2008-05-04 Thread luis jure

hello list,

recently i began having problems when trying to run gaupol, a subtitle
editor. it fails thus:

Traceback (most recent call last):
  File /usr/bin/gaupol, line 18, in module
import gaupol.gtk
  File /usr/lib/python2.5/site-packages/gaupol/gtk/__init__.py, line
44, in module gobject.threads_init()
RuntimeError: pygtk threading disabled at compile time


yesterday i installed deluge (a bittorrent client) and it crashes with
the same error:

  File /usr/lib/python2.5/site-packages/deluge/interface.py, line
1041, in start gobject.threads_init()
RuntimeError: pygtk threading disabled at compile time

i searched the web but i couldn't find anything useful. supposedly this
happens when pygtk is compiled without threads support, but the ebuild
doesn't have an USE option for threads, and when it compiles i see the
option --enable-threads flashing by, so i guess pygtk *should* have
threads enabled. any ideas?

best,

lj
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pygtk threading disabled at compile time

2008-05-04 Thread Mick
On Sunday 04 May 2008, luis jure wrote:
 hello list,

 recently i began having problems when trying to run gaupol, a subtitle
 editor. it fails thus:

 Traceback (most recent call last):
   File /usr/bin/gaupol, line 18, in module
 import gaupol.gtk
   File /usr/lib/python2.5/site-packages/gaupol/gtk/__init__.py, line
 44, in module gobject.threads_init()
 RuntimeError: pygtk threading disabled at compile time


 yesterday i installed deluge (a bittorrent client) and it crashes with
 the same error:

   File /usr/lib/python2.5/site-packages/deluge/interface.py, line
 1041, in start gobject.threads_init()
 RuntimeError: pygtk threading disabled at compile time

 i searched the web but i couldn't find anything useful. supposedly this
 happens when pygtk is compiled without threads support, but the ebuild
 doesn't have an USE option for threads, and when it compiles i see the
 option --enable-threads flashing by, so i guess pygtk *should* have
 threads enabled. any ideas?

I assume that you have tried the basics like /usr/sbin/python-updater and 
revdep-rebuild -X -v -p ?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] pygtk threading disabled at compile time

2008-05-04 Thread luis jure
El Sun, 4 May 2008 19:30:25 +0100
Mick [EMAIL PROTECTED] escribió:

 I assume that you have tried the basics like /usr/sbin/python-updater
 and revdep-rebuild -X -v -p ?

hi, thanks for your answer. yes, i did that, and i did recompile pygtk
several times and a few other packages that i could think could be
related, just in case. in fact i asked the list before doing the last i
could think of, that is emerge -e pygtk (well, the last i can think of
is reinstalling the whole system...)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pygtk threading disabled at compile time

2008-05-04 Thread Daniel Iliev
On Sun, 4 May 2008 08:49:23 -0300
luis jure [EMAIL PROTECTED] wrote:

 ebuild doesn't have an USE option for threads, and when it compiles i
 see the option --enable-threads flashing by, so i guess pygtk
 *should* have threads enabled. any ideas?
 
 best,
 
 lj


Hi,

You might want to try this:

echo EXTRA_ECONF=--enable-threads  /etc/make.conf
emerge -1 dev-python/pygtk


If things are still not OK you could re-emerge all packs which
depend on pygtk. To get a list of those:

equery depends dev-python/pygtk


Then you can remark/delete the EXTRA_ECONF line from make.conf.

HTH

-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list