I tried to install Gramps version 0.92, I had pygtk 1.99.17 installed. The install failed because pygtk 1.99.17 was not built with glade support. This is a simple test: bash-2.05b$ python Python 2.2.3 (#1, Aug 8 2003, 18:34:19) [GCC 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygtk >>> pygtk.require('2.0') >>> import gtk >>> import gtk.glade Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named glade >>> Glade support should be compiled into pygtk 1.99.17. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Gramps version 0.9.2 did not install with pygtk 1.99.17 installed. Expected Results: Gramps should have installed. kitty root # ACCEPT_KEYWORDS=~x86 emerge gramps Calculating dependencies ...done! >>> emerge (1 of 1) app-misc/gramps-0.9.2 to / >>> md5 src_uri ;-) gramps-0.9.2.tar.gz >>> Unpacking source... >>> Unpacking gramps-0.9.2.tar.gz to /var/tmp/portage/gramps-0.9.2/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-pc-linux-gnu-strip... no checking for strip... strip checking for msgfmt... /usr/bin/msgfmt checking for a Python interpreter with version >= 2.2... python checking for python... /usr/bin/python checking for python version... 2.2 checking for python platform... linux2 checking for script directory... ${prefix}/lib/python2.2/site-packages checking for extension module directory... ${exec_prefix}/lib/python2.2/site-packages checking for sh... /bin/sh checking for swig... /usr/bin/swig checking for zip... /usr/bin/zip checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for i586-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for textdomain in -lc... yes checking for pkg-config... YES checking Python bindings for gtk... ok checking Python bindings for GNOME... ok checking Python bindings for gconf... ok checking Python bindings for GNOME canvas... ok checking Python bindin for glade... configure: error: **** The python bindings for glade (pytgk2-libglade) could not be found. !!! ERROR: app-misc/gramps-0.9.2 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed kitty root #
please post your emerge info, do you have USE="gnome" in your USE settings?
I have -gnome in my USE flags. This is my emerge info: Password: kitty root # emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.22_pre2-gss i686 AMD Athlon(tm) XP 2200+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex bonobo svga tcltk java sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif opengl mozilla ldap cdr X kde cups dvd flash gphoto2 pda tiff usb xml scanner gtk gnome -alsa" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache fixpackages" kitty root #
okay, i'll confirm this. if you'd like a quick solution just USE="gnome" emerge pygtk gramps that'll fix things up while we look for a solution to this. the problem is really that gramps needs pygtk to be compiled with what is currently an optional flag for it. thanks for your report, we'll look into it. oh, and a question, liquidx is there a reason that versions .16 and .13 are slotted "2.0" and version .17 is slotted "2" ?
SLOTs fixed, so you can ignore that comment above
we prob need gramps to check for python libglade support in pkg_setup()
added detection for this problem in pkg_setup