如果编译时出现了以下错误:checking for tgetent in -ltermcaphellip; nochecking for termcap functions libraryhellip; con

首页 → 数据库技术
背景:
阅读新闻
centos 安装 mysql 出错帮助
[日期:2010-11-21] 来源:Linux社区 作者:Linux [字体:]
如果编译时出现了以下错误:
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
佳弗O2O网站系统——乐活版 环境需求 1. 可用的 www 服务器,如 Apache、Zeus、IIS 等 2. php 4.3.0 及以上 3. Zend Optimizer 2.5.7 及以上 4. MySQL 3.23 及以上,仅针对 MySQL 版 安装 1.安装按照提示流程一步一步安装 2.安装过后如果出现错误,请删除 ./Runtime文件夹 3.如果打开首页 点击导航 出现4
0
解决 :
下载 安装 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.bak
cp support-files/my-medium.cnf /etc/cnf

CentOS5.4安装Oracle10g数据库总结
新版MySQL 数据库安装
相关资讯 CentOS
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。
Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号