legacy 2.6.10 build fails on OS X 10.11 El Capitan

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I attempted to build and install the 2.6.10 "2.6 compatible" driver using Mac Homebrew (formula "libmongoclient") on an OS X 10.11 El Capitan Public Beta 4 machine. It errored out early in the build process, complaining that 10.11 wasn't a valid OS X version.

      taran-elcap% scons --osx-version-min=10.11
      scons: Reading SConscript files ...
      usage: scons [OPTION] [TARGET] ...
      
      SCons Error: option --osx-version-min: invalid choice: '10.11' (choose from '10.6', '10.7', '10.8', '10.9', '10.10')
      

      Looks like the SConstruct file has a list of versions that stops at 10.10. Lines 302-305 from the 2.6.9 release:

      if darwin:
          osx_version_choices = ['10.6', '10.7', '10.8', '10.9', '10.10']
          add_option("osx-version-min", "minimum OS X version to support", 1, True,
                     type = 'choice', default = osx_version_choices[0], choices = osx_version_choices)
      

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Andrew Janke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: