<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 27, 2024 at 9:30 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 26, 2024 at 6:12 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 26 Feb 2024 15:52:39 -0500, you wrote:<br>
<br>
>In the past I've either used mythtv installed on Ubuntu via ppa or on<br>
>Debian building the packages myself.  Today I tried to install on a fresh<br>
>Debian 12 system v34 using deb-multimedia stable backports.<br>
><br>
>I have the frontend and backend working fine at this point, however some of<br>
>the daily maintenance I try to set up is not working right now.<br>
>Specifically, I get errors on <a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a>.<br>
><br>
>It maybe a missing package, but I haven't a clue from the messages below<br>
><br>
>jim@den-pc:~$ sudo /usr/share/doc/mythtv/examples/maintenance/<br>
><a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a><br>
>Can't locate MythTV.pm in @INC (you may need to install the MythTV module)<br>
>(@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0<br>
>/usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36<br>
>/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base<br>
>/usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36<br>
>/usr/local/lib/site_perl) at /usr/share/doc/mythtv/examples/maintenance/<br>
><a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a> line 15.<br>
>BEGIN failed--compilation aborted at<br>
>/usr/share/doc/mythtv/examples/maintenance/<a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a> line 15.<br>
><br>
>I've not had this issue before. I thought about installing the dependencies<br>
>using ansible, but since I was not building it myself, I have not done that.<br>
><br>
>JIm A<br>
<br>
The MythTV.pm file is a Perl module found in the libmythtv-perl<br>
package on Ubuntu.  I would also recommend installing the<br>
libmyth-python package so MythTV Python utilities such as<br>
find_orphans.py will also work.<br>
<br>
To find missing files on Ubuntu (and likely Debian also), you can use<br>
"apt-file find".  You have to install the apt-file package, and<br>
remember to run "apt-file update" before using it so it has the latest<br>
package databases.<br><br></blockquote><div><br></div><div>I just discovered using a VM with Debian 12 installed that libmythtv-perl in <a href="http://deb-multimedia.org" target="_blank">deb-multimedia.org</a> exists for v33 but not 34. <br></div><div><br></div><div>I've started an email thread with the deb-multimedia contact for dependency issues.</div><div><br></div><div>JIm A<br></div></div></div></blockquote><div><br></div><div>So I've found what is missing.  In Debian 12 you have to add mythtv by adding the deb-multimedia repo per the stable-backports instructions.</div><div><br></div><div>Then you:</div><div><br></div><div>sudo apt-get -t stable-backports install mythtv libmythtv-perl</div><div><br></div><div>Next you need sudo apt install libxml-simple-perl</div><div><br></div><div>At this port mythtv backend and frontend can be configured and set up.  </div><div> </div><div>Also <a href="http://optimize_mythdb.pl">optimize_mythdb.pl</a> will work.  It needed the v34 libmythtv-perl and libxml-simple-perl</div><div><br></div><div>Jim A</div><div><br></div><div><br></div></div></div>