[mythtv-users] opensuse build

David Hampton mythtv at love2code.net
Fri Nov 17 05:31:09 UTC 2023


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 at 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".

David





More information about the mythtv-users mailing list