linux下安装LAMP-----mysql遇到问题总结
2011-02-24 15:55
671 查看
编译MYSQL
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found又一查应该是没有安装curses
去下载一个ncurses-5.6.tar.gz,
./configure –prefix=/usr –with-shared –without-debug
make
make完成之后显示
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -c ../c++/cursesf.cc
/bin/sh: -I../c++: 没有那个文件或目录
make[1]: *** [../objects/cursesf.o] 错误 127
make[1]: Leaving directory `/web/ncurses-5.6/c++'
make: *** [all] 错误 2
//安装curses出现的错误
此时安装curses出现的错误,此错误是因为没有安装gcc-c++-4.1.2-48.el5.i386.rpm的包,安装编译这个包时又会出现错误,缺少
libstdc++-devel-4.1.2-48.el5.i386.rpm 安装完这两个工具包之后再继续编译mysql将会编译安装成功!
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found又一查应该是没有安装curses
去下载一个ncurses-5.6.tar.gz,
./configure –prefix=/usr –with-shared –without-debug
make
make完成之后显示
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -c ../c++/cursesf.cc
/bin/sh: -I../c++: 没有那个文件或目录
make[1]: *** [../objects/cursesf.o] 错误 127
make[1]: Leaving directory `/web/ncurses-5.6/c++'
make: *** [all] 错误 2
//安装curses出现的错误
此时安装curses出现的错误,此错误是因为没有安装gcc-c++-4.1.2-48.el5.i386.rpm的包,安装编译这个包时又会出现错误,缺少
libstdc++-devel-4.1.2-48.el5.i386.rpm 安装完这两个工具包之后再继续编译mysql将会编译安装成功!
相关文章推荐
- linux下安装cmake和mysql遇到的问题总结
- linux下安装cmake和mysql遇到的问题总结
- 总结MySQL安装过程中遇到的问题和需要注意的地方
- Linux下安装MySQL遇到缺少libncurses库的问题
- 安装和启动MySQL时遇到的问题总结
- 在linux中安装mysql时遇到的问题
- 【转】Linux安装HDF5及遇到的问题总结
- linux下的安装mysql与遇到一些常见问题的解决方法
- 安装mysql时遇到的一些问题总结 一
- linux安装和配置 mysql、redis 过程中遇到的问题记录(转)
- 安装mysql5.6(MySQL-5.6.27-1.linux_glibc2.5.x86_64.rpm-bundle.tar)遇到的问题
- LAMP安装mysql 时遇到的问题汇总
- WIN8.1为OK6410安装linux3.0.1遇到的若干问题总结以及解决方案
- Lamp 安装 MySQL 遇到的问题汇总 推荐
- LAMP安装mysql 时遇到的问题汇总
- Linux下安装mysql及过程中遇到的问题
- 安装mysql 遇到问题总结 二
- linux系统安装mysql5.7(二) --linux安装mysql遇到的问题 和libaio-dev文件 mysql下载网址
- linux下mysql的卸载、安装全过程及遇到"MySQL提示:The server quit without updating PID file问题的解决办法"
- linux中centros6.7安装php5.6,httpd-2.2.19(web产品化)遇到的问题总结