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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Build
    • None
    • ALL

    Description

      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

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: