Failed net-snmp detection at configure time does not terminate the build

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you don't have the required SNMP libs available, this is detected at configure time, but the build is not aborted immediately, and proceeds to compile, ultimately failing much later:

      Checking for C++ header file net-snmp/net-snmp-config.h... (cached) no
      Checking for gsasl_check_version(GSASL_VERSION) in C library gsasl... (cached) yes
      Checking for C++ header file gcrypt.h... (cached) yes
      scons: done reading SConscript files.
      scons: Building targets ...
      ...
      fatal error: net-snmp/net-snmp-config.h: No such file or directory

              Assignee:
              Eric Milkie
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: