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

Error of building proxy on Solaris 11

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0.0rc1, 4.0 (plan)
    • 4.0.0alpha6
    • Proxy (P)
    • None
    • Solaris 11
    • Sprint 42, Sprint 43
    • 1

      When we build zabbix proxy on Solaris 11 - we get the error:

      ./configure --enable-proxy --with-mysql=/opt/csw/bin/amd64/mysql_config --prefix=$(pwd)/dist 
      make dbschema
      make -s install
      ...
      Making install in zabbix_server/ipmi
      Making install in zabbix_server/odbc
      Making install in zabbix_server/scripts
      Making install in zabbix_proxy
      make: Fatal error in reader: Makefile, line 900: Unexpected end of line seen
      Current working directory /export/home/zabbix/workspace/trunk/src/zabbix_proxy
      *** Error code 1
      The following command caused the error:
      fail= failcom='exit 1'; \
      for f in x $MAKEFLAGS; do \
        case $f in \
          *=* | --[!k]*);; \
          *k*) failcom='fail=yes';; \
        esac; \
      done; \
      dot_seen=no; \
      target=`echo install-recursive | sed s/-recursive//`; \
      list='libs      zabbix_server/dbsyncer  zabbix_server/dbconfig  zabbix_server/discoverer  zabbix_server/httppoller  zabbix_server/pinger  zabbix_server/poller  zabbix_server/trapper  zabbix_server/selfmon  zabbix_server/snmptrapper  zabbix_server/vmware  zabbix_server/ipmi  zabbix_server/odbc  zabbix_server/scripts  zabbix_proxy  '; for subdir in $list; do \
        echo "Making $target in $subdir"; \
        if test "$subdir" = "."; then \
          dot_seen=yes; \
          local_target="$target-am"; \
        else \
          local_target="$target"; \
        fi; \
        (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
        || eval $failcom; \
      done; \
      if test "$dot_seen" = "no"; then \
        make  "$target-am" || exit 1; \
      fi; test -z "$fail"
      make: Fatal error: Command failed for target `install-recursive'
      Current working directory /export/home/zabbix/workspace/trunk/src
      *** Error code 1
      The following command caused the error:
      fail= failcom='exit 1'; \
      for f in x $MAKEFLAGS; do \
        case $f in \
          *=* | --[!k]*);; \
          *k*) failcom='fail=yes';; \
        esac; \
      done; \
      dot_seen=no; \
      target=`echo install-recursive | sed s/-recursive//`; \
      list='src  database  man  misc  upgrades'; for subdir in $list; do \
        echo "Making $target in $subdir"; \
        if test "$subdir" = "."; then \
          dot_seen=yes; \
          local_target="$target-am"; \
        else \
          local_target="$target"; \
        fi; \
        (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
        || eval $failcom; \
      done; \
      if test "$dot_seen" = "no"; then \
        make  "$target-am" || exit 1; \
      fi; test -z "$fail"
      make: Fatal error: Command failed for target `install-recursive'
      

      Expectation: successfully build zabbix_proxy on Solaris 11

            andris Andris Mednis
            MVekslers Michael Veksler
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: