[root@localhost mysql]
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
In
file
included from db.c:22:
../../..
/include/zbxdb
.h:65:20: error: mysql.h: No such
file
or directory
../../..
/include/zbxdb
.h:66:21: error: errmsg.h: No such
file
or directory
../../..
/include/zbxdb
.h:67:27: error: mysqld_error.h: No such
file
or directory
In
file
included from db.c:22:
../../..
/include/zbxdb
.h:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../..
/include/zbxdb
.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../..
/include/zbxdb
.h:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘zbx_db_fetch’
db.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
db.c:165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
db.c: In
function
‘is_recoverable_mysql_error’:
db.c:180: error: ‘conn’ undeclared (first use
in
this
function
)
db.c:180: error: (Each undeclared identifier is reported only once
db.c:180: error:
for
each
function
it appears
in
.)
db.c:182: error: ‘CR_CONN_HOST_ERROR’ undeclared (first use
in
this
function
)
db.c:183: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use
in
this
function
)
db.c:184: error: ‘CR_CONNECTION_ERROR’ undeclared (first use
in
this
function
)
db.c:185: error: ‘CR_SERVER_LOST’ undeclared (first use
in
this
function
)
db.c:186: error: ‘CR_UNKNOWN_HOST’ undeclared (first use
in
this
function
)
db.c:187: error: ‘ER_SERVER_SHUTDOWN’ undeclared (first use
in
this
function
)
db.c:188: error: ‘ER_ACCESS_DENIED_ERROR’ undeclared (first use
in
this
function
)
db.c:189: error: ‘ER_ILLEGAL_GRANT_FOR_TABLE’ undeclared (first use
in
this
function
)
db.c:190: error: ‘ER_TABLEACCESS_DENIED_ERROR’ undeclared (first use
in
this
function
)
db.c:191: error: ‘ER_UNKNOWN_ERROR’ undeclared (first use
in
this
function
)
db.c: In
function
‘zbx_db_connect’:
db.c:294: error: ‘conn’ undeclared (first use
in
this
function
)
db.c:296: error: ‘CLIENT_MULTI_STATEMENTS’ undeclared (first use
in
this
function
)
db.c: In
function
‘zbx_db_close’:
db.c:559: error: ‘conn’ undeclared (first use
in
this
function
)
db.c: In
function
‘zbx_db_vexecute’:
db.c:1019: error: ‘conn’ undeclared (first use
in
this
function
)
db.c: At
top
level:
db.c:1149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
db.c:1478: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
db.c:1607: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘zbx_db_fetch’
make
[3]: *** [db.o] Error 1
make
[3]: Leaving directory `
/app/zabbix-2
.2.6
/src/libs/zbxdb
'
make
[2]: *** [all-recursive] Error 1
make
[2]: Leaving directory `
/app/zabbix-2
.2.6
/src/libs
'
make
[1]: *** [all-recursive] Error 1
make
[1]: Leaving directory `
/app/zabbix-2
.2.6
/src
'
make
: *** [all-recursive] Error 1
[root@localhost zabbix-2.2.6]
root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
checking
for
mysql_config...
/usr/bin/mysql_config
checking
for
main
in
-lmysqlclient ... no
configure: error: Not found mysqlclient library
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]
[root@localhost zabbix-2.2.6]