Unable to build mariadb connector 2.2.0

How do I debug why cmake is failing?

-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success
-- Found Iconv: /usr/lib/libc.so
CMake Error: File /root/mariadb-connector-c-2.2.0/mariadb-connector-c-2.2.0-src/mariadb_config/mariadb_config.c.in does not exist.
CMake Error at mariadb_config/CMakeLists.txt:27 (CONFIGURE_FILE):
  configure_file Problem configuring file

-- MariaDB Connector/c configuration:
-- CPack generation: TGZ
-- SSL support: ON
-- Experimental Sqlite support:
-- Zlib support: yes (using bundled zlib)
-- Installation layout: DEFAULT
-- Include files will be installed in /usr/local/include/mariadb
-- Libraries will be installed in /usr/local/lib/mariadb
-- Binaries will be installed in /usr/local/bin
-- Required:
-- Configuring incomplete, errors occurred!
See also "/root/mariadb-connector-c-2.2.0/mariadb-connector-c-2.2.0-src/CMakeFiles/CMakeOutput.log".
See also "/root/mariadb-connector-c-2.2.0/mariadb-connector-c-2.2.0-src/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.

Answer Answered by Georg Richter in this comment.

This issue was already reported on JIRA (and fixed). We will release a new package this week.

You can also grab source from github:

git clone -b connector_c_2.2 https://github.com/MariaDB//mariadb-connector-c.git


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.