Ad Widget

Collapse

Installation: Make Install error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • regl
    Junior Member
    • Jan 2007
    • 4

    #1

    Installation: Make Install error

    Hello,

    I am trying to install Zabbix 1.3.2 on a system running Engarde Security Linux 3.0. ./Configure runs fine with no error.

    #./configure --enable-server --enable-agent --with-mysql --with-net-snmp --prefix=/opt/zabbix

    ^^ Runs fine. returns with:
    Configuration:

    Detected OS: linux-gnu
    Install path: /opt/zabbix
    Compilation arch: linux

    Compiler: gcc
    Compiler flags: -g -O2
    Linker flags:
    Libraries: -lresolv -lnsl

    Enable server: yes
    With database: MySQL

    Enable agent: yes


    Then #make Install

    Making install in src
    make[1]: Entering directory `/root/zabbix-1.3.2/src'
    Making install in libs
    make[2]: Entering directory `/root/zabbix-1.3.2/src/libs'
    Making install in zbxcrypto
    make[3]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    make[4]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    make[5]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    test -z "/opt/zabbix/lib" || mkdir -p -- "/opt/zabbix/lib"
    /usr/bin/install -c -m 644 'libzbxcrypto.a' '/opt/zabbix/lib/libzbxcrypto.a'
    ranlib '/opt/zabbix/lib/libzbxcrypto.a'
    make[5]: Nothing to be done for `install-data-am'.
    make[5]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    make[4]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    make[3]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcrypto'
    Making install in zbxcommon
    make[3]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    make[4]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    make[5]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    test -z "/opt/zabbix/lib" || mkdir -p -- "/opt/zabbix/lib"
    /usr/bin/install -c -m 644 'libzbxcommon.a' '/opt/zabbix/lib/libzbxcommon.a'
    ranlib '/opt/zabbix/lib/libzbxcommon.a'
    make[5]: Nothing to be done for `install-data-am'.
    make[5]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    make[4]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    make[3]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxcommon'
    Making install in zbxlog
    make[3]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxlog'
    make[4]: Entering directory `/root/zabbix-1.3.2/src/libs/zbxlog'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \
    then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi
    log.c: In function `zabbix_open_log':
    log.c:93: error: `errno' undeclared (first use in this function)
    log.c:93: error: (Each undeclared identifier is reported only once
    log.c:93: error: for each function it appears in.)
    log.c: In function `zabbix_log':
    log.c:231: error: `errno' undeclared (first use in this function)
    log.c: In function `strerror_from_system':
    log.c:345: error: `errno' undeclared (first use in this function)
    log.c: In function `strerror_from_module':
    log.c:380: error: `errno' undeclared (first use in this function)
    make[4]: *** [log.o] Error 1
    make[4]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxlog'
    make[3]: *** [install-recursive] Error 1
    make[3]: Leaving directory `/root/zabbix-1.3.2/src/libs/zbxlog'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/root/zabbix-1.3.2/src/libs'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/root/zabbix-1.3.2/src'
    make: *** [install-recursive] Error 1
  • regl
    Junior Member
    • Jan 2007
    • 4

    #2
    bumping this. can any one offer some assistance?

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Please attach your include/config.h.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...