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

Installation instructions in INSTALL.SOURCE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.1, 5.5.29
    • Fix Version/s: 10.0.2, 5.5.31
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux source installation

      Description

      In file INSTALL.SOURCE, point 2.3.1. Source Installation Overview describes old MySQL installation process.

      Might change:

      • use of cmake (instead of configure)
      • user can type "cmake . -LH" to show compilation options
      • user and group --> maria (instead of mysql)

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            juvalen Juan Valentín-Pastrana added a comment -

            As MariaDB is not including configure script anymore, installation must be made using cmake.
            In https://kb.askmonty.org/en/compiling-mariadb-from-source/ I still find all references to configure, but some hint that newer versions use cmake (and just a link to http://www.cmake.org/)

            I would be nice to find there that command to show all configuration options is:

            $ cmake . -LH

            and an example of how they should be entered, i.e.:

            $ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/maria

            Looking for that information hinders source installation

            Show
            juvalen Juan Valentín-Pastrana added a comment - As MariaDB is not including configure script anymore, installation must be made using cmake. In https://kb.askmonty.org/en/compiling-mariadb-from-source/ I still find all references to configure, but some hint that newer versions use cmake (and just a link to http://www.cmake.org/ ) I would be nice to find there that command to show all configuration options is: $ cmake . -LH and an example of how they should be entered, i.e.: $ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/maria Looking for that information hinders source installation
            Hide
            juvalen Juan Valentín-Pastrana added a comment -

            MySQL/Oracle information on this topic is quite extensive:

            http://dev.mysql.com/doc/internals/en/cmake-howto-long-version.html

            Show
            juvalen Juan Valentín-Pastrana added a comment - MySQL/Oracle information on this topic is quite extensive: http://dev.mysql.com/doc/internals/en/cmake-howto-long-version.html
            Hide
            wlad Vladislav Vaintroub added a comment -

            You can use MySQL/Oracle information, too It is actually too extensive. I think. It was not written by Oracle folks as end-user documentation, the initial purpose of this document was to introduce MySQL developers to the new tool, therefore it contains quite a lot of cmake basics, such as parameter discovery and CMAKE_INSTALL_PREFIX.

            Show
            wlad Vladislav Vaintroub added a comment - You can use MySQL/Oracle information, too It is actually too extensive. I think. It was not written by Oracle folks as end-user documentation, the initial purpose of this document was to introduce MySQL developers to the new tool, therefore it contains quite a lot of cmake basics, such as parameter discovery and CMAKE_INSTALL_PREFIX.
            Hide
            dbart Daniel Bartholomew added a comment -

            Before closing this task I'll edit the https://kb.askmonty.org/en/compiling-mariadb-from-source/ to improve it.

            Show
            dbart Daniel Bartholomew added a comment - Before closing this task I'll edit the https://kb.askmonty.org/en/compiling-mariadb-from-source/ to improve it.
            Show
            dbart Daniel Bartholomew added a comment - I've updated the following articles: https://kb.askmonty.org/en/build-environment-setup-for-linux/ https://kb.askmonty.org/en/source-getting-the-mariadb-source-code/ https://kb.askmonty.org/en/generic-build-instructions/ Things are much improved documentation-wise, so closing.

              People

              • Assignee:
                dbart Daniel Bartholomew
                Reporter:
                juvalen Juan Valentín-Pastrana
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m