Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23974

Build fails on systems with libevent in non-standard location

XMLWordPrintable

    • Sprint candidates
    • 0.5

      Steps to reproduce:

      Run ./configure on the latest master on macOS with the required libraries installed by homebrew:

      ./configure --enable-server --enable-proxy ... --with-libevent=/opt/homebrew/opt/libevent

      Result:

      Making all in discoverer
      cc -DHAVE_CONFIG_H -I../../../include/common -I../../../include    -I/opt/homebrew/Cellar/openssl@3/3.1.4/include -g -O2  -I/opt/homebrew/Cellar/pcre/8.45/include -MT libzbxdiscoverer_a-discoverer.o -MD -MP -MF .deps/libzbxdiscoverer_a-discoverer.Tpo -c -o libzbxdiscoverer_a-discoverer.o `test -f 'discoverer.c' || echo './'`discoverer.c
      In file included from discoverer.c:30:
      In file included from ./../poller/checks_snmp.h:25:
      ../../../include/zbxasyncpoller.h:25:10: fatal error: 'event.h' file not found
      #include <event.h>
               ^~~~~~~~~
      1 error generated.

      Expected:

      Successful build.

            jlambda Juris Lambda
            Kalimulin Alex Kalimulin
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: