Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Emerge Avahi fails, can't find python module gtk

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

Emerge Avahi fails, can't find python module gtk

  • Quote

Post by lostinlinux » Mon Apr 14, 2008 2:13 am

I am attempting to update my system and when I get to avahi I ma getting the following error. I thought this was referring to pygtk, but that is installed. I had python 2.5 installed, but have since removed it and am using python 2.4 ( not sure if this makes a difference, but figured the info can't hurt). Anyone know how to fix this?

Code: Select all

checking for python module gtk... no
configure: error: Could not find Python module gtk

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-dns/avahi-0.6.22-r1/work/avahi-0.6.22/config.log
 *
 * ERROR: net-dns/avahi-0.6.22-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3232:  Called econf '--localstatedir=/var' '--with-distro=gentoo' '
--disable-python-dbus' '--disable-pygtk' '--disable-xmltoman' '--disable-monodoc' '--enable-glib' '-
-disable-tests' '--disable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl' '--disable-d
oxygen-doc' '--enable-mono' '--enable-dbus' '--enable-python' '--enable-gtk' '--enable-qt3' '--enabl
e-qt4' '--enable-gdbm' '--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.22-r1/temp/environm
ent'.
 *

 * Messages for package net-dns/avahi-0.6.22-r1:

 *
 * ERROR: net-dns/avahi-0.6.22-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3232:  Called econf '--localstatedir=/var' '--with-distro=gentoo' '
--disable-python-dbus' '--disable-pygtk' '--disable-xmltoman' '--disable-monodoc' '--enable-glib' '-
-disable-tests' '--disable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl' '--disable-d
oxygen-doc' '--enable-mono' '--enable-dbus' '--enable-python' '--enable-gtk' '--enable-qt3' '--enabl
e-qt4' '--enable-gdbm' '--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.22-r1/temp/environm
ent'.
 *
So many questions so little time....
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Mon Apr 14, 2008 8:33 am

You might want to run `python-updater -o 2.5`. This specific package is pygtk, and you'll probably run into others if you don't run python-updater.
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Mon Apr 14, 2008 10:27 am

Well I am running that now, but pygtk did not come up as one that needed to be rebuilt. It is instead building the following:

Code: Select all

=dev-python/dbus-python-0.82.4 =dev-python/gdata-1.0.8 =dev-python/pygobject-2.14.1 =dev-python/pyrex-0.9.6.4 =app-admin/gamin-0.1.9-r1 =gnome-extra/libgsf-1.14.7 =x11-libs/vte-0.16.13 =gnome-base/gnome-menus-2.22.1 =sys-apps/file-4.24
Will follow up with the results.

On an aside, I downgraded python in desperation trying to fix this issue I am experiencing with avahi, does gentoo work with 2.5 without problems?
So many questions so little time....
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Mon Apr 14, 2008 10:52 am

so it looks like this did work. But again is there an issue with python 2.5 and gentoo or were my problems a result of something else?
So many questions so little time....
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Mon Apr 14, 2008 5:16 pm

I haven't had any trouble with 2.5. You could run into trouble if you're trying to mix it into an otherwise stable system, though.
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Mon Apr 14, 2008 10:38 pm

I'd rather not mix and just replace. Is there a doc that details how to go about updating python?
So many questions so little time....
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Mon Apr 14, 2008 10:41 pm

lostinlinux wrote:I'd rather not mix and just replace.
I wasn't suggesting that. I was simply saying it's more likely that you will run into problems if you are doing that.
Is there a doc that details how to go about updating python?
Pretty much just read the info after you merge it...
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Tue Apr 15, 2008 1:04 am

hmm....well python-updater is bombing while trying to install some gnome packages..... any idea how to resolve this?

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/libxml2-2.6.31  USE="ipv6 python readline -bootstrap -build -debug -doc -ex
amples -test" 0 kB
[ebuild   R   ] net-zope/zopeinterface-3.0.1  USE="-doc" 0 kB
[ebuild   R   ] dev-python/python-fchksum-1.7.1  27 kB
[ebuild   R   ] sys-apps/file-4.24  USE="python" 0 kB
[ebuild   R   ] sys-libs/cracklib-2.8.12  USE="nls python" 0 kB
[ebuild   R   ] dev-python/numeric-24.2-r6  USE="-doc -lapack" 0 kB
[ebuild   R   ] dev-python/pyrex-0.9.6.4  USE="-examples" 0 kB
[ebuild   R   ] dev-python/pyopenssl-0.6  USE="-doc" 0 kB
[ebuild   R   ] dev-python/dnspython-1.5.0  USE="-examples" 0 kB
[ebuild   R   ] dev-python/pycrypto-2.0.1-r6  USE="-bindist -gmp -test" 0 kB
[ebuild   R   ] media-libs/mutagen-1.13  USE="-test" 0 kB
[ebuild   R   ] dev-python/gdata-1.0.8  USE="-examples" 0 kB
[ebuild   R   ] dev-libs/libxslt-1.1.22  USE="crypt python -debug -examples%" 0 kB
[ebuild   R   ] dev-python/pyopengl-2.0.0.44  0 kB
[ebuild   R   ] dev-python/pycairo-1.4.12  USE="-examples" 0 kB
[ebuild     UD] x11-libs/libXrender-0.9.2 [0.9.4] USE="-debug" 0 kB
[ebuild   R   ] dev-python/pygobject-2.14.1  USE="-debug -doc -examples" 0 kB
[ebuild   R   ] app-admin/gamin-0.1.9-r1  USE="python -debug" 0 kB
[ebuild   R   ] dev-python/dbus-python-0.82.4  USE="-test" 0 kB
[ebuild   R   ] dev-python/pyorbit-2.14.3  USE="-debug" 0 kB
[ebuild   R   ] dev-python/pygtk-2.12.1  USE="X -doc -examples" 0 kB
[ebuild   R   ] gnome-base/gnome-menus-2.22.1  USE="python -debug" 0 kB
[ebuild   R   ] dev-python/twisted-2.4.0  USE="crypt gtk -serial" 0 kB
[ebuild   R   ] dev-python/pygtksourceview-2.0.0-r1  USE="-debug -doc" 0 kB
[ebuild   R   ] dev-python/gst-python-0.10.9  0 kB
[ebuild   R   ] x11-libs/vte-0.16.13  USE="opengl python -debug -doc" 0 kB
[ebuild   R   ] dev-python/twisted-web-0.6.0  0 kB
[ebuild   R   ] dev-python/wxpython-2.6.4.0-r1  USE="opengl unicode" 0 kB
[ebuild   R   ] net-p2p/bittorrent-5.0.9-r1  USE="gtk" 0 kB
[ebuild   R   ] net-dns/avahi-0.6.20-r2  USE="dbus gdbm gtk ipv6 mdnsresponder-compat mono python qt
3 qt4 -autoipd -bookmarks -doc -howl-compat -test" 0 kB
[ebuild   R   ] media-libs/libgpod-0.6.0  USE="gtk python -doc -test" 0 kB
[ebuild   R   ] media-libs/lcms-1.17  USE="jpeg python tiff zlib" 0 kB
[ebuild     U ] dev-python/gnome-python-2.20.1 [2.20.0] USE="-debug -doc -examples" 0 kB
[ebuild   R   ] dev-python/gnome-python-2.20.0  USE="-debug -doc -examples" 0 kB
[ebuild     U ] dev-python/gnome-python-extras-2.19.1-r1 [2.14.2-r1] USE="X firefox -debug -doc -sea
monkey -xulrunner" 0 kB
[ebuild   R   ] dev-python/gnome-python-extras-2.14.2-r1  USE="X firefox -debug -doc -seamonkey -xul
runner" 0 kB
[ebuild   R   ] gnome-extra/libgsf-1.14.7  USE="gnome python -bzip2 -debug -doc" 0 kB
[ebuild  N    ] gnome-base/control-center-2.20.3  USE="alsa eds esd hal -debug" 0 kB
[ebuild  N    ] media-video/totem-2.20.3  USE="dvd flac gnome hal mad mpeg ogg python vorbis xv -a52
 -bluetooth -debug -ffmpeg -galago -lirc -nsplugin -nvtv -seamonkey -theora -xulrunner" 0 kB
[ebuild   R   ] dev-python/gnome-python-desktop-2.20.0  USE="X -debug -doc" 0 kB
[ebuild   R   ] gnome-extra/deskbar-applet-2.20.3  USE="eds spell -debug" 0 kB
[blocks B     ] <gnome-base/control-center-2.22 (is blocking gnome-base/gnome-settings-daemon-2.22.1
)
[blocks B     ] <media-video/totem-2.21 (is blocking dev-libs/totem-pl-parser-2.22.2)

Total: 41 packages (2 upgrades, 1 downgrade, 2 new, 36 reinstalls, 2 blocks), Size of downloads: 27
kB
The packages that are blocking aren't even installed. How can I resolve this?
So many questions so little time....
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Tue Apr 15, 2008 1:15 am

You seem to have a strange mixture of gnome 2.20 and 2.22. You might want to finish upgrading to 2.22.
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Tue Apr 15, 2008 2:13 am

yeah I think I have done that with everything....but I must have missed something I performed an emerge-uDn gnome-light and everythign installed but I am still having the issue where control-center-2.22 (which isn't isntalled) is blocking gnome-settings-daemon is there a way to get a list of all gnome specific packages so I can make sure they are updated?
So many questions so little time....
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Tue Apr 15, 2008 3:07 am

lostinlinux wrote:yeah I think I have done that with everything....but I must have missed something I performed an emerge-uDn gnome-light and everythign installed but I am still having the issue where control-center-2.22 (which isn't isntalled) is blocking gnome-settings-daemon is there a way to get a list of all gnome specific packages so I can make sure they are updated?
Yeah, emerge -va gnome...
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Tue Apr 15, 2008 10:19 am

I am actually using the gnome-light package, but for whatever reason when I emerge -vap gnome-light vs gnome I get different results. gnome-light complains that gdm is blockign gnome-session. gnome doesn't. both are attempting to install the same gnome-session so there looks like somethign screwed up with the gnome-light ebuild
So many questions so little time....
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic