编译mysql4.0时候出现错误提示checking LinuxThreads... Not found
解压mysql4.0.26
root@www:/db# tar zxvf mysql-4.0.26.tar.gz 备份mysql5的数据目录 root@www:/db# tar czvf mysql5.data.tar.gz mysql5 编译 root@www:/db# cd mysql-4.0.26 root@www:/db/mysql-4.0.26# ./configure --prefix=/db/mysql4 最后提示: 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. 怎么会没有Linuxthreads?查看 root@www:/db/mysql-4.0.26# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared -- with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) 也许是gcc版本太新的原因?上网一查,是因为新内核使用了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 然后编译,并且加了点参数 root@www:/db/mysql-4.0.26# ./configure --prefix=/db/mysql4 --with-unix-socket-path=/db/mysql4/mysql.sock --with-tcp-port=3304 --with-low-memory 在检测Linuxthreads地方显示为Found,但后来还是停下了, checking whether signal handlers are of type void... yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for termcap functions library... configure: error: No curses/termcap li brary found 看来要装
ncurses-devel
|
转载于:https://www.cnblogs.com/ylqmf/archive/2012/02/20/2359422.html
编译mysql4.0时候出现错误提示checking LinuxThreads... Not found相关推荐
- vb安装提示计算机安装的新,win10系统电脑安装VB6.0企业版出现错误提示的步骤介绍...
有关win10系统电脑安装VB6.0企业版出现错误提示的操作方法想必大家有所耳闻.但是能够对win10系统电脑安装VB6.0企业版出现错误提示进行实际操作的人却不多.其实解决win10系统电脑安装VB ...
- 编译php7.0.17报错提示 undefined reference to `libiconv_open'
配置 ./configure –prefix=/usr/local/php7 错误详情 make /opt/src/php-7.0.17/ext/iconv/iconv.c:755: undefine ...
- 编译期会出现错误提示有哪些_Webpack 5有哪些值得期待
Webpack 5已经到来 早在今年(2019年)的2月份,Webpack核心团队的Sean Larkin就做过一次关于webpack 5新特性的演讲,为大家讲述了webpack 5目前的开发进展,还 ...
- .iOS APP Project or Mac APP Project编译错误提示: My Mac 64-bit is not valid for Running the scheme...
1. iOS APP Project or Mac APP Project编译错误提示: "The run destination My Mac 64-bit is not valid f ...
- JAVA编译时出现的错误提示
1.错误:非法字符 看到这个错误提示,我们首先要考虑是否使用了中文字符 2.错误:找不到符号 看到这个错误,我们要考虑单词有没有拼写错误. 3.编译不报错,但是运行时出现错误 这种属于业务逻辑错误.环 ...
- angularjs 表单校验指令_angular4.0的模板式表单、响应式表单及其错误提示
模板式表单 NgForm.NgModel.NgModelGroup是FormModule里的内容,NgForm会自动拦截标准的表单处理事件(eg.提交),angular用ngSubmit代替标准的表单 ...
- 编译后错误提示为pls-00103:出现符号在需要下列之一时:begin case declare
create or replace trigger auth_secure before insert or update or delete --/对整表更新前触发 on g002 begin IF ...
- 安装office2010出现了错误,提示要安装MSXML6.10.1129.0解决方法
安装office2010出现了错误,提示要安装MSXML6.10.1129.0解决方法 参考文章: (1)安装office2010出现了错误,提示要安装MSXML6.10.1129.0解决方法 (2) ...
- Druid连接池链接mysql错误提示:create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/bank, errorCode
错误提示:create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/bank, errorCode 0, state 01S00 ...
最新文章
- 绝对Linux服务器管理利器webmin
- 如何将字符数组里的内容转换成uint8的类型?将一个字符数组里面的所有元素变成一个字符串?
- protobuf和thrift对比
- 搞懂function(*args,**kwargs)
- UPS分类:直流UPS和交流UPS
- 朴素贝叶斯算法注意事项(有待完善)
- 第1章 程序设计和C语言
- 宁波大学计算机网络实验五,宁波大学计算机网络实验答案
- MySQL服务器安装完之后如何调节性能
- 使用深度学习进行表检测、信息提取和构建
- 抖音康辉机器人_央视主持人太会玩!康辉录抖音,笑死了!
- html5玻璃下雨,下雨天外后视镜总是沾满水珠 6个妙招帮你解决这个难题
- 计算机画图讲课ppt,画图教学课件
- GEO,IGSO,MEO,LEO
- 恢复U盘未分配空间怎么合并,u盘分区扩展卷不显示怎么办
- MySQL作为空间数据库
- 常见的计算机网络联网设备有哪些,常见的网络设备有哪些
- python画旺仔代码_Python基础3
- 19js学习第六天数组第1部分
- JAXB 中的@XmlElementWrapper注解生成问题