Package Details: mariadb-connector-cpp-git 20211016-2

Git Clone URL: https://aur.archlinux.org/mariadb-connector-cpp-git.git (read-only, click to copy)
Package Base: mariadb-connector-cpp-git
Description: MariaDB Connector for C++ .
Upstream URL: https://github.com/mariadb-corporation/mariadb-connector-cpp
Keywords: mariadb
Licenses: LGPL
Provides: mariadb-connector-cpp
Submitter: Y7n05h
Maintainer: Y7n05h
Last Packager: Y7n05h
Votes: 1
Popularity: 0.000000
First Submitted: 2021-07-17 09:17 (UTC)
Last Updated: 2021-10-16 15:55 (UTC)

Latest Comments

Terrasse commented on 2025-05-28 08:08 (UTC) (edited on 2025-05-28 08:08 (UTC) by Terrasse)

For cmake version issue mentioned by @AaronVB , adding sed -i "s/VERSION 3.1/VERSION 3.5/" CMakeLists.txt into prepare() works for me.

prepare() {
    cd "$srcdir/$pkgname"
    sed -i "1i\INCLUDE_DIRECTORIES(\"/usr/include/mysql\")" ./CMakeLists.txt
    sed -i "s/VERSION 3.1/VERSION 3.5/" CMakeLists.txt
    rm -rf build
    mkdir build
}

AaronVB commented on 2025-05-20 15:09 (UTC)

currently fails to build because the repo is not updated for cmake 4 as far as i understand: CMake Error at CMakeLists.txt:25 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!