[mythtv-users] Broken Perl bindings
Mike Perkins
mikep at randomtraveller.org.uk
Thu Apr 24 22:03:34 UTC 2008
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
More information about the mythtv-users
mailing list