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

Alpine compile 7.4.0beta1 SSH2 Check

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Unresolved
    • Icon: Major Major
    • 7.4.0rc1 (master)
    • 7.4.0beta1
    • Proxy (P), Server (S)
    • None
    • alpine:latest container
    • Sprint candidates
    • 2

      While running:

      ./configure --prefix=/alpine-zabbix-bin --enable-server --enable-java --with-mysql --wit 
      h-libxml2 --with-unixodbc --with-net-snmp --with-ssh2 --with-openipmi --with-zlib --with-libevent --with-openssl --with-libcurl --enable-ipv6 --with-ldap --with-pcre

      I get an exit at:

      checking for SSH2 support... ./configure: line 14620: arithmetic syntax error

      I suggest remove the \"\ wrapping the test, it should look like:

       

      min_ssh2_version_num=$(( min_ssh2_maj << 16 | min_ssh2_min << 8 | min_ssh2_rev ))
       
      

      In order to fix all the occurences on configure:

      sed -i 's/min_ssh2_version_num=\$(( "\(.*\)" ))/min_ssh2_version_num=$(( \1 ))/' configure

            askolmeisters Armands Arseniuss Skolmeisters
            spectroman jchegedus
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5h 47m
                5h 47m