Ad Widget

Collapse

Zabbix 3.4 compile problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zoc
    Junior Member
    • Oct 2015
    • 6

    #1

    Zabbix 3.4 compile problem

    Hi all,

    I am trying to compile newest alpha release 3.4 and I am gentling this error…

    configure: error: Unable to use libevent (libevent check failed)

    libevent package is installed both 32 and 64bit version.
    rpm -qa|grep libevent
    libevent-1.4.13-4.el6.x86_64
    libevent-1.4.13-4.el6.i686

    Envirenmant is Centos 6 .7

    Anyone encountered this problem and resolved it?

    Best regards
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    You need devel package for compilation:
    Code:
    yum install libevent-devel
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • zoc
      Junior Member
      • Oct 2015
      • 6

      #3
      Originally posted by jan.garaj
      You need devel package for compilation:
      Code:
      yum install libevent-devel

      Hi,
      How embarrassing can’t believe I did not think of this, problem solved.

      Thank you very much jan.garaj.

      BR

      Comment

      • zoc
        Junior Member
        • Oct 2015
        • 6

        #4
        Hi,

        Anyone having problems compiling 3.4 beta1 ..... I am geeing this error on configure ....

        ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --with-openssl --enable-java --with-ldap --with-unixodbc --with-ssh2


        config.status: error: cannot find input file: `src/libs/zbxipcservice/Makefile.in'

        looks like something is missing in source tar ball?

        regards

        Comment

        • jan.garaj
          Senior Member
          Zabbix Certified Specialist
          • Jan 2010
          • 506

          #5
          I'm building trunk version every night (Docker image monitoringartist/zabbix-xxl:dev) and it works fine - https://hub.docker.com/r/monitoringa...ix-xxl/builds/

          Check config log or try trunk version from svn.
          Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
          My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            zabbix-3.4.0beta1.tar.gz seems to be unable to compile because the zbxipcservice directory is missing in tarball.
            Nightly Builds(pre-zabbix-3.4.0beta2-70907.tar.gz) could be compiled.

            Gain recognition and potential customers by contributing to Zabbix Monitoring Solution software.


            -- added
            I could compile with zabbix-3.4.0beta2.tar.gz instead of Nightly Builds.
            Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!
            Last edited by Atsushi; 04-08-2017, 04:20.

            Comment

            • frater
              Senior Member
              • Oct 2010
              • 340

              #7
              Originally posted by jan.garaj
              You need devel package for compilation:
              Code:
              yum install libevent-devel
              ....or

              Code:
              apt install libevent-dev
              Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

              Comment

              • Mario de Oliveira
                Junior Member
                • Apr 2018
                • 1

                #8
                I tried everything and the problem persists.
                To resolve this I install fping and magically everything works.

                Comment

                Working...