Board logo

标题: [求助] 求助 [打印本页]

作者: early-w    时间: 2018-12-7 15:12     标题: 求助

安装wddns3
运行wddns3_install.sh 出错
请问安装脚本中:
./configure --prefix=/www/wdlinux/bind \
        --enable-threads \
        --enable-largefile \
        --with-openssl=yes \
        --with-dlz-mysql=/usr/include/mysql   ---------这里应该改成什么路径??





安装错误信息:




/dlz_mysql_driver.c
../../contrib/dlz/drivers/dlz_mysql_driver.c:76:19: 错误:mysql.h:没有那个文件或目录
../../contrib/dlz/drivers/dlz_mysql_driver.c:103: 错误:expected ‘)’ before ‘*’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:135: 错误:expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_get_resultset’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:145: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:145: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
../../contrib/dlz/drivers/dlz_mysql_driver.c:145: 错误:所在的函数内也只报告一次。)
../../contrib/dlz/drivers/dlz_mysql_driver.c:233: 警告:隐式声明函数‘mysqldrv_escape_string’
../../contrib/dlz/drivers/dlz_mysql_driver.c:233: 错误:‘MYSQL’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:233: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:248: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:263: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:324: 警告:隐式声明函数‘mysql_query’
../../contrib/dlz/drivers/dlz_mysql_driver.c:324: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:327: 警告:隐式声明函数‘mysql_ping’
../../contrib/dlz/drivers/dlz_mysql_driver.c:327: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c:334: 警告:隐式声明函数‘mysql_store_result’
../../contrib/dlz/drivers/dlz_mysql_driver.c:334: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在文件层:
../../contrib/dlz/drivers/dlz_mysql_driver.c:377: 错误:expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_process_rs’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:380: 错误:‘MYSQL_ROW’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:380: 错误:expected ‘;’ before ‘row’
../../contrib/dlz/drivers/dlz_mysql_driver.c:388: 错误:‘row’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:388: 警告:隐式声明函数‘mysql_fetch_row’
../../contrib/dlz/drivers/dlz_mysql_driver.c:388: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:389: 警告:隐式声明函数‘mysql_num_fields’
../../contrib/dlz/drivers/dlz_mysql_driver.c:448: 警告:隐式声明函数‘mysql_free_result’
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_findzone’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:510: 错误:‘MYSQL_RES’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:510: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:511: 错误:‘my_ulonglong’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:511: 错误:expected ‘;’ before ‘rows’
../../contrib/dlz/drivers/dlz_mysql_driver.c:518: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c:530: 错误:‘rows’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:530: 警告:隐式声明函数‘mysql_num_rows’
../../contrib/dlz/drivers/dlz_mysql_driver.c:536: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_allowzonexfr’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:550: 错误:‘MYSQL_RES’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:550: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:551: 错误:‘my_ulonglong’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:551: 错误:expected ‘;’ before ‘rows’
../../contrib/dlz/drivers/dlz_mysql_driver.c:569: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c:584: 错误:‘rows’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_allnodes’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:606: 错误:‘MYSQL_RES’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:606: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:607: 错误:‘MYSQL_ROW’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:607: 错误:expected ‘;’ before ‘row’
../../contrib/dlz/drivers/dlz_mysql_driver.c:618: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c:635: 错误:‘row’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_authority’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:720: 错误:‘MYSQL_RES’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:720: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:725: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c:743: 错误:提供给函数‘mysql_process_rs’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_lookup’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:753: 错误:‘MYSQL_RES’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:753: 错误:‘rs’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:760: 错误:提供给函数‘mysql_get_resultset’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c:775: 错误:提供给函数‘mysql_process_rs’的实参太多
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_create’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:797: 错误:‘MYSQL’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:797: 错误:‘dbc’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:896: 警告:隐式声明函数‘mysql_init’
../../contrib/dlz/drivers/dlz_mysql_driver.c:896: 警告:赋值时将整数赋给指针,未作类型转换
../../contrib/dlz/drivers/dlz_mysql_driver.c:911: 错误:‘CLIENT_COMPRESS’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:918: 错误:‘CLIENT_SSL’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:925: 错误:‘CLIENT_IGNORE_SPACE’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:947: 警告:隐式声明函数‘mysql_real_connect’
../../contrib/dlz/drivers/dlz_mysql_driver.c:947: 错误:expected expression before ‘)’ token
../../contrib/dlz/drivers/dlz_mysql_driver.c: 在函数‘mysql_destroy’中:
../../contrib/dlz/drivers/dlz_mysql_driver.c:1007: 警告:隐式声明函数‘mysql_close’
../../contrib/dlz/drivers/dlz_mysql_driver.c:1007: 错误:‘MYSQL’未声明(在此函数内第一次使用)
../../contrib/dlz/drivers/dlz_mysql_driver.c:1007: 错误:expected expression before ‘)’ token
make[2]: *** [dlz_mysql_driver.o] 错误 1
make[2]: Leaving directory `/root/bind-9.10.5-P1/bin/named'
make[1]: *** [subdirs] 错误 1
make[1]: Leaving directory `/root/bind-9.10.5-P1/bin'
make: *** [subdirs] 错误 1
[root@dns2 ~]# find / -name dlz_mysql_driver.h
/root/bind-9.10.5-P1/contrib/dlz/drivers/include/dlz/dlz_mysql_driver.h
/usr/bin/bind-9.10.5-P1/contrib/dlz/drivers/include/dlz/dlz_mysql_driver.h




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2