![](https://secure.gravatar.com/avatar/8ca9f04433bd78f9de5100d8f4d5ad06.jpg?s=120&d=mm&r=g)
Hi Chris!
When trying to get help on this, it's helpful if you provide a bit more
background information. Useful pieces:
- The full cmake configure line
- The commit hash (or version) of MariaDB that you are trying to compile.
- Both CMakeOutput.log and CMakeError.log
I tested out the following line and it worked for me:
cmake . -DBUILD_TYPE=mysql_release -DPLUGIN_AUTH_PAM=NO
-DPLUGIN_AUTH_PAM_V1=NO
You may have some leftover CMakeCache file from a previous attempt that is
interfering with this. Try making sure you are doing the configure from a
clean source directory and see what happens.
Vicențiu
On Mon, 6 Jul 2020 at 23:01, Chris Ross (cross2)
Hey there again. So, I just today considered turning off PAM, largely to not have to deal with the setuid auth_pam_tool. We’re not going to be using pam, just internal accounts, so.
I added -DPLUGIN_AUTH_PAM=NO and -DPLUGIN_AUTH_PAM_V1=NO to my build options, the same way I had turned off various other plugins I don’t need. But, when running cmake, I now see:
CMake Error at cmake/plugin.cmake:283 (MESSAGE):
Plugin AUTH_PAM cannot be built
Call Stack (most recent call first):
CMakeLists.txt:413 (CONFIGURE_PLUGINS)
I looked in CMakeOutput.log and CMakeError.log but don’t see anything that looks like related errors. And, I asked it not to build AUTH_PAM plugin, so it complaining that it can’t seems unusual.
What did I miss?
- Chris
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp