[mythtv] build failure

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Feb 21 10:13:56 UTC 2018

On 21/02/18 08:13, James wrote:
> I reported build failure and Gary kindly suggested ansible. That was an ubuntu system and it worked pefectly.
> Although SUSE is a rpm based system ansible does not work with it.
> I try to build and get this:
> In file included from mthread.cpp:34:0:
> mythdbcon.h:4:24: fatal error: QSqlDatabase: No such file or directory
>  #include <QSqlDatabase>

Looks like the relevant qt packages aren't installed.

You'll need to find the equivalent packages to those listed in

being rpm's i wouldn't be surprised if the package names are
the same.

Can you run for me (in the directory where you checked out the
ansible modules)

$ ansible -m setup -i hosts all | grep pkg_mgr

I expect it'll reply

"ansible_pkg_mgr": "zypper",

I'm happy to add suse support to the playbooks, but have nothing to
test it on. I can take a wild stab at it and send you a patch if that
would help?


>                         ^
> compilation terminated.
> Makefile:759: recipe for target 'mthread.o' failed
> make[2]: *** [mthread.o] Error 1
> make[2]: Leaving directory '/home/jam/mythtv/mythtv/libs/libmythbase'
> Makefile:77: recipe for target 'sub-libmythbase-make_first' failed
> make[1]: *** [sub-libmythbase-make_first] Error 2
> make[1]: Leaving directory '/home/jam/mythtv/mythtv/libs'
> Makefile:67: recipe for target 'libs' failed
> make: *** [libs] Error 2
> jam at spectre:~/mythtv/mythtv>     find /usr/include -name 'QSqlDatabase*'
> /usr/include/QtSql/QSqlDatabase
> James
> PS
> My backend is  suse various frontends are ubuntu and mac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

More information about the mythtv-dev mailing list