VPS侦探论坛

 找回密码
 注册
查看: 3440|回复: 3

LNMP 1.2 Mysql安装失败 大家帮忙看看log

[复制链接]
发表于 2017-4-17 13:51:57 | 显示全部楼层 |阅读模式

见附件,请帮看下我的问题所在,谢谢

本帖子中包含更多资源

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

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


Error: Package: gcc-c++-4.4.7-17.el6.x86_64 (Base)
           Requires: gcc = 4.4.7-17.el6
           Installed: gcc-4.4.7-18.el6.x86_64 (@base)
               gcc = 4.4.4-15.el6
               gcc = 4.4.7-18.el6
           Available: gcc-4.4.7-17.el6.x86_64 (Base)
               gcc = 4.4.7-17.el6
               gcc = 4.4.4-15.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

。。。。。。
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
。。。。。。
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (get_filename_component):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_PEERCRED - Failed
-- Library mysqlclient depends on OSLIBS -lpthread;/usr/lib64/libz.so;m;rt;dl
-- Googlemock was not found. gtest-based unit tests will be disabled. You can run cmake . -DENABLE_DOWNLOADS=1 to automatically download and build required components from source.
-- If you are inside a firewall, you may need to use an http proxy: export http_proxy=http://example.com:80
-- Library mysqlserver depends on OSLIBS -lpthread;/usr/lib64/libz.so;m;rt;crypt;dl
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- COMPILE_DEFINITIONS: HAVE_CONFIG_H
-- CMAKE_C_FLAGS:  -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement
-- CMAKE_CXX_FLAGS:
-- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO:  -DDBUG_OFF
-- Configuring incomplete, errors occurred!
See also "/root/Downloads/lnmp1.2-full/src/mysql-5.6.23/CMakeFiles/CMakeOutput.log".
See also "/root/Downloads/lnmp1.2-full/src/mysql-5.6.23/CMakeFiles/CMakeError.log".

解决方法:
yum clean all
yum makecache

yum install gcc gcc-c++ 可以正常安装的话,再重新安装lnmp就行了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-4-17 18:01:27 | 显示全部楼层

按您的方法执行,仍然失败


非常感谢您的回复

本帖子中包含更多资源

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

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

回复 3# 的帖子




yum clean all
rpm --rebuilddb

yum install gcc gcc-c++ 如果正常的话再重做lnmp就可以了
还不行就只能换其他发行版或付费排查问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 12:42 , Processed in 0.026930 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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