[mythtv-users] Struggling to build v34 on Opensuse leap 15.4 and 15.5

Paul Gardiner lists at glidos.net
Wed Feb 14 09:01:11 UTC 2024



On 11/02/2024 23:57, James Linder wrote:
> 
> 
>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib at gmail.com> wrote:
>>
>>
>>
>>
>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>
>>> On Sun, Feb 11, 2024 at 1:52 PM James Linder <jam at tigger.ws> wrote:
>>>
>>>>
>>>> First install gcc-13 and g++-13
>>>>
>>>
>>> If it would make sense, I can probably
>>> create a PR(*) to add installing gcc13
>>> and gcc13-c++ to the ansible tasks for
>>> Leap.  It would not help for the ./configure
>>> invocation, but at least the compiler
>>> would be there.
>>>
>>>
>>>
>>> (*) Or, better yet, you could create the PR
>>> for the MythTV/ansible repo.
>>
>>
>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>> gcc/gcc-c++
> 
> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
> What I cannot see is how to ‘ansible’ the mysql pip bit.
> Tumbleweed uses gcc13 and python 3.11
> 
> in case it is of any value, from history:
>    139  sudo zypper in mariadb-tools
>    140  sudo zypper in bc git ansible
>    141  sudo zypper in gcc13-c++ gcc13
>    142  sudo zypper in python311
>    143  sudo zypper in python311-lxml
>    144  sudo zypper in python311-requests python311-simplejson
>    145  sudo zypper in python311-future
>    146  sudo zypper in python311-requests-cache
>    147  sudo zypper in python3-requests-cache
>    148  sudo zypper in python3-devel
>    149  pip3 install mysqlclient
>    150  cd PROJECTS/ansible/
>    151  git pull
>    152  ./mythtv.yml --limit=localhost
>    153  sudo zypper in python311-devel
>    154  pip3 install mysqlclient
>    155  cd ../mythtv/
>    156  git pull
> 
> Here I was trying stuff
> 
>    157  ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>    158  cd mythtv
>    159  ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>    160  make -j 9
>    161  git clean -xfd
>    162  ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>    163  make -j 9
>    164  sudo make install

I found a python311-mysqlclient package in the repo 
devel:languages:python:backports. Including that makes my package 
generation succeed.

I haven't managed to find python311-requests-cache so far. Where are you 
getting that from?

Paul.


More information about the mythtv-users mailing list