[mythtv-users] Broken Perl bindings

Tom Dexter digitalaudiorock at gmail.com
Fri Apr 25 11:30:34 UTC 2008


On Thu, Apr 24, 2008 at 6:03 PM, Mike Perkins
<mikep at randomtraveller.org.uk> wrote:
> Michael T. Dean wrote:
>  > On 04/24/2008 03:04 PM, Tom Dexter wrote:
>  >> On Thu, Apr 24, 2008 at 1:09 PM, Mike Perkins wrote:
>  >>
>  >>>  mythrename.pl --link /seems/ to run successfully when run from the command line.
>  >>>  optimize_mythdb.pl is the one that causes problems. Net::UPnP::ControlPoint is
>  >>>  the module it complains about. When I go and check what line the complaint is
>  >>>  from (15), that was when I realised that, though rpmdrake insists I have
>  >>>  installed the Perl-Mythtv package, optimize_mythdb.pl ain't finding it.
>  >> Just to be clear that it's not a perl issue...if I set my HOME to /, I
>  >> can reproduce what I'm assuming is the error you're getting:
>  >>
>  >> mythback root # export HOME=/
>  >> mythback root # perl /usr/share/mythtv/contrib/optimize_mythdb.pl
>  >> Net::UPnP::ControlPoint is not installed!
>  >> Please install Net::UPnP or copy ~/.mythtv/config.xml
>  >> from a working MythTV installation to //.mythtv/config.xml.
>  >> Compilation failed in require at
>  >> /usr/share/mythtv/contrib/optimize_mythdb.pl line 15.
>  >> BEGIN failed--compilation aborted at
>  >> /usr/share/mythtv/contrib/optimize_mythdb.pl line 15.
>  >
>  > And, really, you should install both Net::UPnP::ControlPoint and
>  > Net::UPnP::QueryResponse. (I.e. if from CPAN, use "install Net::UPnP "
>  > followed by "install Net::UPnP::QueryResponse").
>  >
>  Yeah. I would have assumed that those would have been picked up by the packager
>  who built the Mythtv packages for Mandriva. I may mention it there tomorrow.
>
>  Could also explain why I get nothing out from my uPnP tests.
>
>  Mike Perkins
>
>
>
>  _______________________________________________
>  mythtv-users mailing list
>  mythtv-users at mythtv.org
>  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Apparently Gentoo doesn't pick it up either.  One thing throws me
however...how would that help if MythTV can't find that database login
information?

I also just reallized that that that error is a bit misleading as it
says "or copy ~/.mythtv/config.xml from a working MythTV installation
to //.mythtv/config.xml", when in fact MythContext doesn't allow HOME
to be set to / even if .mythtv/config.xml exists there.

Tom


More information about the mythtv-users mailing list