> On Nov 17, 2023, at 13:31, David Hampton via mythtv-users <mythtv-users@mythtv.org> wrote:
>
> On Fri, 2023-11-17 at 12:26 +0800, jam wrote:
>>
>>
>>> On 17 Nov 2023, at 11:55 am, David Hampton via mythtv-users
>>> <mythtv-users@mythtv.org> wrote:
>>>
>>> On Fri, 2023-11-17 at 08:01 +0800, James Linder wrote:
>>>> I use fixes/32 and all is well.
>>>> I decided to give master a try and I unleashed python38 hell.
>>>> Has anybody built master on opensuse. I’m using Leap 15.5.
>>>> Tumbleweed
>>>> uses 38 but I’m relutant to use (bitten too many times)
>>>
>>> I am not a regular suse user, but I have internal builders that
>>> compile
>>> the master branch on both suse15 (now at 15.5) and tumbleweed.
>>> I've
>>> never had any problem that I can remember with the builds. (I did
>>> have
>>> to reinstall the OS once after flubbing an upgrade.) Is there a
>>> specific question I can answer? My suse-15 python version is
>>> 3.6.15;
>>> tumbleweed is 3.11.5.
>>
>> ./configure --cc=gcc-10 --cxx=g++-10 --enable-set-cc-default
>> WARNING: disabling Python bindings; missing Python 3.8 or greater
>> …
>> # Bindings
>> bindings_perl yes
>> bindings_python no
>> bindings_php yes
>>
>>
>> The default as installed gcc is 7
>>
>> ./configure
>> MythTV requires GCC 8 or better.
>
> First, does "zypper repos | grep repo-sle-update" say "yes" in the
> fourth column? If not, issue the command "zypper modifyrepo -e <n>"
> where <n> is the number from the first column,
>
> Then try "sudo zypper install gcc13". I believe that will also set the
> symlinks so that "gcc" is a link to "gcc13".
Nope it does not!
[seagull] /home/jam [362]% ll /usr/bin/gcc*
lrwxrwxrwx 1 root root 5 Aug 23 2021 /usr/bin/gcc -> gcc-7
-rwxr-xr-x 1 root root 1153968 Jul 18 2022 /usr/bin/gcc-10
-rwxr-xr-x 2 root root 1666184 Nov 8 16:54 /usr/bin/gcc-13
-rwxr-xr-x 1 root root 1022416 Nov 2 2021 /usr/bin/gcc-7
lrwxrwxrwx 1 root root 8 Aug 23 2021 /usr/bin/gcc-ar -> gcc-ar-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-ar-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-ar-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-ar-7
lrwxrwxrwx 1 root root 8 Aug 23 2021 /usr/bin/gcc-nm -> gcc-nm-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-nm-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-nm-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-nm-7
lrwxrwxrwx 1 root root 12 Aug 23 2021 /usr/bin/gcc-ranlib -> gcc-ranlib-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-ranlib-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-ranlib-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-ranlib-7
>
Hmmm
[seagull] /home/jam [366]%
[seagull] /home/jam [366]% sudo update-alternatives --config gcc
[sudo] password for root:
update-alternatives: error: no alternatives for gcc
I’ll go ahead and doit anyway. Thanks for ideas
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