[mythtv-commits] Ticket #12696: Fails to compile mythzoneminder when mysql-5.7 is used

MythTV noreply at mythtv.org
Fri Mar 25 15:51:17 UTC 2016

#12696: Fails to compile mythzoneminder when mysql-5.7 is used
     Reporter:  superm1@…             |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
 Ubuntu is introducing mysql 5.-7 into the 16.04 archive shortly:

 Unfortunately mythtv doesn't compile against it properly.
 The configure check for mysql/mysql.h under mythplugins fails when
 compiling against mysql-5.7.

 This happens because <mysql/mysql.h> includes "mysql/client_plugin.h".
 mysql/mysql/client_plugin.h includes <mysql/plugin_auth_common.h>.  The
 actual location of plugin_auth_common.h is
 /usr/include/mysql/mysql/auth_plugin_common.h.  Of course this isn't part
 of the default search path so it leads to a failure.

 This is the most obvious failure that affects MythTV.
 There are all sorts of instances that they're expecting /usr/include/mysql
 to be on the search path in the headers.

 This can be fixed by adding a -I/usr/include/mysql to the header check and
 to the mythzmserver search path for includes.

Ticket URL: <https://code.mythtv.org/trac/ticket/12696>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list