Mariadb-10.4.8 configure error - Plugin AUTH_PAM cannot be built
by Ook from LinuxQuestions.org on (#4QGAB)
Slackware-current 64 bit, last updated this morning 9/16/2019.
I'm trying to build Mariadb-10.4.8 from source, using their mysql config:
cmake ../ -DBUILD_CONFIG=mysql_release
And it gives this error
CMake Error at cmake/plugin.cmake:284 (MESSAGE):
Plugin AUTH_PAM cannot be built
Comparing the file mysql_release.cmake to the 2.4.7 version, I find this line has been added:
SET(PLUGIN_AUTH_PAM YES)
If I change it to NO, then it builds up to this point:
[ 52%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/env/io_posix.cc.o
[ 52%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/build_version.cc.o
[ 52%] Linking CXX static library librocksdblib.a
[ 52%] Built target rocksdblib
make: *** [Makefile:163: all] Error 2
At which point it dies. Line 163 of the Makefile is
$(MAKE) -f CMakeFiles/Makefile2 all
Makefile2 exists, and at this point idk wtf is up or why it won't continue to build...
I tried the SlackBuild for 10.4.7, same thing. On the same box, Mariadb-10.4.7 builds just fine, both manually and with the SlackBuild.
Anyone else tried to build Mariadb-10.4.8?
PS I'm running Slackware-current, last updated this morning 9/16/2019.


I'm trying to build Mariadb-10.4.8 from source, using their mysql config:
cmake ../ -DBUILD_CONFIG=mysql_release
And it gives this error
CMake Error at cmake/plugin.cmake:284 (MESSAGE):
Plugin AUTH_PAM cannot be built
Comparing the file mysql_release.cmake to the 2.4.7 version, I find this line has been added:
SET(PLUGIN_AUTH_PAM YES)
If I change it to NO, then it builds up to this point:
[ 52%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/env/io_posix.cc.o
[ 52%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/build_version.cc.o
[ 52%] Linking CXX static library librocksdblib.a
[ 52%] Built target rocksdblib
make: *** [Makefile:163: all] Error 2
At which point it dies. Line 163 of the Makefile is
$(MAKE) -f CMakeFiles/Makefile2 all
Makefile2 exists, and at this point idk wtf is up or why it won't continue to build...
I tried the SlackBuild for 10.4.7, same thing. On the same box, Mariadb-10.4.7 builds just fine, both manually and with the SlackBuild.
Anyone else tried to build Mariadb-10.4.8?
PS I'm running Slackware-current, last updated this morning 9/16/2019.