Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Won't Fix
 - 
    3.0.2
 - 
    None
 - 
    SLES 12 SP3 s390x
 
Description
We have been trying to build MariaDB connector-odbc from source. We have cloned from https://github.com/MariaDB/mariadb-connector-odbc/releases v 3.0.2.
Our OS is sles12-sp3 and arch is s390x.
We have managed to install mysql headers and libs and set the following ENV variables :
MYSQL_INCLUDE_DIR
MYSQL_LIB_DIR
MYSQL_DIR
When we do  cmake ../mariadb-connector-odbc we get the following logs:
-- Found MariaDB includes: /home/test/server-mariadb-10.2.10/include
– MariaDB not found. Includes: /home/test/server-mariadb-10.2.10/include, Libs:
CMake Error at CMakeLists.txt:133 (MESSAGE):
  MariaDB not found
– Configuring incomplete, errors occurred!
See also "/home/test/build/CMakeFiles/CMakeOutput.log".
See also "/home/test/build/CMakeFiles/CMakeError.log".
CMake Error: Unable to open check cache file for write. /home/test/build/CMakeFiles/cmake.check_cache
We need to know what is that we are missing to make the build pass.