VPS侦探论坛

 找回密码
 注册
查看: 5958|回复: 6

1.2 MYSQL一直安装出错,腾讯云

[复制链接]
发表于 2015-7-5 20:28:58 | 显示全部楼层 |阅读模式

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 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-7-5 22:15:32 | 显示全部楼层


没日志啥也没法说
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-7-5 22:19:34 | 显示全部楼层

回复 2# 的帖子


日志打包传上来了

请军哥看看,安装1.1都是一样的错了

[ 本帖最后由 风之翼灵 于 2015-7-6 01:26 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-7-6 01:15:50 | 显示全部楼层




-- 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 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-7-6 09:07:40 | 显示全部楼层

-- 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
然后再手动安装试试

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2015-7-6 09:34:00 | 显示全部楼层

回复 5# 的帖子


好的,军哥,我试试看,谢谢
 楼主| 发表于 2015-7-6 10:28:44 | 显示全部楼层

感谢军哥,解决了,正常安装了

另外是腾讯这边建议,安装前先安装下下面这些
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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 21:46 , Processed in 0.028115 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表