免费注册 查看新帖 |

Chinaunix

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

好几个月都没有解决的问题,俺哭啊! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-20 16:20 |只看该作者 |倒序浏览
我的系统环境: liunx 9.0 mysql3.23.54a.tar.gz

mysql 安装错误
俺的安装步骤:
rpm -qa |grep mysql

rpm -e mysql

rpm -e mysql --nodeps

tar zxvf mysql4.23.54a.tar.gz

cd mysql4.23.54a

./configure --prefix=/usr/local/mysql

make

当我执行此命令时出现以下错误:

creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la libmysqlclient.la)
c++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -D_FILE_OFFSET_BITS=64 -c mysql.cc
In file included from ../include/m_string.h:15,
from mysql.cc:16:
/usr/include/string.h:208: declaration of `char* strcasestr(const char*, const
char*) throw ()' throws different exceptions
../include/my_sys.h:392: than previous declaration `char* strcasestr(const
char*, const char*)'
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/mysql-3.22.32/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-3.22.32'
make: *** [all-recursive-am] Error 2


我在好几个机器上装都出现此错误,而且好几个月了,也没有查出原因,俺很郁闷,请各位高手一定要指点!

论坛徽章:
0
2 [报告]
发表于 2005-07-20 17:28 |只看该作者

好几个月都没有解决的问题,俺哭啊!

检查一下mysql3.23.54a.tar.gz 的md5是不是和官方的相同.
你的错误信息你贴完全了吗?

论坛徽章:
0
3 [报告]
发表于 2005-07-21 00:08 |只看该作者

好几个月都没有解决的问题,俺哭啊!

我建议楼主去www.mysql.com网站上去下官方的

去http://dev.mysql.com/downloads/然后你得选择4.1哪个版本的

因为5.0的是已经编译好了的

4.1是没编译的然后找到

Source downloads
Compiler Advisory: Several users have reported random crashes and table corruptions when using MySQL binaries compiled with gcc 2.96 on the x86 Linux platform. We suggest that you use gcc 2.95 or gcc 2.91 to compile your own binaries. It should also be safe to use gcc 3.2.

For maximum stability and performance, we recommend that you use the binaries we provide

是在最下面下一个编译

呵呵安装mysql会吧

有事情email to haoyufu@ioz.ac.cn

hehe
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP