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

[PATCH] zabbix-server: broken ssh2 support on FreeBSD

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3, 1.9.0 (alpha)
    • 1.8.2
    • Installation (I)
    • None
    • FreeBSD 9.0-CURRENT-r207844-p9 amd64

      script configure contain invalid test operators:

      ./configure --enable-server --with-net-snmp --with-pgsql --with-ldap --with-openipmi --with-jabber --with-ssh2 --prefix=/usr/local
      ..
      checking for SSH2 support... test: xyes: unexpected operator
      ...

      Please review patch:

      — configure.orig 2010-05-17 15:38:52.189911152 +0400
      +++ configure 2010-05-17 15:39:13.793087125 +0400
      @@ -12472,7 +12472,7 @@
      fi #if test "x$_libssh2_dir" = "xno"; then
      fi # if test "x$want_ssh2" != "xno"; then

      • if test "x$found_ssh2" == "xyes"; then
        + if test "x$found_ssh2" = "xyes"; then
        am_save_cflags="$CFLAGS"
        am_save_ldflags="$LDFLAGS"
        am_save_libs="$LIBS"
        @@ -12537,7 +12537,7 @@
        LDFLAGS="$am_save_ldflags"
        LIBS="$am_save_libs"
      • if test "x$found_ssh2" == "xyes"; then
        + if test "x$found_ssh2" = "xyes"; then
        cat >>confdefs.h <<_ACEOF
        #define HAVE_SSH2 1

      Thanks a lot!

            Unassigned Unassigned
            deiter Alex Deiter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: