Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-694

Build failure on FreeBSD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.1
    • Fix Version/s: N/A
    • Component/s: build
    • Labels:
    • Environment:
      FreeBSD 10.3-RELEASE #0 r297264

      Description

      I'm trying to build and install MaxScale on FreeBSD. I have pkg installed

      cmake bison flex pcre2 linux_base-f10
      

      and copied over libaio libraries from a Linux system (MariaDB on FreeBSD gets around this somehow). I have configured using

      $ cmake -DHAVE_LIBAIO=/compat/linux/usr/lib -DHAVE_LIBDL=/compat/linux/usr/lib -DWITH_SCRIPTS=NO ..
      

      which completed successfully. But when I try to build, I get this build failure in query_classifier:

      $ make
      [  4%] Built target connector-c
      [  5%] Building CXX object query_classifier/qc_mysqlembedded/CMakeFiles/qc_mysqlembedded.dir/qc_mysqlembedded.cc.o
      /home/erik/MaxScale/query_classifier/qc_mysqlembedded/qc_mysqlembedded.cc:38:10: fatal error: 'my_base.h' file not found
      #include <my_base.h>
               ^
      1 error generated.
      *** Error code 1
       
      Stop.
      make[2]: stopped in /usr/home/erik/MaxScale/build
      *** Error code 1
       
      Stop.
      make[1]: stopped in /usr/home/erik/MaxScale/build
      *** Error code 1
       
      Stop.
      make: stopped in /usr/home/erik/MaxScale/build
      

      What am I doing wrong?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ErikCederstrand Erik Cederstrand
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: