Ad Widget

Collapse

Zabbix 1.6 and Debian Sarge

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swullb
    Junior Member
    • Jun 2008
    • 9

    #1

    Zabbix 1.6 and Debian Sarge

    Hello, I Compiled Zabbix 1.4.5 on Debian Sarge i86 and mysql-Support.

    Code:
    ./configure --prefix=$HOME/zabbix-bin/zabbix-1.6 --enable-server --with-mysql --with-ldap --with-libcurl
    Now with Zabbix 1.6 I on the same machine with the same configure I get:
    Code:
    Making install in zbxdb
    make[3]: Entering directory `/export/zabbix/zabbix-src/zabbix-1.6/src/libs/zbxdb'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include     -g -O2   -I/usr/include/mysql -DBIG_JOINS=1      -I/usr/include  -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
    then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
    db.c: In function `zbx_db_connect':
    db.c:87: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
    db.c:87: error: (Each undeclared identifier is reported only once
    db.c:87: error: for each function it appears in.)
    make[3]: *** [db.o] Error 1
    libmysqlclient12-dev is installed on the system.

    Is Sarge too old or is there a solution (e.g. installing libmysqlclient14-dev) ?
  • Tenzer
    Senior Member
    • Nov 2007
    • 316

    #2
    Originally posted by swullb
    Is Sarge too old...
    Yes it is, it came out in June 2005 and support for it ended in April 2008, so I would recommend you to either upgrade to Etch or Lenny. The never libraries, compilers, etc. will probably also solve the issue you have at hand.

    Comment

    • bbrendon
      Senior Member
      • Sep 2005
      • 870

      #3
      swullb-

      Its very easy to upgrade Debian to a new version. Check google and you'll see.
      Unofficial Zabbix Expert
      Blog, Corporate Site

      Comment

      Working...