[exim-dev] [Bug 2165] Compile error against MariaDB 10.2.8+

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: admin
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 2165] Compile error against MariaDB 10.2.8+
https://bugs.exim.org/show_bug.cgi?id=2165

--- Comment #4 from Kris Karas <bugs-a17@???> ---
(In reply to Phil Pennock from comment #1)
> How does this compare to the patch already landed, in commit 4f9f4be46:


MariaDB 10.2.8+ refactored their header files, as I mentioned. Unfortunately,
blindly including <mysql_version.h> won't work:

    linux:~$ mysql_config --include
    -I/usr/include/mysql
    linux:~$ ls /usr/include/mysql/mysql_version.h
    /bin/ls: cannot access '/usr/include/mysql/mysql_version.h': No such file
or directory
    linux:~$


And of course, gcc will complain similarly if you try to compile exim-head
(with
4f9f4be). For reference, here are the contents of /usr/include/mysql from
10.2.8 onwards, vastly paired down from what Heiko has in his Debian devo
package:

    errmsg.h   mariadb/          mariadb_stmt.h     mysqld_error.h
    ma_list.h  mariadb_com.h     mariadb_version.h  server/
    ma_pvio.h  mariadb_ctype.h   mysql/
    ma_tls.h   mariadb_dyncol.h  mysql.h



> I don't have MariaDB around to test against; is the current code in git
> wrong, or will it be fine?


Current git will compile fine against mariadb-10.1.x up through 10.2.6, and
will fail against 10.2.8+

--
You are receiving this mail because:
You are on the CC list for the bug.