免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3740 | 回复: 2
打印 上一主题 下一主题

急!!编译安装postfix时错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-14 21:01 |只看该作者 |倒序浏览
编译安装postfix
# make install
dict_mysql.c:173:19: 错误:mysql.h:没有那个文件或目录
dict_mysql.c:203: 错误:expected specifier-qualifier-list before ‘MYSQL’
dict_mysql.c:249: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dict_mysql.c: 在函数 ‘dict_mysql_lookup’ 中:
dict_mysql.c:295: 错误:‘MYSQL_RES’ 未声明 (在此函数内第一次使用)
dict_mysql.c:295: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
dict_mysql.c:295: 错误:所在的函数内只报告一次。)
dict_mysql.c:295: 错误:‘query_res’ 未声明 (在此函数内第一次使用)
dict_mysql.c:296: 错误:‘MYSQL_ROW’ 未声明 (在此函数内第一次使用)
dict_mysql.c:296: 错误:expected ‘;’ before ‘row’
dict_mysql.c:371: 错误:‘row’ 未声明 (在此函数内第一次使用)
dict_mysql.c: 在函数 ‘dict_mysql_check_stat’ 中:
dict_mysql.c:394: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c:394: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:396: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c:396: 错误:‘HOST’ 没有名为 ‘ts’ 的成员
dict_mysql.c:396: 错误:‘HOST’ 没有名为 ‘ts’ 的成员
dict_mysql.c: 在函数 ‘dict_mysql_get_active’ 中:
dict_mysql.c:445: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:461: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:463: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c: 在函数 ‘dict_mysql_event’ 中:
dict_mysql.c:477: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c: 在顶层:
dict_mysql.c:488: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dict_mysql.c: 在函数 ‘plmysql_connect_single’ 中:
dict_mysql.c:540: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:542: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:543: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:543: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:547: 错误:‘HOST’ 没有名为 ‘port’ 的成员
dict_mysql.c:548: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:548: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:552: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:553: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c:556: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:556: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c: 在函数 ‘plmysql_close_host’ 中:
dict_mysql.c:564: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:565: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:566: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c: 在函数 ‘plmysql_down_host’ 中:
dict_mysql.c:575: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:576: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:577: 错误:‘HOST’ 没有名为 ‘ts’ 的成员
dict_mysql.c:578: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c: 在函数 ‘host_init’ 中:
dict_mysql.c:705: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:706: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:707: 错误:‘HOST’ 没有名为 ‘port’ 的成员
dict_mysql.c:708: 错误:‘HOST’ 没有名为 ‘stat’ 的成员
dict_mysql.c:709: 错误:‘HOST’ 没有名为 ‘ts’ 的成员
dict_mysql.c:717: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:721: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:723: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:724: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:725: 错误:‘HOST’ 没有名为 ‘port’ 的成员
dict_mysql.c:726: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:728: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:729: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:730: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c:735: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:735: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:736: 错误:‘HOST’ 没有名为 ‘port’ 的成员
dict_mysql.c:736: 错误:‘HOST’ 没有名为 ‘type’ 的成员
dict_mysql.c: 在函数 ‘plmysql_dealloc’ 中:
dict_mysql.c:770: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:771: 错误:‘HOST’ 没有名为 ‘db’ 的成员
dict_mysql.c:772: 错误:‘HOST’ 没有名为 ‘hostname’ 的成员
dict_mysql.c:773: 错误:‘HOST’ 没有名为 ‘name’ 的成员
dict_mysql.c:774: 错误:‘HOST’ 没有名为 ‘name’ 的成员
make: *** [dict_mysql.o] 错误 1
make: *** [update] 错误 1

我的mysql是安装redhat linux5时一起安装的。怎么没有mysql.h等文件呢?应该怎么办?
谁知道原因吗?谢谢。

[ 本帖最后由 hongutay 于 2007-12-17 16:11 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-12-17 17:59 |只看该作者
安装mysql-devel-xxx.rpm

论坛徽章:
0
3 [报告]
发表于 2007-12-17 19:47 |只看该作者

回复 #2 gucuiwen 的帖子

谢谢楼上,根据你的提示这个问题已经解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP