Ad Widget

Collapse

Fatal error compiling Zabbix 5.2 on Solaris 10 with MySQL 5.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stuart.salter
    Junior Member
    • Feb 2021
    • 7

    #1

    Fatal error compiling Zabbix 5.2 on Solaris 10 with MySQL 5.6

    Hi all, I've managed to configure zabbix with the following options:

    ./configure \
    --enable-server \
    --enable-agent \
    --with-mysql=/opt/csw/bin/sparcv9/mysql_config \
    --with-net-snmp \
    --with-libcurl=/usr/local/bin/64curl/curl-config \
    CURL_CFLAGS=-I/usr/local/64/include \
    CURL_LIBS=-L/opt/ds_agent/lib \
    --with-libpcre=/usr/apache2.2/pcre \
    --with-libevent-lib=/opt/csw/lib/sparcv9 \
    --with-libevent=/opt/csw/lib/sparcv9 \
    --with-libevent-include=/opt/csw/include \
    --with-libpthread=/opt/csw/lib/sparcv9 \
    --with-libpthread-include=/opt/csw/lib/sparcv9 \
    --with-libpthread-lib=/opt/csw/lib/sparcv9 \
    --prefix=/app/zabbix-5.2

    but when I run make, I get the following error:

    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 `all-recursive'

    my environment is set as follows:

    LDFLAGS==-m64 -I/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/include -L/opt/csw/lib/sparcv9 -R/opt/csw/lib/gcc
    LD_LIBRARY_PATH_64=/opt/csw/lib:/usr/local/lib/64curl:/usr/local/64/lib:/usr/sfw/lib/sparcv9:/opt/csw/lib/sparcv9
    LD_LIBRARY_PATH=/usr/local/64/lib:/usr/sfw/lib/sparcv9/:/usr/apache2.2/pcre/lib/:/usr/apache2.2/apr_util/lib/:/usr/apache2.2/apr/lib/
    LD_LIBRARY_PATH_32=/usr/local/lib

    any help much appreciated thanks in advance.....





  • gr00t
    Junior Member
    • Mar 2021
    • 2

    #2
    try using gmake instead usual location is /usr/sfw/bin/gmake

    Comment

    Working...