Welcome 微信登录

首页 / 数据库 / MySQL / ubuntu编译mysql解决方法

<1>: ERROR: checking for C compiler default output... configure: error:
C compiler cannot create executables

$sudo apt-get install libc6-dev

<2>: ERROR: configure: error: C++ preprocessor "/lib/cpp" fails sanity check

$sudo apt-get install cpp g++

<3>: ERROR: checking for termcap functions library... configure: error:
No curses/termcap library found

$sudo apt-get install termcap-compat

$sudo apt-get install gcc cpp g++ libncurses5-dev

$sudo apt-get install make autoconf automake libtool

<4>: 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

#echo "/* Linuxthreads */" >> /usr/include/pthread.h

(注意上面的ERROR<4>可以看出系统缺少线程库

没有线程,Linux当然不行,既然没有linuxthread那用什么代替呢?

是新型的NPTL,因为NPTL(native posix thread library)与 LinuxThreads 相比,NPTL 具有更多 的优点,只不过我们这里先不讨论他的优点。MySQL数据库向Oracle转换时注意若干问题快速掌握 Mysql数据库对文件操作的封装相关资讯      Ubuntu  编译mysql 
  • 如果没有Ubuntu,我们将去哪里?  (02月04日)
  • Libra—扁平化风格Ubuntu Unity主  (11/30/2014 08:21:04)
  • 一盘棋:Ubuntu明明不赚钱为什么还  (08/19/2013 16:59:50)
  • 桌面/移动端 Ubuntu 将获重大 UI   (09/29/2015 11:48:18)
  • Ubuntu将消失 有人欢喜有人愁  (10/18/2013 11:43:45)
  • 烧钱不断的Ubuntu——一个理想主义  (08/14/2013 07:36:21)
本文评论 查看全部评论 (0)
表情: 姓名: 字数