Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-283

Please configure and install the libmariadb.pc file

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.2
    • 3.0.7, 3.1.0
    • None
    • None

    Description

      The libmariadb.pc.in file is not used in the coresponding CMakeLists.txt.
      Please config and install it.

      Attachments

        Issue Links

          Activity

            shintaro tabata shintaro added a comment - - edited

            I also wish libmariadb.pc.
            I tried making a patch.
            libmariadb.pc.patch

            shintaro tabata shintaro added a comment - - edited I also wish libmariadb.pc. I tried making a patch. libmariadb.pc.patch

            The patch doesn't install for me. I think this:

            +INSTALL(FILES libmariadb.pc
            + DESTINATION "lib/pkgconfig"
            + COMPONENT Development)

            should be:

            +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmariadb.pc
            + DESTINATION "lib/pkgconfig"
            + COMPONENT Development)

            Updated patch attached. libmariadb.pc.v2.patch

            astavale astavale@yahoo.co.uk added a comment - The patch doesn't install for me. I think this: +INSTALL(FILES libmariadb.pc + DESTINATION "lib/pkgconfig" + COMPONENT Development) should be: +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmariadb.pc + DESTINATION "lib/pkgconfig" + COMPONENT Development) Updated patch attached. libmariadb.pc.v2.patch
            candrews Craig Andrews added a comment - https://github.com/MariaDB/mariadb-connector-c/pull/72
            candrews Craig Andrews added a comment -

            Originally reported in Gentoo at https://bugs.gentoo.org/668664

            candrews Craig Andrews added a comment - Originally reported in Gentoo at https://bugs.gentoo.org/668664

            People

              georg Georg Richter
              godfrey Zhang Jingqiang
              Votes:
              2 Vote for this issue
              Watchers:
              5 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.