[mythtv-users] Help with Perl Error Message ("IO::Socket::INET6" is empty)

Jonatan Lindblad lindbladjonatan at gmail.com
Tue Nov 20 18:51:36 UTC 2018


Den 2018-11-20 kl. 18:12, skrev Peter Bennett:> 
> On 11/19/18 10:22 PM, James Linder wrote:
>>
>>> On 20 Nov 2018, at 7:55 am, mythtv-users-request at mythtv.org wrote:
>>>
>>>> being part of the ludite community of Perth who think daylight saving is a fate worse than death I had not considered the obvious <blush>
>>>> On UTC  I Really did know that, but sloth and every list that I have ever seen (incorrectly) times zones in a format that includes GMT+0, GMT+1 etc etc. Does 100 lines punishment:-)
>>>>
>>>> The wiki still sucks because having followed it, and then wasted a few hours it still does not work, next time I?m bored I?ll write a QT C++ (QT ?cause all the DB stuff is trivial) version of mythlink.
>>>> Just testing the waters, are all the format options useful (ie do I include them all in a contributed script, or is everyone happy that it works just fine?
>>>>
>>> mythlink works fine on 29 and master (and prior versions). It looks like
>>> you have a missing dependency. There is a list of dependencies in the
>>> wiki at https://www.mythtv.org/wiki/Build_from_Source#Dependencies . I
>>> would make sure you have them all installed.
>> Peter thanks.
>> I did build mythtv from scratch and used ansible to satisfy dependancies. All good except mythlink does not run. I followed the wiki and installed the bits it said.
>> • Net::UPnP::QueryResponse
>> • Net::UPnP::ControlPoint
>>
>> Still not working. I then tried to install the complained-missing ummm looks …
>> IO::Socket::INET6
>> which was the start of a huge hunt around.
>>
>> Result is
>>
>> [sandypit] /store [914]% ~/mythtv/mythtv/contrib/user_jobs/mythlink.pl  --link /store/pretty --format '%T/%T%-%S'
>> 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.18.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.2 /usr/lib/perl5/5.18.2/x86_64-linux-thread-multi /usr/lib/perl5/5.18.2 /usr/lib/perl5/site_perl .).
>>   at /usr/lib/perl5/vendor_perl/5.18.2/IO/Socket/INET/MythTV.pm line 14.
>> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.18.2/IO/Socket/INET/MythTV.pm line 14.
>> Compilation failed in require at /usr/lib/perl5/vendor_perl/5.18.2/MythTV.pm line 14.
>> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.18.2/MythTV.pm line 14.
>> Compilation failed in require at /home/jam/mythtv/mythtv/contrib/user_jobs/mythlink.pl line 22.
>> BEGIN failed--compilation aborted at /home/jam/mythtv/mythtv/contrib/user_jobs/mythlink.pl line 22.
>>
>> James
>>
> 
> I am not a perl expert. Maybe somebody in the mailing list can help with the error if I change the title of the email. As I said, it works perfectly for me and I use it daily.

You don't have to be a perl expert :)  Knowing how to use Google or your distribution's package search function should be sufficient.  On Debian the required package for IO::Socket::INET6 is called libio-socket-inet6-perl.

Jonatan


More information about the mythtv-users mailing list