[MDEV-19152] fails to compile plugin handler_socket/auth_pam_tool with -DWITHOUT_SERVER Created: 2019-04-03  Updated: 2019-04-05

Status: Open
Project: MariaDB Server
Component/s: Compiling, Plugin - pam, Plugins
Affects Version/s: 10.4.4
Fix Version/s: 10.4

Type: Bug Priority: Minor
Reporter: Daniel Black Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

$ cmake   -DWITH_SSL=bundled   -DCMAKE_LINKER=/opt/at12.0-0-rc1/bin/ld  -DCMAKE_CXX_COMPILER=/opt/at12.0-0-rc1/bin/g++ -DCMAKE_C_COMPILER=/opt/at12.0-0-rc1/bin/gcc  -DCMAKE_AR=/opt/at12.0-0-rc1/bin/ar -DWITHOUT_SERVER=1   ../mariadb-server-10.4/
..
$ make -j 10
 
 
/home/danielgb/mariadb-server-10.4/plugin/auth_pam/auth_pam_tool.c:19:10: fatal error: mysql/plugin_auth_common.h: No such file or directory
 #include <mysql/plugin_auth_common.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
...
/home/danielgb/mariadb-server-10.4/plugin/handler_socket/libhsclient/hstcpcli.cpp:9:10: fatal error: my_global.h: No such file or directory
 #include <my_global.h>
          ^~~~~~~~~~~~~
compilation terminated.
..
/home/danielgb/mariadb-server-10.4/plugin/handler_socket/libhsclient/socket.cpp:9:10: fatal error: my_global.h: No such file or directory
 #include <my_global.h>
          ^~~~~~~~~~~~~



 Comments   
Comment by Sergei Golubchik [ 2019-04-03 ]

Why is that a bug? pam and handlersocket are server plugins, it's logical to expect that they should not be compiled -DWITHOUT_SERVER. May be the complain is that make tries to compile them even if it shouldn't?

Comment by Daniel Black [ 2019-04-04 ]

Probably a good call -`WITHOUT_SERVER` could disable building server plugins.

Generated at Thu Feb 08 08:49:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.