[mythtv-users] ansible

Bill Meek keemllib at gmail.com
Fri Aug 18 17:35:07 UTC 2023


On Friday 18 August 2023 04:06:41 AM (-05:00), James wrote:

 > Hi
 > I changed host backend and found that ansible had changed
 > Using ubuntu 22.04 I installed and built.
 > 
 > A couple of sym-links as qmake-qt5 not found.
 > 
 > Build proceeds normally
 > 
 > Make install
 > ...
 > make -C bindings/perl install INSTALL_ROOT=
 > make[1]: Entering directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make[2]: Entering directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make[2]: *** No rule to make target 
'/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/Config.pm', needed by 
'Makefile.perl'.  Stop.
 > make[2]: Leaving directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make[1]: [Makefile:25: perl_build] Error 2 (ignored)
 > make -f Makefile.perl pure_install
 > make[2]: Entering directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make[2]: *** No rule to make target 
'/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/Config.pm', needed by 
'Makefile.perl'.  Stop.
 > make[2]: Leaving directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make[1]: *** [Makefile:28: install] Error 2
 > make[1]: Leaving directory '/home/jam/mythtv/mythtv/bindings/perl'
 > make: *** [Makefile:75: bindings/perl_install] Error 2
 > 
 > May I please know what's happening. With hard work I can resolve all but 
would rather not do the hard yard. Methought that mythtv-devs preferred 
ubuntu (I've never used ubuntu for building myth before)
 > 
 > Thanks
 > James

I don't think this is an Ansible issue. I'm on 22.04.3, but building master 
and don't
see: 

   No rule to make target 
'/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/Config.pm', needed by 
'Makefile.perl'. Stop.

I do see references to Perl version 5.34. 

The Perl  Makefile.perl in YourSourceDir/mythtv/mythtv/bindings/perl is 
generated at
build time. I see: PERL_ARCHLIBDEP = /usr/lib/x86_64-linux-gnu/perl/5.34 in 
mine.
I don't think a make distclean would help, but it may be worth a try. I 
assume you're
not using --perl-config-opts with ./configure.

Here's some things I looked at:


$ perl --version
   This is perl 5, version 34, subversion 0 (v5.34.0) built for 
x86_64-linux-gnu-thread-multi

$ dpkg-query -L perl-base | grep Config.pm
   /usr/lib/x86_64-linux-gnu/perl-base/Config.pm


$ grep "VERSION =" /usr/lib/x86_64-linux-gnu/perl-base/Config.pm
   $VERSION = "5.034000";

-- Bill


More information about the mythtv-users mailing list