[mythtv-users] can't run optimize_mythdb.pl from command line
Michael T. Dean
mtdean at thirdcontact.com
Tue Jan 14 04:05:49 UTC 2020
On 01/13/2020 10:40 PM, Jeremy D. Eiden wrote:
>
> Looking for an answer to Greg Oliver's question, I realized I cannot
> run optimize_mythdb.pl from command line on OpenSuse 15.1, mythtv
> version 29-fixes, and I'd like to put it into cron. I get this error:
>
> Base class package "IO::Socket::INET6" is empty.
> (Perhaps you need to 'use' the module which defines that package
> first,
> or make that module available in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.26.1
> /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.26.1
> /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1
> /usr/lib/perl5/site_perl).
> at /usr/lib/perl5/vendor_perl/5.26.1/IO/Socket/INET/MythTV.pm line 14.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/vendor_perl/5.26.1/IO/Socket/INET/MythTV.pm line 14.
> Compilation failed in require at
> /usr/lib/perl5/vendor_perl/5.26.1/MythTV.pm line 14.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/vendor_perl/5.26.1/MythTV.pm line 14.
> Compilation failed in require at ./optimize_mythdb.pl line 15.
> BEGIN failed--compilation aborted at ./optimize_mythdb.pl line 15.
>
> As to IPV6, I don't run that at all, I disable it completely. I've
> never worked at all with Perl, so I'm not exactly sure what to do.
> @INC, from the error message, already contains the Perl I have installed.
>
> However, it seems like I don't have "DBI" and "MythTV" defined
> correctly, but I don't know how to correctly define them in Perl.
>
> Thank you, and I apologize in advance for the silly question.
>
Looks like you're missing some of the prerequisite Perl modules for the
MythTV Perl bindings--specifically you need IO::Socket::INET6. I don't
know what package that would be for OpenSuse, but likely something to
the effect of perl-IO-Socket-INET6. Even if you're not using IPv6, you
need the module installed for the bindings--it's actually used for IPv4
and IPv6.
Mike
More information about the mythtv-users
mailing list