Kaydet (Commit) 2e01b873 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#83656 mariadb C client library incompatible with newer MySQL Connector/C++

Change-Id: I0d9cc98070c0b9379b1fd828ac65c2d32f83a93f
üst ddffb797
......@@ -8224,11 +8224,12 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then
if test "$with_system_mariadb" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_MARIADB=TRUE
AC_PATH_PROG(MARIADBCONFIG, [mariadb_config])
#AC_PATH_PROG(MARIADBCONFIG, [mariadb_config])
if test -z "$MARIADBCONFIG"; then
AC_PATH_PROG(MARIADBCONFIG, [mysql_config])
if test -z "$MARIADBCONFIG"; then
AC_MSG_ERROR([mariadb_config and mysql_config are missing. Install MariaDB or MySQL development package.])
AC_MSG_ERROR([mysql_config is missing. Install MySQL client library development package.])
#AC_MSG_ERROR([mariadb_config and mysql_config are missing. Install MariaDB or MySQL client library development package.])
fi
fi
AC_MSG_CHECKING([MariaDB version])
......@@ -8285,6 +8286,7 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then
fi
else
AC_MSG_RESULT([internal])
AC_MSG_ERROR([libmariadb is known to be incompatible as of 2014-09; use libmysqlclient])
SYSTEM_MARIADB=
MARIADB_CFLAGS="-I${WORKDIR}/UnpackedTarball/mariadb/include"
MARIADB_LIBS="-L${WORKDIR}/LinkTarget/StaticLibrary -lmariadblib"
......
......@@ -34,7 +34,7 @@ package/port for GNU/Linux, BSD, etc, where the packaging system
handles dependencies and will ensure the availability of the MySQL
client C library in the standard location.
If configured with--with-system-mariadb --enable-bundle-mariadb, the
If configured with --with-system-mariadb --enable-bundle-mariadb, the
driver will ship a copy of the MariaDB (or MySQL) client C library so
that it works "out of the box" on any system. That (or
--without-system-mariadb) is usually the right choice to create a
......@@ -55,9 +55,13 @@ libraries themselves.
Else you can install the MariaDB Client Library from official MariaDB
packages at https://downloads.mariadb.org/client-native/ .
At least series 2.0 is recommended, as series 1.0 are known to be too
buggy.
They have source and binary distributions for several platforms.
At least series 2.0 is recommended, as series 1.0 are known to be too
buggy. Additionally, version 2.0.0 is known to be incompatible with
MySQL Connector/C++ version 1.1.4, which --without-system-mysqlcppconn
uses, and which --with-system-mysqlcppconn could use
(see https://mariadb.atlassian.net/browse/CONC-104).
Use a version where the above incompatibility has been solved.
Alternativaly, MySQL Client Library from official MySQL
packages are at http://dev.mysql.com/downloads/connector/c/ .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment