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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 2165] Compile error against MariaDB 10.2.8+
https://bugs.exim.org/show_bug.cgi?id=2165

--- Comment #3 from Heiko Schlittermann <hs@???> ---
(In reply to Kris Karas from comment #0)
> Created attachment 1032 [details]
> Patch src/lookups/mysql.c to work with mariadb-10.2
>
> The latest MariaDB to enter "GA" status, version 10.2, has had a significant
> re-factoring of their header files beginning with version 10.2.8. Two
> constants referenced by Exim, MYSQL_SERVER_VERSION and
> MYSQL_COMPILATION_COMMENT, are no longer present in
> /usr/include/mysql/mysql.h
>
> To compile Exim with the current MariaDB, I made a very simple patch to
> src/lookups/mysql.c that looks for the presence of those constants, and does
> a #include <server/mysql_version.h> if not found.
>
> Works for me.


What mysql relevant options did you set in your Local/Makefile?

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