免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 782 | 回复: 0

[服务应用] 求教!!安装mysql的出现的bug [复制链接]

论坛徽章:
0
发表于 2016-06-04 21:28 |显示全部楼层
1)安装Mysql的时候,首先报错,安装cmake,
2)开始安装cmake,于是先进行sudo ./bootstrap,出现如下错误:

CMake 2.8.10.2, Copyright 2000-2012 Kitware, Inc.
C compiler on this system is: cc
---------------------------------------------
Error when bootstrapping CMake:
Cannot find appropriate C++ compiler on this system.
Please specify one using environment variable CXX.
See cmake_bootstrap.log for compilers attempted.

3)于是开始安装g++,采用sduo apt-get install g++,安装过程中再次出现错误:
The following packages have unmet dependencies:
lightread : Depends: gir1.2-launchpad-integration-3.0 but it is not installable
postman-image-uploader : Depends: python-pyside.qtcore but it is not installable
                          Depends: python-pyside.qtgui but it is not installable
                          Depends: python-pyside.qtdeclarative but it is not installable
                          Depends: python-flickrapi but it is not installable
                          Depends: python-gdata but it is not installable
unity-lens-github : Depends: python-unity-singlet but it is not installable
E: Unable to correct problems, you have held broken packages.

请问这时候我应该怎么处理?
为什么安装一个软件这么难?
我是一名菜鸟,想知道安装一个软件时,应该准备哪些材料,或者如何更快的知道一个软件需要哪些版本,需要做哪些准备才可以安装?
其次,如果sudo apt-get install找不到的情况下,应该怎么安装软件??
跪求各位大神
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP