- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 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就行了 |
|