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

Build failure on FreeBSD

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 1.4.1
    • N/A
    • build
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.