Welcome 微信登录

首页 / 数据库 / MySQL / CentOS 安装 MySQL 出错帮助

如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装出现这样的原因,首先要将ncurses的相关包包安装上
一、如果你的系统是RedHat系列:
yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel 二、如果你的系统是Ubuntu或Debian:
apt-cache search ncurses
apt-get install libncurses5-dev 然后增加一条编译参数
--with-named-curses-libs=/usr/lib/libncursesw.so.5
就可以了出现:configure: error: No curses/termcap library found
解决方法:# ./configure --prefix=/usr/local/mysql为 .#./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5出现:../depcomp: line 571: exec: g++: not found
make[1]: *** [my_new.o] 错误 127
make[1]: Leaving directory `/home/justme/software/mysql-5.1.30/mysys"
make: *** [all-recursive] 错误 1解决 :下载 安装 gcc-c++-4.1.2-33.i386.rpm(yum intall gcc-c++)安装或者重新mysql-5.1.30时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决,因为/etc/mysql/下出现了个my.cnf 解决方法:mv /etc/my.cnf   /etc/my.cnf.bakcp support-files/my-medium.cnf   /etc/cnfCentOS5.4安装Oracle10g数据库总结新版MySQL 数据库安装相关资讯      CentOS 
  • CentOS虚拟机NAT静态IP设置  (07/04/2013 17:09:32)
  • CentOS 格式化新硬盘并设置开机自  (07/04/2013 16:50:50)
  • 服务器为何用CentOS不用Ubnutu  (02/24/2013 15:19:10)
  • CentOS /usr/libexec/gconf-sanity  (07/04/2013 17:07:42)
  • 为什么我们选择CentOS而不是Debian  (06/06/2013 06:19:40)
  • 在CentOS下搭建Android 开发环境  (02/18/2013 09:14:14)
本文评论 查看全部评论 (0)
表情: 姓名: 字数