Click to See Complete Forum and Search --> : python patch needed?


mercyful fate
10-31-2007, 08:23 PM
i'm trying to install miro on gentoo but keep getting the error that my python version isn't patched. i tried installing the patch but it seems to have been made private. anyone happen to know another place i can get this patch or a possible workaround?

the error is below...


* You need to apply a patch to make distutils use the correct RPATH.
* To do this execute the following command as root:
* wget -q 'http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=144928&aid=1254718' -O -|patch -p1 -d /usr/lib/python2.4
*
* ERROR: media-tv/miro-0.9.9.1 failed.
* Call stack:
* ebuild.sh, line 1711: Called dyn_setup
* ebuild.sh, line 762: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* miro-0.9.9.1.ebuild, line 47: Called die
* The specific snippet of code:
* die "python version not patched"
* The die message:
* python version not patched
*
* 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/media-tv/miro-0.9.9.1/temp/build.log'.
*

* Messages for package media-tv/miro-0.9.9.1:

* You need to apply a patch to make distutils use the correct RPATH.
* To do this execute the following command as root:
* wget -q 'http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=144928&aid=1254718' -O -|patch -p1 -d /usr/lib/python2.4
*
* ERROR: media-tv/miro-0.9.9.1 failed.
* Call stack:
* ebuild.sh, line 1711: Called dyn_setup
* ebuild.sh, line 762: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* miro-0.9.9.1.ebuild, line 47: Called die
* The specific snippet of code:
* die "python version not patched"
* The die message:
* python version not patched

mercyful fate
11-01-2007, 03:44 PM
anyone?

saikee
11-02-2007, 04:14 AM
Don't really have a solution for you but are you confirming the suggested command
wget -q 'http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=144 928&aid=1254718' -O -|patch -p1 -d /usr/lib/python2.4does not work and there is no further error message?

Lets say you can't patch it but how about download the latest python. Would this do?

JohnT
11-03-2007, 06:15 PM
It seems the problem is not isolated to your install....
http://getmiro.com/forum/comments.php?DiscussionID=247
If you want to get your hands dirty download "chrpath" and change or modify your rpath.
http://freshmeat.net/projects/chrpath/
Use at your own risk.

mercyful fate
11-03-2007, 07:03 PM
well, i've managed to overcome the python patch problem by just upgrading python...which always leads to more problems...

so here is my new error:

--

└( /home/spano )·> miro
/usr/lib/python2.5/site-packages/miro/eventloop.py:34: RuntimeWarning: Python C API version mismatch for module fasttypes: This Python has API version 1013, module fasttypes has version 1012.
import database
DTV: Warning: could not import GTK (is DISPLAY set?)
Traceback (most recent call last):
File "/usr/bin/miro.real", line 81, in <module>
startapp()
File "/usr/bin/miro.real", line 60, in startapp
app.main()
File "/usr/lib/python2.5/site-packages/miro/app.py", line 98, in main
Controller().Run()
File "/usr/lib/python2.5/site-packages/miro/app.py", line 622, in __init__
frontend.Application.__init__(self)
AttributeError: class Application has no attribute '__init__'

--

so i searched portage for fasttypes, no luck...not sure on how to set display for dtv, and the rest of the errors i have no clue on how to even approach fixing. thanks so far to saikee and johnt! i don't think i'd be this far without you guys! i know i've gotta be close to something on this with all the problems i've had!