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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.13.1
    • Affects Version/s: 1.13.0
    • Component/s: Build
    • Labels:
      None
    • Minor Change

      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.

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

              Created:
              Updated:
              Resolved: