免费注册 查看新帖 |

Chinaunix

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

用tar.gz的方法装mysql,到make的时候出现问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-02-13 21:59 |只看该作者 |倒序浏览
环境:Linux AS3U8 + MySql-5.0.27

#./configure --prefix=/usr/local/mysql5
.............
.............省略

Remember to check the platform specific part of the reference manual for
hints about installing MySQL on your platform. Also have a look at the
files in the Docs directory.

Thank you for choosing MySQL!
#make
。。。。。。。。。。
。。。。。。。。。。省略
/usr/include/sys/mman.h:122: error: `size_t' has not been declared
/usr/include/sys/mman.h:130: error: `size_t' has not been declared
/usr/include/sys/mman.h:135: error: `size_t' has not been declared
/usr/include/sys/mman.h:136: error: `size_t' has not been declared
In file included from mysys_priv.h:18,
                 from my_new.cc:22:
../include/my_sys.h:865: error: `size_t' has not been declared
../include/my_sys.h:865: error: ISO C++ forbids declaration of `parameter' with no type
my_new.cc:26: error: declaration of `operator new' as non-function
my_new.cc:26: error: `size_t' was not declared in this scope
my_new.cc:31: error: declaration of `operator new []' as non-function
my_new.cc:31: error: `size_t' was not declared in this scope
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/home/sofeware/mysql-5.0.27/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sofeware/mysql-5.0.27'
make: *** [all] Error 2

请问各位有遇到过这种情况吗?是不是有什么库没装好?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP