Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I got the followin error: checking for python... /usr/bin/python checking if Python version >= 1.5.2... okay checking local Python configuration... checking for script directory... /usr/lib/python2.3/site-packages checking for extension module directory... /usr/lib/python2.3/site-packages looks good checking for python module gtk... no configure: error: could not find pygtk module !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/dia-0.94-r1/work/dia-0.94/config.log !!! ERROR: app-office/dia-0.94-r1 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed seems that pygtk is missing (see the attached config.log) but i have it installed: root@Sandstorm:~/tmp/dia-0.94# emerge -p pygtk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-python/pygtk-2.4.1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 17:02:32)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fweb -ftracers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fweb -ftracers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cscope cups curl dvd dvdr encode esd fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib jp2 jpeg kde libwww lzw lzw-tiff mad matroska mboxmikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre perl png python qt readline samba sdl spell sqlite ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xmms xpm xprint xrandr xv xvid zlib linguas_en linguas_it" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created an attachment (id=56568) [details] the output of the failing configure script
sorry i meant dia 0.94-r1 not 0.94.1
Hi, Are you sure the config.log file you attached is from your /var/tmp/portage/dia-0.94-r1/work/dia-0.94 directory? Also, are you sure your python extensions (such as pygtk) are working correctly? If you have updated python on your system, some things may have broken. Try running /usr/sbin/python-updater, and then try to emerge dia again.
I have similar problem when updating dia through "ssh -X -Y root@host" connection (I can start remote X11 apps and pygtk is installed): checking for math.h... yes checking for isinf in -lm... yes checking if C compiler accepts -Wall... yes checking if C compiler accepts -Wunused... yes checking if C compiler accepts -Wmissing-prototypes... yes checking if C compiler accepts -Wmissing-declarations... yes checking if C compiler accepts -finline-functions... yes checking if C compiler accepts -fstrict-aliasing... yes checking for db2html... no checking for python... /usr/bin/python checking if Python version >= 1.5.2... okay checking local Python configuration... checking for script directory... /usr/lib/python2.3/site-packages checking for extension module directory... /usr/lib/python2.3/site-packages looks good checking for python module gtk... X11 connection rejected because of wrong authentication. no configure: error: could not find pygtk module !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/dia-0.94-r1/work/dia-0.94/config.log !!! ERROR: app-office/dia-0.94-r1 failed. !!! Function econf, Line 485, Exitcode 0 The logfile contains a note about application "-c"!: configure:25133: checking for python configure:25151: found /usr/bin/python configure:25163: result: /usr/bin/python configure:25176: checking if Python version >= 1.5.2 configure:25195: result: okay configure:25204: checking local Python configuration configure:25235: checking for script directory configure:25243: result: /usr/lib/python2.3/site-packages configure:25253: checking for extension module directory configure:25261: result: /usr/lib/python2.3/site-packages configure:25270: result: looks good configure:25275: checking for python module gtk The application '-c' lost its connection to the display localhost:11.0; most likely the X server was shut down or you killed/destroyed the application. configure:25304: result: no configure:25306: error: could not find pygtk module
Hi Leonardo, you are right... the config.log was from another dia configure... now i attached the correct one (see below). As for the python installation... i dont really know as i dont use python for development; but here is the output from python-updater... root@Sandstorm:~# python-updater * Can't determine any previous Python version(s). root@Sandstorm:~# emerge -p python These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/python-2.3.4-r1
Created an attachment (id=56639) [details] Real config.log
as suggested by someone i tried to re-emerge python here are the last lines from: emerge --deep python .... Compiling /usr/lib/python2.3/site-packages/libxslt.py ... [ ok ] * Byte compiling python modules for python-2.3 ..... [ ok ] * * If you have just upgraded from python-2.2.x you will need to run: * * /usr/sbin/python-updater * * This will automatically rebuild all the python dependent modules * to run with python-2.3. * * Python 2.2 is still installed and can be accessed via /usr/bin/python2.2. * Portage-2.0.49-r8 and below will continue to use python-2.2.x, so * think twice about uninstalling it, otherwise your system will break. * >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> dev-lang/python-2.3.4-r1 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. root@Sandstorm:~# python-updater * Can't determine any previous Python version(s).
sorry for multiple posts... but i forgot to add that i havent got python 2.2 installed (at least i dont think so) and certainly i haven't got the /usr/bin/python2.2 as the ebuild said.
i tried to re-emerge pygtk too and here is what i got as a result: --- !empty dir /usr/bin --- !empty dir /usr * Cleaning orphaned Python bytecode from /usr/share/pygtk/2.0/codegen .. * Cleaning orphaned Python bytecode from /usr/lib/python2.3/site-packages .. * Cleaning orphaned Python bytecode from /usr/lib64/python2.3/site-packages .. * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.py symlink * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.pth symlink >>> original instance of package unmerged safely. * Byte compiling python modules for python-2.3 ..... [ ok ] * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.py symlink * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.pth symlink >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> dev-python/pygtk-2.4.1 merged. could the missing symlinks be an issue?
Hello, Francesco: It seems like your problem is with python itself, you're right. Most likely this is a manifestation of bug #76791. Martin: Your problem is not related to this particular bug. You should see bug #88614. I will close this as a dup of bug #76791 unless someone finds out the cause for Francesco's problem is different.
*** This bug has been marked as a duplicate of 76791 ***