Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22066

out-of-source build fails with WITHOUT_SERVER=ON

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.13, 10.3.24
    • Fix Version/s: 10.3.26
    • Component/s: Compiling
    • Labels:
    • Environment:
      macOS 10.15.3 (Darwin seastar.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64)

      cmake 3.16.2

      Description

      cmake ../server/ -DWITH_SSL=system -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1d/ -DPLUGIN_ROCKSDB=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_TOKUDB=NO -DWITHOUT_SERVER=ON
      

      [ 78%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o
      /Users/kolbe/Devel/git/mariadb/server/plugin/handler_socket/libhsclient/hstcpcli.cpp:9:10: fatal error: 'my_global.h' file not found
      #include <my_global.h>
               ^~~~~~~~~~~~~
      1 error generated.
      make[2]: *** [plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o] Error 1
      make[1]: *** [plugin/handler_socket/CMakeFiles/hsclient.dir/all] Error 2
      make: *** [all] Error 2
      

      Probably a simple fix for someone who has a more intrepid relationship with CMake than I do!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anel Anel Husakovic
              Reporter:
              kolbek Kolbe Kegel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: