Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2849

Same uninstall script name whether installing mongo-c-driver or libbson

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 1.13.0
    • 1.13.1
    • build
    • None
    • Minor Change

    Description

      In MacPorts, libbson and mongo-c-driver are separately-built and separately-installed packages, dating from when they were distributed as separate source code packages.

      Now that they are in the same source code package, I have to configure the source with -DENABLE_BSON=ON -DENABLE_MONGOC=OFF to build libbson and with -DENABLE_BSON=SYSTEM -DENABLE_MONGOC=ON to build mongo-c-driver.

      But in either case, the file $prefix/share/mongo-c-driver/uninstall.sh is installed. This makes libbson and mongo-c-driver conflict with each other.

      It might be good if the file were instead installed as $prefix/share/libbson/uninstall.sh, if the build has been configured for libbson only.

      In MacPorts, I don't want an uninstall script to be installed at all, so I would also be happy if there were a way to turn off the installation of the uninstall script. For now, I'll patch the cmake files to do that.

      Attachments

        Issue Links

          Activity

            People

              roberto.sanchez@mongodb.com Roberto Sanchez
              ryandesign Ryan Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: