scons should warn earlier about unknown options

XMLWordPrintableJSON

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

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

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

      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 (Inactive)
              Reporter:
              Ryan Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: