I'm trying to build gnome on a previously console-based machine, and the build is failing because pygobject-2.14.2 claims it doesn't have Python headers. I have parallel Python 2.4 and 2.5 available (2.4 is presently eselected), and it looks like I'm running into http://bugs.gentoo.org/199488 ... except that this seems to be a different issue: 199488 was breakage from having Python 2.3 still around, and I can't find any evidence on my system of 2.3 being installed. (And the install was made just a couple of months ago by a system administrator who probably isn't into digging up nostalgic software versions for a fresh install.) I'm not sure if this is or is not a duplicate bug, but I seem to be manifesting the same behavior in the absence of the Python 2.3 which was singled out as the culprit in the previous filed bug. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log * * ERROR: dev-python/pygobject-2.14.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3003: Called gnome2_src_compile * environment, line 2228: Called gnome2_src_configure * environment, line 2242: Called econf 'src_compile' 'src_compile' '--disable-docs' * ebuild.sh, line 519: 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/dev-python/pygobject-2.14.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.14.2/temp/environment'. * Jonathan http://JonathansCorner.com/
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log having an eselected python doesn't work well with gnome related packages and it is advised in the upgrade guides that avoid having multiple python installations at all unless you really need it and know what you do.
(In reply to comment #1) > !!! Please attach the following file when seeking support: > !!! > /var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log > > having an eselected python doesn't work well with gnome related packages and it > is advised in the upgrade guides that avoid having multiple python > installations at all unless you really need it and know what you do. > I need Python 2.4 because some of the software I have hasn't worked on Python 2.5 yet. Is there a safe way to temporarily or permanently undo the eselect (unmerge Python 2.5 and eselect-python) and only run 2.4, or is it messier than that, i.e. if I want Python 2.4 installed, Gnome will be tricky? (logfile forthcoming; I don't have access to it from here.)
You can use multiple pythons as long as you always have the latest (2.5 in this case) selected when you emerge gnome apps. I'm not sure about downgrading. I suspect it's not well tested, and will probably fail. It may be worth a shot, however, if there's no other choice.
still waiting for a log. As dang said though, you may keep multitple pythons but don't expect gnome to work well if you migrated some packages but not all to a specific python version. gnome packages tend to only pack the most recent that it knows about too whatever eselect says.