免费注册 查看新帖 |

Chinaunix

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

[Mail] 使用marion的RH4邮件服务器搭建文档,在安装DBD时出现错误,请指教! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-25 16:27 |只看该作者 |倒序浏览
各位朋友好,我使用marion朋友的邮件服务器搭建文档的时候,在到DBD-mysql-3.0002_4这步怎么也安装不过去。错误提示为:

gcc -c  -I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DDBD_MYSQL_WITH_SSL -g  -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   -DVERSION=\"3.0002_4\" -DXS_VERSION=\"3.0002_4\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function `mysql_to_perl_type':
dbdimp.c:249: error: `MYSQL_TYPE_BIT' undeclared (first use in this function)
dbdimp.c:249: error: (Each undeclared identifier is reported only once
dbdimp.c:249: error: for each function it appears in.)
dbdimp.c:259: error: `MYSQL_TYPE_VARCHAR' undeclared (first use in this function)
dbdimp.c:263:25: warning: extra tokens at end of #ifdef directive
make: *** [dbdimp.o] Error 1

按照marion朋友的解释使用ln -s /usr/local/mysql/include/*   /usr/include这个命令时的错误提示为:

ln:'/usr/include/mysql':cannot overwrite directory

请问谁能帮帮我,下步我该怎么处理呢?先谢谢了!

论坛徽章:
0
2 [报告]
发表于 2008-03-25 18:35 |只看该作者

回复 #1 bobo_zhshb 的帖子

使用好多方法,都不成功啊!为什么呢?难道没有人遇到过这个问题,且成功解决的么?

论坛徽章:
0
3 [报告]
发表于 2008-03-25 21:30 |只看该作者
一直很奇怪有现成的二进制包,为什么要用源码编译。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP