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

Cannot compile proxy on RHEL5

    XMLWordPrintable

Details

    Description

      Proxy cannot compile with configure options below. There's no problem Zabbix 3.0.0 on RHEL5 and 3.0.1 on RHEL6 with same compile options.

      ./configure --enable-proxy --with-libcurl --with-libxml2 --with-mysql
      ...
      Configuration:
      
        Detected OS:           linux-gnu
        Install path:          /usr/local
        Compilation arch:      linux
      
        Compiler:              gcc
        Compiler flags:        -g -O2  -I/usr/include/libxml2
      
        Enable server:         no
      
        Enable proxy:          yes
        Proxy details:
          With database:         MySQL
          WEB Monitoring:        cURL
          SNMP:                  no
          IPMI:                  no
          SSH:                   no
          TLS:                   no
          ODBC:                  no
          Linker flags:          -rdynamic      -L/usr/lib64/mysql -L/usr/lib64            -L/usr/kerberos/lib64
          Libraries:             -lm -ldl -lrt  -lresolv    -lmysqlclient     -lxml2         -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
      
        Enable agent:          no
      
        Enable Java gateway:   no
      
        LDAP support:          no
        IPv6 support:          no
      
      ***********************************************************
      *            Now run 'make install'                       *
      *                                                         *
      *            Thank you for using Zabbix!                  *
      *              <http://www.zabbix.com>                    *
      ***********************************************************
      
      make
      ...
      make[2]: Entering directory `/home/packager/rpmbuild/BUILD/zabbix-3.0.1/src/zabbix_server/vmware'
      gcc -DHAVE_CONFIG_H -I. -I../../../include  -I/usr/include/mysql  -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv      -g -O2  -I/usr/include/libxml2         -MT vmware.o -MD -MP -MF .deps/vmware.Tpo -c -o vmware.o vmware.c
      vmware.c: In function 'vmware_service_get_perf_counters':
      vmware.c:1226: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      vmware.c:1226: error: (Each undeclared identifier is reported only once
      vmware.c:1226: error: for each function it appears in.)
      vmware.c: In function 'wmware_vm_get_nic_devices':
      vmware.c:1322: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      vmware.c: In function 'wmware_vm_get_disk_devices':
      vmware.c:1389: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      vmware.c: In function 'vmware_service_parse_perf_data':
      vmware.c:3045: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      vmware.c: In function 'zbx_xml_read_value':
      vmware.c:3792: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      vmware.c: In function 'zbx_xml_read_values':
      vmware.c:3894: error: 'XML_PARSE_HUGE' undeclared (first use in this function)
      make[2]: *** [vmware.o] Error 1
      make[2]: Leaving directory `/home/packager/rpmbuild/BUILD/zabbix-3.0.1/src/zabbix_server/vmware'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/packager/rpmbuild/BUILD/zabbix-3.0.1/src'
      make: *** [all-recursive] Error 1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kodai Kodai Terashima
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: