Ad Widget

Collapse

Zabbix "make install"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #1

    Zabbix "make install"

    доброго времени суток.

    пытаюсь установить Zabbix 1.8.3 на AIX 5.3
    oslevel –s 5300-09-06-1013
    gcc -v gcc version 4.2.4


    Вроде все что Zabbix-у нужно установил… ./configure проходит успешно со всеми –with
    Когда делаю ”make install”

    serv1:/usr/local/zabbix-1.8.3#make install
    Making install in src
    Making install in libs
    Making install in zbxcrypto
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I'/usr/include/mysql' -I/usr/src/iksemel-1.3/include -I/opt/freeware/include -I/usr/local/include -I. -I/opt/freeware/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
    In file included from /usr/include/xcoff.h:134,
    from /usr/include/a.out.h:42,
    from /usr/include/sys/user.h:54,
    from ../../../include/sysinc.h:301,
    from ../../../include/common.h:23,
    from md5.c:54:
    /usr/include/mysql/dbug.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_VARARGS'
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.


    Посмотрел фаил /usr/include/mysql/dbug.h
    Поприбивал в ручную отредактировать dbug.h
    extern void _db_doprnt_ _VARARGS((const char *format,...));
    переделал в
    extern void _db_doprnt_VARARGS(const char *format);


    однако ”make install” написал следующее:
    Making install in zbxdb
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I'/usr/include/mysql' -I/usr/src/iksemel-1.3/include -I/opt/freeware/include -I/usr/local/include -I. -I/opt/freeware/include -MT db.o -MD -MP -MF .deps/db.Tpo -c -o db.o db.c
    db.c: In function 'zbx_db_connect':
    db.c:139: error: 'CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
    db.c:139: error: (Each undeclared identifier is reported only once
    db.c:139: error: for each function it appears in.)
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.

    Вот здесь я завис…
    Обратил внимание на 1 и 2 error
    gcc -DHAVE_CONFIG_H -I. -I../../../include

    помогите пожалуйста, я уже 6 дней мучаюсь… в чем проблема
Working...