python versions and Quodlibet

Chuck Robey chuckr at telenix.org
Wed Feb 3 19:40:44 UTC 2010


I'm having problems with python's versions (from ports) and I need some advice.
 If I were installing everything manually, I would just install python2-5 and be
done with it (I'm very much no fan of Python-3.x), but, when I use my usual
ports tool (portupgrade) it keeps  on installing other versions of python.  I'm
both scared that it's going to do me a "favor" and upgrade my python (something
I'd really like to avoid), and I don't know sufficient details of python's
administration to make sure that my python2.5 port is my main one.

OK, on to the immediate problem: trying to install multimedia/quodlibet.  I
asked around a bit on the freebsd-chat list, and got a suggestion that quodlibit
might best match my needs for a mp3 player (good GUI for using playlists) so I
wanted to install it.  Problem is, even though I've just freshly forced (-f)
portupgrade to reinstall python2.5 along with py-gtk2, the quodlibet install
consistenly fails telling me that py-gtk's version is less than 2.8.  I have
both PYTHON_DEFAULT_VERSION=python2.5 and PYTHON_VER=2.5 in both my
/etc/make.conf and in my tcsh shell environment.  I tried erasing my
/usr/local/bin/python and replacing it with a link to python2.5, that fixed what
I see when I manually start python, but quodlibet still can't find the right
version of py-gtk2.  I don't know how to check or fix this myself, although I'm
guessing that something's missing from my environment.  I tried looking for a
"config.log" from the quodlibet port (a strategy taht often tells me EXACTLY
what went wrong) but I can't find the file in the quodlibet work directory.

So, does anyone know how quodlibit might be probing for the py-gtk2 version, or
how I should change things so that the right version of that is found?  I really
would like to get quodlibet running, but no more than I would honestly like to
get my python2.5 correctly configured also.  I really like python2.5, it's a
great language, isn't it?


More information about the freebsd-python mailing list