文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>checking "LinuxThreads"... "Not found"(mysql)

checking "LinuxThreads"... "Not found"(mysql)

时间:2010-10-23  来源:qingheliu

因为公司的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时出错!
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载