Ad Widget

Collapse

can't compile 1.9.8 on Solaris 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • my36
    Junior Member
    • Dec 2011
    • 11

    #1

    can't compile 1.9.8 on Solaris 10

    Any ideas?

    -bash-3.00$ uname -a
    SunOS bigbrother.icims.net 5.10 Generic_142910-17 i86pc i386 i86pc

    -bash-3.00$ ./configure --enable-agent --prefix=/export/home/mybox/zabbix

    after -bash-3.00$ make
    ....

    make: Fatal error: Command failed for target `install-recursive'
    Current working directory /export/home/mybox/zabbix/zabbix-1.9.8/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 create 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'
  • my36
    Junior Member
    • Dec 2011
    • 11

    #2
    solved

    I solved my own problem.

    Seems two files weren't compiling:
    sysinfo.c
    misc.c
    both were somewhere in the src/lib/* subtree.

    I added
    #include <limits.h>

    that was all it took.

    kewl.

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      could you please report that on the issue tracker ?



      thanks
      Zabbix 3.0 Network Monitoring book

      Comment

      Working...