MySQL Forums
Forum List  »  Source, Builds, Binaries

Building ODBC driver from Source code for AIX platform
Posted by: kaladhar g
Date: August 31, 2017 03:10PM

Hi all,
I am trying to build MYSQL ODBC driver from Source code for AIX platform. I am referring instructions provided in below URL.
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-source-unix.html

Below are the steps I had done so far.
- Downloaded "mysql-connector-odbc-5.3.9-src.tar" source code
- Extracted the tar to mysql-connector-odbc-5.3.9-src
- Executed 'cmake -G "Unix Makefiles"' command from inside the folder "mysql-connector-odbc-5.3.9-src"

Below is the output of CMAKE command
> cmake -G "Unix Makefiles"
-- Configuring to build Unicode driver
-- Configuring to build ANSI driver
-- You will link dynamically to the MySQL client library (set with -DMYSQLCLIENT_STATIC_LINKING=<bool>)
-- Searching for dynamic libraries with the base name(s) "mysqlclient_r mysqlclient"
CMake Error at cmake/FindMySQL.cmake:520 (message):
Could not find "mysql.h" from searching "/usr/include/mysql
/usr/local/include/mysql /opt/mysql/mysql/include
/opt/mysql/mysql/include/mysql /usr/local/mysql/include
/usr/local/mysql/include/mysql /MySQL/*/include /MySQL/*/include"
Call Stack (most recent call first):
CMakeLists.txt:81 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/usr/emms_inbound/my-sql/mysql-connector-odbc-5.3.9-src/CMakeFiles/CMakeOutput.log".
See also "/usr/emms_inbound/my-sql/mysql-connector-odbc-5.3.9-src/CMakeFiles/CMakeError.log".
========================

I was thinking the required files would be in source code, seems not. Could someone please advise on where I can get the client libraries and include files required for running CMAKE.


Appreciate your feedback.

Thanks,

Options: ReplyQuote


Subject
Views
Written By
Posted
Building ODBC driver from Source code for AIX platform
130
August 31, 2017 03:10PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.