Thank you.  And thank you for creating an MDEV.  I’m curious, though, why it seems to be okay without -DPLUGIN_AUTH_PAM=NO.  With only removing those last two -D’s, it builds and appears to build all of the PAM pieces.


I think I’ll leave those pieces building, and just not install them onto my platform.  Easier to manage my side if I don’t patch the sources. I’ll watch the MDEV for updates.


          - Chris


From: Vicențiu Ciorbaru <>
Date: Tuesday, July 7, 2020 at 10:38
To: "Chris Ross (cross2)" <>
Cc: "" <>
Subject: Re: [Maria-discuss] Building 10.4.13 without PAM


Hi Chris!

I found the reason for your problem. It's a combination of BUILD_CONFIG=mysql_release and not having the pam-devel packages installed.

The following line:
/mariadb-10.4.13/cmake/build_configurations/mysql_release.cmake(127):  SET(PLUGIN_AUTH_PAM YES )

Overrides your settings. I don't think you can do anything about this without a patch to the sources. You can delete that line from the cmake file and it should work. Best to create an MDEV about this to get it covered for next release.


On 07.07.2020 16:27, Chris Ross (cross2) wrote:

TMPDIR="/data/sources/tmp" \








Vicențiu Ciorbaru
Software Developer, Team Lead, MariaDB Foundation