When trying to emerge alacarte, I get the above error in the config.log file (attached). As a potential remedy, I cleaned my pygtk install (emerge -C pygtk) and re-emerged the package, and it claims to have emerged correctly with no errors reported. However, I notice that no module named pygtk.py (or pygtk.*) is installed in /usr/lib/python2.4/site-packages, which is where alacarte seems to look for it. The installer does put a bunch of files in /usr/lib/python2.4/site-packages/gtk-2.0 and various subdirectories under that directory, but no module named pygtk.py (or pygtk.*) In addition, if I try at this point to emerge pygtk again (without cleaning the old install using emerge -C) I get the following error reported from the pygtk install: * Unable to establish /usr/lib/python2.4/site-packages/pygtk.py symlink * Unable to establish /usr/lib/python2.4/site-packages/pygtk.pth symlink Reproducible: Always Steps to Reproduce: 1. emerge -C pygtk 2. emerge pygtk 3. emerge alacarte Actual Results: alacarte (and I imagine any other package that relies on pygtk) fails to install when it can't find the pygtk module. Expected Results: pygtk installs correctly, and subsequently alacarte installs correctly Output from emerge --info: Portage 2.1.2.7 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r5 ppc) ================================================================= System uname: 2.6.20-gentoo-r5 ppc 7447A, altivec supported Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 01 Jul 2007 05:30:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec apache2 arts berkdb bitmap-fonts bonobo cdr cli cracklib crypt cups dri dvd eds emboss encode esd firefox fortran gdbm gif gnome gpm gstreamer gtk gtkhtml iconv ipv6 isdnlog jpeg kde ldap libg++ libwww mad midi mikmod mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppc pppd python qt3 qt4 quicktime readline reflection ruby sdl session spell spl ssl symlink tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="snd_aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 123594 [details] config.log from emerge of alacarte Standard config.log file created from 'emerge alacarte'.
They're there for me: [10:09:40 athena] site-packages> ll /usr/lib64/python2.4/site-packages/pygtk.p* 0 lrwxrwxrwx 1 root root 13 2007-07-17 12:00 /usr/lib64/python2.4/site-packages/pygtk.pth -> pygtk.pth-2.0 4.0K -rw-r--r-- 1 root root 8 2007-02-07 17:37 /usr/lib64/python2.4/site-packages/pygtk.pth-2.0 0 lrwxrwxrwx 1 root root 12 2007-07-17 12:00 /usr/lib64/python2.4/site-packages/pygtk.py -> pygtk.py-2.0 4.0K -rw-r--r-- 1 root root 2.9K 2007-02-07 17:37 /usr/lib64/python2.4/site-packages/pygtk.py-2.0 4.0K -rw-r--r-- 1 root root 2.0K 2007-02-07 18:13 /usr/lib64/python2.4/site-packages/pygtk.pyc 4.0K -rw-r--r-- 1 root root 1.7K 2007-02-07 17:37 /usr/lib64/python2.4/site-packages/pygtk.pyo What do you have there (it will be in /usr/lib on your box...)?
(In reply to comment #2) > They're there for me: > > [10:09:40 athena] site-packages> ll /usr/lib64/python2.4/site-packages/pygtk.p* > 0 lrwxrwxrwx 1 root root 13 2007-07-17 12:00 > /usr/lib64/python2.4/site-packages/pygtk.pth -> pygtk.pth-2.0 > 4.0K -rw-r--r-- 1 root root 8 2007-02-07 17:37 > /usr/lib64/python2.4/site-packages/pygtk.pth-2.0 > 0 lrwxrwxrwx 1 root root 12 2007-07-17 12:00 > /usr/lib64/python2.4/site-packages/pygtk.py -> pygtk.py-2.0 > 4.0K -rw-r--r-- 1 root root 2.9K 2007-02-07 17:37 > /usr/lib64/python2.4/site-packages/pygtk.py-2.0 > 4.0K -rw-r--r-- 1 root root 2.0K 2007-02-07 18:13 > /usr/lib64/python2.4/site-packages/pygtk.pyc > 4.0K -rw-r--r-- 1 root root 1.7K 2007-02-07 17:37 > /usr/lib64/python2.4/site-packages/pygtk.pyo > > > What do you have there (it will be in /usr/lib on your box...)? > Nothing. I believe that's the problem. The pygtk emerge claims to be successful, it installs a bunch of stuff (including the directory /usr/lib/pygtk) but nowhere from the root of /usr do I find ANY pygtk.p* files. I have attempted to build "by hand" a downloaded pygtk-2.10.4 directly from the pygtk.org site, but even though that also claims to build and install successfully, no pygtk.p* files are generated. I haven't really taken serious time to look through the makefiles, but I'm assuming that pygtk.p* are symbolic links that point to some other python (compiled) file(s) (in fact, if I try to emerge pygtk after it "successfully" emerges the first time, it complains that it can't create symbolic links for pygtk.py and pygtk.pth).
Okay, a bit of research turns out (what I should have known already) that pygtk.py is installed by pygobject now, not by pygtk. Can you re-emerge pygobject and see if that fixes your problem?
Re-emerging pygobject did, indeed, solve my problem. Thanks for the help.