Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22809

scons should warn earlier about unknown options

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.3
    • Component/s: Build
    • Labels:
      None
    • ALL
    • Hide

      scons --cpppath=/opt/local/include and --libpath=/opt/local/lib

      Show
      scons --cpppath=/opt/local/include and --libpath=/opt/local/lib

      Hello, I'm the maintainer of mongodb in MacPorts, trying to update our port from 3.0.8 to 3.2.3.

      For 3.0.8, we were running scons with --cpppath=/opt/local/include and --libpath=/opt/local/lib. Under 3.2.3, these arguments do nothing, and consequently scons exited with an error that it could not find OpenSSL.

      It was not until after I fixed this problem by specifying the cpppath and libpath another way that I was given the error:

      SCons Error: no such option: --cpppath
      

      Such errors should be printed immediately, and a configuration error should not prevent the message about unknown options from being printed, because it may very well be that the configuration error was caused by the user not knowing that one of your configuration options has changed.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            ryandesign Ryan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: