Date: Thu, 3 Nov 2005 18:14:19 +0000 From: Danny Pansters <danny@ricin.com> To: freebsd-multimedia@freebsd.org Subject: Re: Available for testing: Kbtv -- KDE TV viewer for bktr Message-ID: <200511031814.19214.danny@ricin.com> In-Reply-To: <20051102122504.3a7684de@it.buh.tecnik93.com> References: <200511010135.04195.danny@ricin.com> <20051102112700.793e842b@it.buh.tecnik93.com> <20051102122504.3a7684de@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
(forgot to CC multimedia@, here goes) On Wednesday 2 November 2005 10:25, you wrote: > > FreeBSD 6.0-RC1 #1: Fri Oct 28 10:49:49 EEST 2005 and today ports. > > > > While make'ing the port: > > > > ===> Installing for py24-kde-4.0.0_2 > > ===> py24-kde-4.0.0_2 depends on executable: pyuic - found > > ===> py24-kde-4.0.0_2 depends on file: /usr/local/bin/python2.4 - > > found ===> py24-kde-4.0.0_2 depends on file: /usr/X11R6/bin/moc - > > found ===> Generating temporary packing list > > ===> Checking if x11-toolkits/py-kde already installed > > .......... > > cp -f contrib/kdepyuic /usr/local/bin/kdepyuic > > ( install -o root -g wheel -m > > 555 > > /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20050829/contrib/kdepyu > >ic var/ports/kbtv/bin && /usr/local/bin/python2.4 -c "import > > pykdeconfig, dcopexport" && /usr/local/bin/python2.4 -O -c "import > > pykdeconfig, dcopexport" ) Traceback (most recent call last): File > > "<string>", line 1, in ? ImportError: No module named pykdeconfig *** > > Error code 1 > > > > Stop in /usr/ports/x11-toolkits/py-kde. > > *** Error code 1 > > After running make in /usr/ports/x11-toolkits/py-kde and I chose > default options it installed OK. This is, I believe, a common problem with some python ports that really need to be installed in PYTHON_SITELIBDIR. It's hard to make them respect nonstandard pefixes, unless you do something like putting a .pth file in PYTHON_SITELIBDIR that points to the actual location (and so provides a path for python). IMO that only makes things worse, because then the port installs something in a completely different place from the nonstandard prefix. > However: > > /var/ports/kbtv/bin/kbtv > > Traceback (most recent call last): > File "kbtv.py", line 428, in ? > btc = BTControl() > File "/var/ports/kbtv/share/apps/kbtv/btcontrol.py", line 115, in > __init__ self.probeTuner() > File "/var/ports/kbtv/share/apps/kbtv/btcontrol.py", line 146, in > probeTuner vsrc = int(__btcontrol_get__("videosource")) > ValueError: invalid literal for int(): btcontrol: not found > > > Note that I've build with PREFIX=/var/ports/kbtv You're using a non-i386 box, right? This is due to a bug in btcontrol.c. I forgot to include <sys/param.h>. I just uploaded a new tarball alpha2 (note that the port changed as well). Thanks very much for testing!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511031814.19214.danny>