[acassen/keepalived] 557563: snmp: restore use of net-snmp-config to build SNMP...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <554df402b635f_61603fdb364d12b866720@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 557563ea33ea425d185e33d0f11b6f34ade02b0f
      https://github.com/acassen/keepalived/commit/557563ea33ea425d185e33d0f11b6f34ade02b0f
  Author: Vincent Bernat <[email protected]>
  Date:   2015-05-09 (Sat, 09 May 2015)

  Changed paths:
    M configure.in

  Log Message:
  -----------
  snmp: restore use of net-snmp-config to build SNMP support

With a lazy linker, `libnetsnmpmibs` may require some additional
libraries to be linked (like `libsensors`). Therefore, only rely on
`net-snmp-config` to get the appropriate flags.

Also add some additional tests:
 - check that we can build a simple executable (NetSNMP can be quite
   broken and in this case, the error during compilation is not crystal
   clear, checking that in configure is more informative)
 - check if we subagent support is compiled in (This is optional and
   again, the error is not crystal clear during compilation).
 - check that net-snmp/agent/util_funcs.h is present (Due to a flaw in
   NetSNMP build process, this header was not installed for quite a long
   time, notably on RHEL derivatives; code to handle its absence was
   already present in Keepalived).

Signed-off-by: Vincent Bernat <[email protected]>


  Commit: 5658311f2af1cbde4cf67878c3cc836137e3213c
      https://github.com/acassen/keepalived/commit/5658311f2af1cbde4cf67878c3cc836137e3213c
  Author: Vincent Bernat <[email protected]>
  Date:   2015-05-09 (Sat, 09 May 2015)

  Changed paths:
    M configure.in

  Log Message:
  -----------
  snmp: don't enable SNMP support automatically

Most users won't use it and it would fail if NetSNMP is not installed,
unless a user add `--disable-snmp` to configure command line.

Signed-off-by: Vincent Bernat <[email protected]>


  Commit: 01efcf684e462ccd8bf802c2a34368c04a13cd20
      https://github.com/acassen/keepalived/commit/01efcf684e462ccd8bf802c2a34368c04a13cd20
  Author: Alexandre Cassen <[email protected]>
  Date:   2015-05-09 (Sat, 09 May 2015)

  Changed paths:
    M configure.in

  Log Message:
  -----------
  Merge pull request #146 from vincentbernat/fix/snmp-configure

snmp: restore use of net-snmp-config to build SNMP support


Compare: https://github.com/acassen/keepalived/compare/8240b2330a93...01efcf684e46

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.