Date: Tue, 19 Jun 2012 07:00:02 +0100 From: Alan Hicks <ahicks@p-o.co.uk> To: freebsd-multimedia@freebsd.org Cc: decke@FreeBSD.org Subject: Re: mythweb Message-ID: <4FE01562.1080404@p-o.co.uk> In-Reply-To: <CC24EB27-0A99-46A3-BA99-F0296A098A3A@wohlford.org> References: <CC24EB27-0A99-46A3-BA99-F0296A098A3A@wohlford.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 19/06/2012 03:00, Jason Wohlford wrote:
> I've been struggling with mythweb for a bit. It was working; now it's not. It's been that way for at least a month. Can't tell if this is something I induced or if it's a bug. Help me out, folks.
>
> The error in the browser I'm getting is:
>
> Fatal error: Class 'MythBase' not found in /s/usr-local/www/mythweb/classes/Translate.php on line 16
>
> I look for a MythBase, but only find pointers.
>
> [root@mythtv /usr/local/www/mythweb]# grep -Ri MythBase .
> ./classes/Translate.php:class Translate extends MythBase {
> ./modules/tv/classes/Channel.php:class Channel extends MythBase {
> ./modules/tv/classes/Program.php:class Program extends MythBase {
> ./modules/tv/classes/Schedule.php:class Schedule extends MythBase {
> grep: ./data/video_covers: No such file or directory
> grep: ./data/video: No such file or directory
> [root@mythtv /usr/local/www/mythweb]#
>
> Googling to the error leads me to a page that mentions bindings, but I couldn't find any such files even with a comprehensive 'find / -name bindings'.
>
> Compiling Common Binaries For Multiple Frontends
> <http://www.mythtv.org/wiki/Compiling_Common_Binaries_For_Multiple_Frontends>
>
> Suggestions?
You are probably missing the bindings from multimedia/mythtv
/usr/local/share/mythtv/bindings/php/MythBase.php
The port may need to be patched as bindings appear to be always off,
alas not had time to offer patch for pkg-plist.
Alan
>
> Cheers,
> Jason
>
[-- Attachment #2 --]
--- Makefile.orig 2012-06-19 06:45:02.000000000 +0100
+++ Makefile 2012-06-19 06:46:17.000000000 +0100
@@ -79,7 +79,6 @@
RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber
-CONFIGURE_ARGS+=--without-bindings=perl,php
PLIST_SUB+= BINDINGS=""
.else
CONFIGURE_ARGS+=--without-bindings=perl,python,php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE01562.1080404>
