1.2 MYSQL一直安装出错,腾讯云
1.2 MYSQL一直安装出错,腾讯云-- Configuring incomplete, errors occurred!
See also "/root/lnmp1.2-full/src/mysql-5.5.42/CMakeFiles/CMakeOutput.log".
See also "/root/lnmp1.2-full/src/mysql-5.5.42/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.Stop.
cp: cannot stat `support-files/my-medium.cnf': No such file or directory
sed: can't read /etc/my.cnf: No such file or directory
sed: can't read /etc/my.cnf: No such file or directory
sed: can't read /etc/my.cnf: No such file or directory
include/mysql.sh: line 115: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
chown: cannot access `/usr/local/mysql/var': No such file or directory
chgrp: cannot access `/usr/local/mysql/.': No such file or directory
cp: cannot stat `support-files/mysql.server': No such file or directory
chmod: cannot access `/etc/init.d/mysql': No such file or directory
include/mysql.sh: line 23: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 30: /usr/local/mysql/bin/mysqladmin: No such file or directory
include/mysql.sh: line 42: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql.sh: line 49: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 50: /etc/init.d/mysql: No such file or directory
1G内存的配置,装了N次了,都是MYSQL装不好,军哥,怎么办啊
[ 本帖最后由 风之翼灵 于 2015-7-5 22:20 编辑 ] 没日志啥也没法说
回复 2# 的帖子
日志打包传上来了请军哥看看,安装1.1都是一样的错了
[ 本帖最后由 风之翼灵 于 2015-7-6 01:26 编辑 ]
-- Could NOT find Curses (missing:CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:83 (MESSAGE):
Curses library not found.Please install appropriate package,
remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call first):
cmake/readline.cmake:118 (FIND_CURSES)
cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
CMakeLists.txt:354 (MYSQL_CHECK_READLINE)
百度了下, yum install ncurses-devel
照做也是一样的错- -,奔溃了
[ 本帖最后由 风之翼灵 于 2015-7-6 01:27 编辑 ] -- Could NOT find Curses (missing:CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:83 (MESSAGE):
Curses library not found.Please install appropriate package,
remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call first):
cmake/readline.cmake:118 (FIND_CURSES)
cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
CMakeLists.txt:354 (MYSQL_CHECK_READLINE)
-- Configuring incomplete, errors occurred!
安装ncurses-devel时报错没安装上
Resolving Dependencies
--> Running transaction check
---> Package ncurses-devel.i686 0:5.7-3.20090208.el6 will be installed
--> Processing Dependency: ncurses-libs = 5.7-3.20090208.el6 for package: ncurses-devel-5.7-3.20090208.el6.i686
--> Finished Dependency Resolution
Error: Package: ncurses-devel-5.7-3.20090208.el6.i686 (base)
Requires: ncurses-libs = 5.7-3.20090208.el6
Installed: ncurses-libs-5.7-4.20090207.el6.i686 (@fasttrack)
ncurses-libs = 5.7-4.20090207.el6
Available: ncurses-libs-5.7-3.20090208.el6.i686 (base)
ncurses-libs = 5.7-3.20090208.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
你可能是开启了fasttrack的源,返回安装了fasttrack的高版本的依赖造成的
编辑 /etc/yum.repos.d/CentOS-fasttrack.repo 把Enabled=1设置为Enabled=0 把fasttrack禁用试试
yum clean all
rpm --rebuilddb
然后再手动安装试试
回复 5# 的帖子
好的,军哥,我试试看,谢谢 感谢军哥,解决了,正常安装了另外是腾讯这边建议,安装前先安装下下面这些
yum install gcc gcc-c++ bzip2 make vixie-cron flex ncurses-devel wget patch ntp libxml2 libxml2-devel libevent m4 autoconf zip unzip libjpeg libjpeg-devel gd gd-devel freetype freetype-devel libpng libpng-devel openssl openssl-devel file libtool libtool-libs gmp-devel pspell-devel parted zlib perl mod_perl-devel apr-util ftp readline-devel readline-devel apr apr-util curl-devel
页:
[1]