Mailing List Archive

ansible
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
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: ansible [ In reply to ]
On Fri, Aug 18, 2023 at 5:09?AM James <jam@tigger.ws> 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
>

The good news is that for Ubuntu 22.04 you don't need to build mythtv or
use ansible. Just:

sudo add-apt-repository ppa:mythbuntu/xx # where xx is a release number
like 32 or 33. Even master can be installed use 34
sudo apt update
sudo apt install mythtv # for the complete FE/BE combo or see the Ubuntu
mythtv wiki for other options.

JIm A
Re: ansible [ In reply to ]
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
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: ansible [ In reply to ]
> On 19 Aug 2023, at 1:35 am, Bill Meek <keemllib@gmail.com> wrote:
>
>
> 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 it is highly useful to be told "I'm doing it and it works", thanks. Now to find what I'm doing wrong. What puzzles me this was a clean install (yesterday) and the first thing I did was ansible and build.

James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: ansible [ In reply to ]
> On 19 Aug 2023, at 5:49 am, James <jam@tigger.ws> wrote:
>
>
>
>> On 19 Aug 2023, at 1:35 am, Bill Meek <keemllib@gmail.com> wrote:
>>
>>
>> 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 it is highly useful to be told "I'm doing it and it works", thanks. Now to find what I'm doing wrong. What puzzles me this was a clean install (yesterday) and the first thing I did was ansible and build.
>

After
make distclean
./configure
make
sudo make install

everything works!!
I can't explain, but thanks
James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org