Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2760551
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2010-10-23 16:39:35

因为公司的mysql有mysql4.0.27和mysql5.* 的不同版本!测试了下从mysql4升级到mysql5没那么容易(尽管可以实现,但蛮费劲)
想重新安装一个mysql4.0.27备份机器,以备不时之需!
但在linux安装时configure时却失败提示:
checking for int8... no
checking "LinuxThreads"... "Not found"
configure: error: This is a linux system and Linuxthreads was not
found. On linux Linuxthreads should be used.  Please install Linuxthreads
(or a new glibc) and try again.  See the Installation chapter in the
Reference Manual for more information.
原因:新内核使用了NTPL这种先进的线程处理方式,
解决方法:
root@www:/db/mysql-4.0.26# cp /usr/include/pthread.h /usr/include/pthread.h.bak
root@www:/db/mysql-4.0.26# echo '/* Linuxthreads */' >> /usr/include/pthread.h
然后就可以configure,make,make install了。
网上还提到一直mid-thread的方法,尽管可以configure过去,但make时出错!
阅读(1988) | 评论(0) | 转发(0) |
0

上一篇:troubleshooting

下一篇:squid troubleshooting

给主人留下些什么吧!~~